-
Notifications
You must be signed in to change notification settings - Fork 53
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
Playlist Radio doesn't work #88
Comments
hmm look legit to me .. does it work on the website? |
Yes, it works on the YTM-Website
also tried to reload playlists, with no luck:
|
funny, i can open that track (aura - avoure) and create a playlist, with only that one track. |
Made the playlist public: same result |
2021-04-19T09:50:57.466889278Z 2021-04-19 11:50:57 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] get_playlist(playlistId=PLqekoEAOX6ZF6oJ8d3fzk3WpsbCz2M2fH) ... get_watch_playlist(videoId=j2rdAw82Uvk) ok ... so that's really strange, right? |
pinging @sigma67 |
You know that you can use a playlistId as input for The correct way to shuffle a playlist is |
Jep, I know. I had an issue a longer time ago .. that's why I'm currently picking one song and create a watch list based on that one song. |
What issue did you have? It should work fine I think. I get a watch playlist with a single track (as you mentioned) only if I use get_watch_playlist(playlistId=playlistId), with the single-track playlist you mentioned above. Note that I didn't add the RDAM part, which would produce the radio. |
why is get_watch_playlist(videoId=j2rdAw82Uvk) producing a 25 tracks long playlist for me and a 1 track long list for @fr4nk2342 thats the question in short |
and... although off topic, but what am I doing wrong here (thought I give the RDAM part a try):
...
|
It doesn't work with videoIds, if that's what you're trying? I have no idea what could cause only a single track to be returned for get_watch_playlist with videoId parameter. I always get more than that, only if I use the playlistId I get a single track |
ah ok .. because the first parameter is actually the videoId and not the Playlist .. ok got it working .. this might also fix it for @fr4nk2342 but is still fails with the 'liked music' playlist .. So calling get_watch_playlist(playlistId="RDAMLM") results in the same error shown above. Is there any workaround? get_playlist("LM") followed by picking a random track and lastly generating the radio via get_watch_playlist(videoId="RDAM"+videoId_of_random_picked_song) works .. but is a bit chunky .,
yep, same here .. the code (as of now) would take one videoId and pass that to get_watch_playlist .. works fine .. for me |
ah .. found it myself .. for whatever reason the id for LM is RDAMPLLM not RDAMLM |
That works but I'm pretty sure it's not the same thing semantically. Would be pretty disappointing if that's actually what's happening (since a playlist radio should be based on the entire playlist not just one track) |
I just want to confirm that everything works as expected. Thank you. |
Sorry for not being specific enough with the RDAM part, as you noticed it's RDAMPL. It's also documented in the FAQ: https://ytmusicapi.readthedocs.io/en/latest/faq.html#how-can-i-get-the-radio-playlist-for-a-song-video-playlist-or-album |
Jep,
non-sense ... you're right .. RDAMPL! |
I am haing the same issue. Everything is up to date |
Describe the bug
For testing purposes I created a playlist with only one track and only this one track will be played repeatedly. But shouldn’t an automatic playlist with similar tracks be played? At least that’s how it works on the YTM website.
Version
20210414
To Reproduce
Steps to reproduce the behavior:
media_content_type: channel,
entity_id: media_player.tube_music_player
YAML:
or:
Additional context
The text was updated successfully, but these errors were encountered: