diff --git a/docs/changes.rst b/docs/changes.rst index 968ef255..1d85821c 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -12,6 +12,8 @@ v0.6.0 (in development) - Pykka 0.12.3 or greater is required. +- pyspotify 1.4 or greater is required. + - All config, data, and cache locations are now based on the XDG spec. - This means that your settings file will need to be moved from @@ -53,6 +55,9 @@ v0.6.0 (in development) - Increase the maximum number of results returned by Spotify searches from 32 to 100. +- Send Spotify search queries to pyspotify as unicode objects, as required by + pyspotify 1.4. (Fixes: :issue:`129`) + **multi-backend changes** - Remove `destroy()` methods from backend controller and provider APIs, as it diff --git a/mopidy/backends/spotify/library.py b/mopidy/backends/spotify/library.py index 40d4a099..59aa9a2c 100644 --- a/mopidy/backends/spotify/library.py +++ b/mopidy/backends/spotify/library.py @@ -55,7 +55,7 @@ class SpotifyLibraryProvider(BaseLibraryProvider): spotify_query = u' '.join(spotify_query) logger.debug(u'Spotify search query: %s' % spotify_query) queue = Queue.Queue() - self.backend.spotify.search(spotify_query.encode(ENCODING), queue) + self.backend.spotify.search(spotify_query, queue) try: return queue.get(timeout=3) # XXX What is an reasonable timeout? except Queue.Empty: