From 26e947c91980cf6ccb83a99cbb5c6fefb0837d4f Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 22 Aug 2010 21:31:49 +0200 Subject: [PATCH] Add TODO on how to make a better libspotify lookup --- mopidy/backends/libspotify/library.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mopidy/backends/libspotify/library.py b/mopidy/backends/libspotify/library.py index c2b70dca..ffb9ee57 100644 --- a/mopidy/backends/libspotify/library.py +++ b/mopidy/backends/libspotify/library.py @@ -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):