mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #119] KeyError: 'runs' while fetching playlists #86
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#86
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 @KoljaWindeler on GitHub (Dec 11, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/119
hi, i'm using great api for this media_player: https://github.com/KoljaWindeler/ytube_music_player and it works great in general. a user hit the error below (https://community.home-assistant.io/t/youtube-music-media-browser/226367/129?u=jkw) any idea what happened here and how to prevent this?
thanks
edit another user pointed out that it is caused by empty playlists?
@sigma67 commented on GitHub (Dec 11, 2020):
Unfortunately I can't reproduce it even when I create an empty playlist in my library. There must be some odd playlist in there that is causing this issue. The playlist title should never be missing.
Could you ask the users to take screenshots of any odd playlists in their library, or even better provide the response from YouTube Music when they open the library page/retrieve it with ytmusicapi? Kind of hard to tell what edge case we're running into here without more detail.
@sigma67 commented on GitHub (Dec 16, 2020):
Is this issue still relevant @KoljaWindeler ? Any idea under what circumstances this is happening?
@KoljaWindeler commented on GitHub (Dec 16, 2020):
I guess we can close it. no feedback from the user who reported the issue and it is working fine here
@KoljaWindeler commented on GitHub (Dec 30, 2020):
Hi just because we might have the same case again and this time a user who is willing to help .. can you give some guidance on "or even better provide the response from YouTube Music when they open the library page/retrieve it with ytmusicapi?"
@sigma67 commented on GitHub (Dec 31, 2020):
Similar to when you set up ytmusicapi, open the network requests tab in your browser's developer tools. Then click on 'Library', which should fetch the playlists also. You will see a request to /browse, where you can right click -> copy -> copy response (in Firefox). The procedure is similar in Chrome.
To ensure you selected the correct request you can clear your network tab beforehand (trash icon) or search the response for the title of some of the playlists that appear on the page.
@KoljaWindeler commented on GitHub (Jan 2, 2021):
no feedback from user, sorry. will reopen if i get more feedback