despotify: Use shortest path to self.playlists
This commit is contained in:
parent
fe4956ee48
commit
f8f46d4691
@ -76,8 +76,7 @@ class DespotifyStoredPlaylistsController(BaseStoredPlaylistsController):
|
|||||||
self.backend.translate.to_mopidy_playlist(spotify_playlist))
|
self.backend.translate.to_mopidy_playlist(spotify_playlist))
|
||||||
self._playlists = playlists
|
self._playlists = playlists
|
||||||
logger.debug(u'Available playlists: %s',
|
logger.debug(u'Available playlists: %s',
|
||||||
u', '.join([u'<%s>' % p.name
|
u', '.join([u'<%s>' % p.name for p in self.playlists]))
|
||||||
for p in self.backend.stored_playlists.playlists]))
|
|
||||||
|
|
||||||
|
|
||||||
class DespotifyTranslator(object):
|
class DespotifyTranslator(object):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user