spotify: Fix wrong search return type

This commit is contained in:
Stein Magnus Jodal 2012-12-24 01:21:08 +01:00
parent 30a78ba84b
commit fdd4ac19ae

View File

@ -154,7 +154,7 @@ class SpotifyLibraryProvider(base.BaseLibraryProvider):
if not self.backend.spotify.connected.wait(settings.SPOTIFY_TIMEOUT):
logger.debug('Not connected: Spotify search cancelled')
return []
return SearchResult(uri='spotify:search')
self.backend.spotify.session.search(
spotify_query, callback,