Add TODO on how to make a better libspotify lookup

This commit is contained in:
Stein Magnus Jodal 2010-08-22 21:31:49 +02:00
parent 4722828c8f
commit 26e947c919

View File

@ -15,6 +15,8 @@ class LibspotifyLibraryController(BaseLibraryController):
def lookup(self, uri):
spotify_track = Link.from_string(uri).as_track()
# TODO Block until metadata_updated callback is called. Before that the
# track will be unloaded, unless it's already in the stored playlists.
return LibspotifyTranslator.to_mopidy_track(spotify_track)
def refresh(self, uri=None):