thunner icon indicating copy to clipboard operation
thunner copied to clipboard

Fixed various error stopping playback

Open ArthurMoore85 opened this issue 10 years ago • 2 comments

…#20)

  • Fixed 'KeyError: "track" ' (#20 fix)
  • Fixed 'get_all_playlist_ids' error (#20 fix)
  • Fixed 'TypeError: list indices must be integers, not str' by adding empty playlist
  • Fixed 'KeyError: "name" ' when attempting playback.

Playback now works fine

ArthurMoore85 avatar Oct 15 '15 12:10 ArthurMoore85

Good work, but now i got:

Traceback (most recent call last):
  File "./thunner", line 456, in <module>
    main()
  File "./thunner", line 306, in main
    playlists = list_playlists(api,playlist_ids)
  File "./thunner", line 252, in list_playlists
    for name, pids in playlist_ids['user'].iteritems():
TypeError: list indices must be integers, not str

ghost avatar Dec 30 '15 15:12 ghost

Thanks for the feedback, I will check out the TypeError and fix that

ArthurMoore85 avatar Dec 30 '15 19:12 ArthurMoore85