mirror of
https://github.com/c0de-archive/spotipy.git
synced 2025-01-06 14:52:50 +00:00
Merge pull request #205 from hvp/patch-1
Update user_playlists_contents.py
This commit is contained in:
commit
6aac91747f
@ -6,7 +6,7 @@ import spotipy
|
|||||||
import spotipy.util as util
|
import spotipy.util as util
|
||||||
|
|
||||||
def show_tracks(results):
|
def show_tracks(results):
|
||||||
for i, item in enumerate(tracks['items']):
|
for i, item in enumerate(results['items']):
|
||||||
track = item['track']
|
track = item['track']
|
||||||
print(" %d %32.32s %s" % (i, track['artists'][0]['name'], track['name']))
|
print(" %d %32.32s %s" % (i, track['artists'][0]['name'], track['name']))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user