From 30b50cf19b082b012dcf35edae69b92bbc1f3f5e Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 1 Feb 2010 11:37:00 +0100 Subject: [PATCH] Map ID and URI both ways --- mopidy/backends/libspotify.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mopidy/backends/libspotify.py b/mopidy/backends/libspotify.py index e24a93de..d33875c9 100644 --- a/mopidy/backends/libspotify.py +++ b/mopidy/backends/libspotify.py @@ -44,6 +44,7 @@ class LibspotifyBackend(BaseBackend): id = self._next_id self._next_id += 1 self._id_to_uri_map[id] = spotify_uri + self._uri_to_id_map[spotify_uri] = id return id def _to_mopidy_artist(self, spotify_artist):