From fdd4ac19ae630d679f6f5e7e22eab56415f5c3da Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 24 Dec 2012 01:21:08 +0100 Subject: [PATCH] spotify: Fix wrong search return type --- mopidy/backends/spotify/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/backends/spotify/library.py b/mopidy/backends/spotify/library.py index a42fc21f..45835d04 100644 --- a/mopidy/backends/spotify/library.py +++ b/mopidy/backends/spotify/library.py @@ -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,