Skip to content
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

Songs stop playing after one track + media picture not shown #347

Closed
XalaTheShepard opened this issue May 19, 2024 · 13 comments
Closed

Songs stop playing after one track + media picture not shown #347

XalaTheShepard opened this issue May 19, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@XalaTheShepard
Copy link

Dear,

When using the Ytube Music Player, the playlist stops after one song.
Also, on the media players with a screen, the media picture is no longer shown.
I have noticed that every time a song ends and you select the next one, the duration in the screen gets increased with the duration of the song.
In my picture below, the song is only 3 to 4 minutes long, but since I manually selected play next song (after Ytube music player stopped at the end of the track without starting the next track), the total duration is more than 3,5 hours according to the player.

If you have any more questions or comments, please do not hesitate to reply.

Kind regards,

Robin
Schermafbeelding 2024-05-20 004059

@XalaTheShepard XalaTheShepard added the bug Something isn't working label May 19, 2024
@KoljaWindeler
Copy link
Owner

hi, what player to you use as remote player .. like a chromecast or vlc etc

@XalaTheShepard
Copy link
Author

Hi, I use Google mini and Google Nest Hub as devices

@KoljaWindeler
Copy link
Owner

hmm that should work .. I'm also using those .. can you create a log file with debug enabled?
Please see the readme how to do it

@XalaTheShepard
Copy link
Author

Logs show nothing out of the ordinary. Rebooted the Google devices and the issue is resolved for the Google mini's. However the issue is still there for the Google Nest Hub. Seems like an issue with Pychromecast. The media player of the Hub refuses to show the media image and stops playing after one song. Even my 7 year old Google Home does not have this issue

@XalaTheShepard
Copy link
Author

Apologies, the errors appeared with a delay. Please find the logs above

@XalaTheShepard
Copy link
Author

Dear KoljaWindeler, if you need any additional information, please do not hesitate to contact me. If I can help somehow, please also contact me. The issue seems only to occur with Google Nest Hub and not the other Google devices. Also, it is only an issue for the Ytubemediaplayer and not for other integrations as Spotcast and radio browser. Kind regards, Robin

@XalaTheShepard
Copy link
Author

This error originated from a custom integration.

Logger: custom_components.ytube_music_player.media_player
Source: custom_components/ytube_music_player/media_player.py:277
integration: yTubeMediaPlayer (documentation, issues)
First occurred: 12:11:53 PM (52 occurrences)
Last logged: 5:14:07 PM

signature not found, decoding

  • self decoded url return 403 status code, attempt 60/60

@XalaTheShepard
Copy link
Author

Dear KoljaWindeler,

I have done some digging and the issue has arisen since version 20240505.01 . I have returned to version 20240420.02 and the issue is no longer happening. Could this issue be the result of the new API?

Kind regards,

Robin

@KoljaWindeler
Copy link
Owner

Hi Robin, this is complicated to debug.
One option is to remove the integration and readd it .. that will recreate a cookie and might work better.

403 -> means that youtube returs no access to the requested track and usually has something to do with the cookie

can you try that?

@XalaTheShepard
Copy link
Author

XalaTheShepard commented Jun 7, 2024

Dear KoljaWindeler,

Many thanks for looking into the issue.
I have deleted the integration and added it again. However, still no luck with my Google Nest Hub (see image).
Only difference was that I had to use the select entities for my dropdown menu instead of the input_select entities I had for years.
The playlist stops playing only on this device after one song and I still have to manually select after each song to play the next song.
Please also note the strange playing time of the song on the right side of the image (11 minutes played of a song of 3 minutes).
Also the media images are still not shown on the screen.
I will add below any logs related to the integration, if available.

Please note that this issue is resolved if I delete the integration and add it again with version 20240420.02 .
So somewhere after this release the issue occured.

Kind regards,

Robin

Schermafbeelding 2024-06-07 160603

@XalaTheShepard
Copy link
Author

Dear KoljaWindeler,

Still the same error in the log:

This error originated from a custom integration.

Logger: custom_components.ytube_music_player.media_player
Source: custom_components/ytube_music_player/media_player.py:277
integration: yTubeMediaPlayer (documentation, issues)
First occurred: 4:05:01 PM (4 occurrences)
Last logged: 4:05:07 PM

signature not found, decoding

  • self decoded url return 403 status code, attempt 60/60

Kind regards,

Robin

@XalaTheShepard
Copy link
Author

Maybe a strange question, but might a factory reset of my Google Nest Hub solve the issue?

Kind regards,

Robin

@XalaTheShepard
Copy link
Author

Dear KoljaWindeler,

This issue can be closed.
I have done both a factory reset of my Google Nest Hub and deleted Music Assistant.
After these two changes, everything works again as expected.

Kind regards,

Robin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants