caseychu / spotify-backup

A Python script that exports all of your Spotify playlists.
MIT License
847 stars 123 forks source link

Bug with liked songs #28

Closed lamorton closed 4 years ago

lamorton commented 4 years ago

I'm getting the following when attempting to run the script with liked songs enabled (but not without):

Traceback (most recent call last):

  File "<ipython-input-12-263240bbee7e>", line 1, in <module>
    main()

  File "C:\Users\lucas\Documents\Code\Python\Spotify_Backup\spotify-backup.py", line 176, in main
    logging.info('Loading playlist: {name} ({tracks[total]} songs)'.format(**playlist))

TypeError: list indices must be integers or slices, not str
caseychu commented 4 years ago

Thanks for reporting -- could you try again with latest master?

lamorton commented 4 years ago

That did the trick! Thanks.