Fix listing of stored playlists
This commit is contained in:
parent
7fa65f6c89
commit
ec44aa9569
@ -212,9 +212,6 @@ class BaseBackend(object):
|
|||||||
else:
|
else:
|
||||||
self._current_playlist = None
|
self._current_playlist = None
|
||||||
|
|
||||||
def playlists_list(self):
|
|
||||||
return [u'playlist: %s' % p.name for p in self._playlists]
|
|
||||||
|
|
||||||
def playlist_changes_since(self, version='0'):
|
def playlist_changes_since(self, version='0'):
|
||||||
if int(version) < self._current_playlist_version:
|
if int(version) < self._current_playlist_version:
|
||||||
return self._current_playlist.mpd_format()
|
return self._current_playlist.mpd_format()
|
||||||
@ -234,7 +231,7 @@ class BaseBackend(object):
|
|||||||
# Stored playlist methods
|
# Stored playlist methods
|
||||||
|
|
||||||
def playlists_list(self):
|
def playlists_list(self):
|
||||||
return None
|
return [u'playlist: %s' % p.name for p in self._playlists]
|
||||||
|
|
||||||
# Music database methods
|
# Music database methods
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user