spotify: Spotify wants 'track', not 'title' (#272)
This commit is contained in:
parent
30edba0a3e
commit
cb78dc6341
@ -117,9 +117,7 @@ class SpotifyLibraryProvider(base.BaseLibraryProvider):
|
||||
def _translate_search_query(self, mopidy_query):
|
||||
spotify_query = []
|
||||
for (field, values) in mopidy_query.iteritems():
|
||||
if field == 'track':
|
||||
field = 'title'
|
||||
elif field == 'date':
|
||||
if field == 'date':
|
||||
field = 'year'
|
||||
if not hasattr(values, '__iter__'):
|
||||
values = [values]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user