mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[GH-ISSUE #185] Error while playing a playlist #142
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#142
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kaizersoje on GitHub (Mar 31, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/185
I am getting the following error when trying to play a playlist
Traceback (most recent call last): File "/config/custom_components/ytube_music_player/media_player.py", line 1096, in play_media self._tracks = self._api.get_playlist(playlistId=media_id)['tracks'] File "/usr/local/lib/python3.8/site-packages/ytmusicapi/mixins/playlists.py", line 67, in get_playlist results = nav(response, File "/usr/local/lib/python3.8/site-packages/ytmusicapi/parsers/utils.py", line 146, in nav raise err File "/usr/local/lib/python3.8/site-packages/ytmusicapi/parsers/utils.py", line 140, in nav root = root[k] KeyError: 'contents'@sigma67 commented on GitHub (Mar 31, 2021):
Please state which playlist (playlistId)