New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'runs' while fetching playlists #119
Comments
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. |
Is this issue still relevant @KoljaWindeler ? Any idea under what circumstances this is happening? |
I guess we can close it. no feedback from the user who reported the issue and it is working fine here |
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?" |
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. |
no feedback from user, sorry. will reopen if i get more feedback |
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?
The text was updated successfully, but these errors were encountered: