Reorder classes
This commit is contained in:
parent
035e43b4f5
commit
0eaee6b70d
@ -68,6 +68,23 @@ class BaseCurrentPlaylistController(object):
|
||||
self.playlist = self.playlist.with_(tracks=before+shuffled+after)
|
||||
|
||||
|
||||
class BaseLibraryController(object):
|
||||
def __init__(self, backend):
|
||||
self.backend = backend
|
||||
|
||||
def find_exact(self, type, query):
|
||||
raise NotImplementedError
|
||||
|
||||
def lookup(self, uri):
|
||||
raise NotImplementedError
|
||||
|
||||
def refresh(self, uri=None):
|
||||
raise NotImplementedError
|
||||
|
||||
def search(self, type, query):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class BasePlaybackController(object):
|
||||
PAUSED = u'paused'
|
||||
PLAYING = u'playing'
|
||||
@ -189,23 +206,6 @@ class BasePlaybackController(object):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class BaseLibraryController(object):
|
||||
def __init__(self, backend):
|
||||
self.backend = backend
|
||||
|
||||
def find_exact(self, type, query):
|
||||
raise NotImplementedError
|
||||
|
||||
def lookup(self, uri):
|
||||
raise NotImplementedError
|
||||
|
||||
def refresh(self, uri=None):
|
||||
raise NotImplementedError
|
||||
|
||||
def search(self, type, query):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class BaseStoredPlaylistController(object):
|
||||
def __init__(self, backend):
|
||||
self.backend = backend
|
||||
|
||||
Loading…
Reference in New Issue
Block a user