Debian Codegraph @

xl/trax/__init__.py

raw
1 # Copyright (C) 2008-2010 Adam Olsen
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2, or (at your option)
6 # any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 #
18 # The developers of the Exaile media player hereby grant permission
19 # for non-GPL compatible GStreamer and Exaile plugins to be used and
20 # distributed together with GStreamer and Exaile. This permission is
21 # above and beyond the permissions granted by the GPL license by which
22 # Exaile is covered. If you modify this code, you may extend this
23 # exception to your version of the code, but you are not obligated to
24 # do so. If you do not wish to do so, delete this exception statement
25 # from your version.
26
27 # It is encouraged that external modules should import from here,
28 # rather than directly from submodules.
29
30 """
31 Provides the base for creating and managing Track objects.
32 """
33
34 from xl.trax.track import Track
35 from xl.trax.trackdb import TrackDB
36 from xl.trax.search import (
37 SearchResultTrack,
38 search_tracks,
39 search_tracks_from_string,
40 TracksMatcher,
41 TracksInList,
42 TracksNotInList,
43 match_track_from_string,
44 )
45 from xl.trax.util import (
46 is_valid_track,
47 get_album_tracks,
48 get_uris_from_tracks,
49 get_tracks_from_uri,
50 sort_tracks,
51 sort_result_tracks,
52 get_rating_from_tracks,
53 )