thunner
thunner copied to clipboard
Fixed various error stopping playback
…#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
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
Thanks for the feedback, I will check out the TypeError and fix that