mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-05 07:27:47 +00:00
Merge branch 'master' into support_changing_playlist_details
Conflicts: spotipy/client.py
This commit is contained in:
commit
7867c4fe28
@ -709,13 +709,13 @@ class Spotify(object):
|
|||||||
'''
|
'''
|
||||||
params = dict(limit=limit)
|
params = dict(limit=limit)
|
||||||
if seed_artists:
|
if seed_artists:
|
||||||
params['seed_artists'] = [self._get_id('artist', a)
|
params['seed_artists'] = ','.join(
|
||||||
for a in seed_artists]
|
[self._get_id('artist', a) for a in seed_artists])
|
||||||
if seed_genres:
|
if seed_genres:
|
||||||
params['seed_genres'] = seed_genres
|
params['seed_genres'] = ','.join(seed_genres)
|
||||||
if seed_tracks:
|
if seed_tracks:
|
||||||
params['seed_tracks'] = [self._get_id('track', t)
|
params['seed_tracks'] = ','.join(
|
||||||
for t in seed_tracks]
|
[self._get_id('track', t) for t in seed_tracks])
|
||||||
if country:
|
if country:
|
||||||
params['market'] = country
|
params['market'] = country
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user