mirror of
https://github.com/caseychu/spotify-backup.git
synced 2024-05-11 10:51:31 +00:00
Show progress fix
Oh and it shows retreival progression.
This commit is contained in:
@@ -179,7 +179,7 @@ def main():
|
||||
# List all playlists and all track in each playlist - scope playlist-read-private, playlist-read-collaborative
|
||||
data['playlists'] = spotify.list('users/{user_id}/playlists'.format(user_id=data['me']['id']), {'limit': 50})
|
||||
for playlist in data['playlists']:
|
||||
log('Loading playlist: {name} ({tracks[total]} songs)'.format(**playlist))
|
||||
log('Loading playlist: {name} ({tracks[total]} songs)'.format(**playlist), end='')
|
||||
playlist['tracks'] = spotify.list(playlist['tracks']['href'], {'limit': 100})
|
||||
|
||||
# Write the file.
|
||||
|
||||
Reference in New Issue
Block a user