I’m trying to enter a new cookie since the previous one expired but I get the ‘User input malformed’ error. This was supposed to be fixed in HA 2021.11.2 (I’m running 2021.12.1) so I guess there is something I’m doing wrong? Any tips? I copied as per previous successful times.
Can be tricky. Are you using the POST and with 200 status? Took me quite a few attempts. Used chrome as Firefox did not give me any results
Yes. That is listed above in the ‘general’ section, but not copied into HA.
Thank you. I figured that was kinda going to be the case I just had to ask in case someone much smarter than I found a better way…
When streaming with ytube_music_player to Chromecast, no progress is shown anymore. I first thought it was the mini media player, but when I stream from my phone or play something with kodi everything is fine. Also only one track is played. Has something changed, or is this a bug? I think the playlist is received in full, but not played continuously.
Debug Log:
2021-12-20 13:55:04 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] TURNON
2021-12-20 13:55:04 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] TURNON
2021-12-20 13:55:04 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] play_media, media_type: playlist, media_id: PLqekoEAOX6ZGvysI2YuLVVNnPtMIm-sa7
2021-12-20 13:55:04 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_prepare_play
2021-12-20 13:55:04 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_check_api [E]
2021-12-20 13:55:04 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_update_remote_player(Input / current media_player.google_group_heimgruppe) [E]
2021-12-20 13:55:04 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_turn_on_media_player [E]
2021-12-20 13:55:06 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_cipher [E]
2021-12-20 13:55:06 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_prepare_play
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] get_playlist(playlistId=PLqekoEAOX6ZGvysI2YuLVVNnPtMIm-sa7)
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - shuffle new tracklist
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] _tracks_to_attribute
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_update_extra_sensor [E]
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_update_extra_sensor [E]
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] _tracks_to_attribute
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] _play
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_track
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - Playing track nr 1 / 95
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_check_api [E]
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - try to find URL on our own
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - self decoded URL via cipher
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - forwarding url to player media_player.google_group_heimgruppe
2021-12-20 13:55:07 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_update_extra_sensor [E]
2021-12-20 13:55:08 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_track
2021-12-20 13:55:08 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] play_media
2021-12-20 13:55:10 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_sync_player ... media_player.google_group_heimgruppe: off -> playing
2021-12-20 13:55:10 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] detected app _id, B45F4572
2021-12-20 13:55:10 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_sync_player
2021-12-20 13:55:23 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_sync_player ... media_player.google_group_heimgruppe [E]
Correct, that’s a known bug on the new app that Homeassistent is using with the cast integration. It has been raised here: Cast media_players missing attributes in 2021.12.2 · Issue #62054 · home-assistant/core · GitHub
There is nothing I can do about it, I’ve downgraded my system to 2021.11 until this is fixed
Jkw
PS: it might help a comment to the GitHub ticket so the developer can see the magnitude of the issue …
How to have a playlist playing continously? I ny environment i must click on forward to have the playlist continue to play, otherwise it stops after playing one song.
My boolean ‘play continously’ is on.
Hints?
Thanks, i’ll wait for the bugfix.
Another question: Is there a limit to the number of playlists listed inside the extra sensor?
How to add more playlists inside the extra sensor? Actually i see i can have not more than 25.
You can change that in the configuration menu
Downgraded to 2021.12.1 and everything is fine again. There is also already a pull-request at github. Hopefully it is fixed in the next version.
Thanks… i did it…
I tried it, but in this way i can add only the total loaded tracks in a playlist.
My question was about the number of playlists listed inside the ‘ytube_music_player_playlist’ input_select. Is there a way to change the default value which seems to be 25?
Works again … 2021.12.4
great, everything back on track
Yes i confirm, all is working again with 2021.12.4
P.S. Did you read my question to you about the entries in the playlist list?
Hi, im new here, and maybe someone else has asked this question before but i cant find the answer, is there any way to connect airplay 2 ‘marantz or homepod’ with ytube_player in HA?
thanks
You can use any player that can stream from an url … ytube_music_player will decode the url and send it to the “remote player” … Chromecasts are well tested. Most other appear to have issues …
Soooo: no idea
thanks, can i use nvidia shield? does it mean that no way to let it works with airplay?