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

Some Playlists Not Working #382

Open
zachgoold opened this issue Dec 17, 2024 · 0 comments
Open

Some Playlists Not Working #382

zachgoold opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zachgoold
Copy link

zachgoold commented Dec 17, 2024

Enable DEBUG Output
Please see: https://github.com/KoljaWindeler/ytube_music_player/#debug-information

Describe the bug
When I try and play a playlist it goes through about 3-5 songs then just turns off the speaker. It doesn't seem to happen with all playlists which is interesting.

Version
20241210.01

To Reproduce
Steps to reproduce the behavior:

  1. Play a Playlist via ID or through browsing.

Additional context

2024-12-16 16:23:00.514 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_update_extra_sensor [E]
2024-12-16 16:23:00.515 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_track
2024-12-16 16:23:00.515 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] play_media
2024-12-16 16:23:01.466 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] play_media, media_type: playlist, media_id: PLbz00z80CdXOYoQYJ9WJgWIBjl0RKXiJR
2024-12-16 16:23:01.466 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_prepare_play
2024-12-16 16:23:01.466 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_check_api [E]
2024-12-16 16:23:01.466 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_update_remote_player(Input / current media_player.zach_s_office_speaker)  [E]
2024-12-16 16:23:01.466 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] async_media_stop
2024-12-16 16:23:01.467 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - async_media_stop -> media_player.zach_s_office_speaker
2024-12-16 16:23:01.503 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_sync_player ... media_player.zach_s_office_speaker: playing -> idle ... not playing [E]
2024-12-16 16:23:01.503 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_cipher
2024-12-16 16:23:01.503 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_sync_player ... media_player.zach_s_office_speaker: playing -> idle ... not playing [E]
2024-12-16 16:23:02.165 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_cipher
2024-12-16 16:23:02.165 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_prepare_play
2024-12-16 16:23:03.547 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] get_playlist(playlistId=PLbz00z80CdXOYoQYJ9WJgWIBjl0RKXiJR)
2024-12-16 16:23:03.547 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - shuffle new tracklist
2024-12-16 16:23:03.547 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] _tracks_to_attribute
2024-12-16 16:23:03.547 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_update_extra_sensor [E]
2024-12-16 16:23:03.547 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_update_extra_sensor [E]
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] _tracks_to_attribute
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] _play,shuffle:True,shuffle_mode:Shuffle Random
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_track
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] auto_advance=False,keep_track_no=False,repeat=all,shuffle_mode=Shuffle Random
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] Press the next/pref button and shuffle is true, play random track.
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url_self
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_check_api [E]
2024-12-16 16:23:03.548 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - try to find URL on our own
2024-12-16 16:23:03.804 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] found 2 streams
2024-12-16 16:23:03.804 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - removed stream with too high bitrate of 259252
2024-12-16 16:23:03.804 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] Using stream 0/1, bitrate:130991
2024-12-16 16:23:03.804 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - found URL in api data
2024-12-16 16:23:03.804 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2024-12-16 16:23:03.890 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - self decoded url return 403 status code, attempt 60/60
2024-12-16 16:23:03.890 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url_pytube
2024-12-16 16:23:04.055 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - Failed to get URL with YouTube methode
2024-12-16 16:23:04.055 ERROR (MainThread) [custom_components.ytube_music_player.media_player] tz_mudvb56g requires login to view, YouTube reason: Please sign in
2024-12-16 16:23:04.055 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2024-12-16 16:23:04.055 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - Retry with: (3)
2024-12-16 16:23:04.055 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_track
2024-12-16 16:23:04.055 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] auto_advance=False,keep_track_no=False,repeat=all,shuffle_mode=Shuffle Random
2024-12-16 16:23:04.055 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] Press the next/pref button and shuffle is true, play random track.
2024-12-16 16:23:04.055 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url
2024-12-16 16:23:04.055 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url_self
2024-12-16 16:23:04.055 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_check_api [E]
2024-12-16 16:23:04.055 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - try to find URL on our own
2024-12-16 16:23:04.279 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] found 2 streams
2024-12-16 16:23:04.279 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - removed stream with too high bitrate of 259374
2024-12-16 16:23:04.279 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] Using stream 0/1, bitrate:131084
2024-12-16 16:23:04.279 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - found URL in api data
2024-12-16 16:23:04.279 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2024-12-16 16:23:04.549 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - self decoded url return 403 status code, attempt 60/60
2024-12-16 16:23:04.549 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url_pytube
2024-12-16 16:23:04.705 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - Failed to get URL with YouTube methode
2024-12-16 16:23:04.705 ERROR (MainThread) [custom_components.ytube_music_player.media_player] tIO9qX0xQF4 requires login to view, YouTube reason: Please sign in
2024-12-16 16:23:04.705 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2024-12-16 16:23:04.705 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - Retry with: (2)
2024-12-16 16:23:04.705 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_track
2024-12-16 16:23:04.705 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] auto_advance=False,keep_track_no=False,repeat=all,shuffle_mode=Shuffle Random
2024-12-16 16:23:04.705 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] Press the next/pref button and shuffle is true, play random track.
2024-12-16 16:23:04.706 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url
2024-12-16 16:23:04.706 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url_self
2024-12-16 16:23:04.706 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_check_api [E]
2024-12-16 16:23:04.706 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - try to find URL on our own
2024-12-16 16:23:04.933 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] found 2 streams
2024-12-16 16:23:04.933 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - removed stream with too high bitrate of 259264
2024-12-16 16:23:04.933 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] Using stream 0/1, bitrate:131014
2024-12-16 16:23:04.933 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - found URL in api data
2024-12-16 16:23:04.933 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2024-12-16 16:23:05.013 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - self decoded url return 403 status code, attempt 60/60
2024-12-16 16:23:05.013 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url_pytube
2024-12-16 16:23:05.184 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - Failed to get URL with YouTube methode
2024-12-16 16:23:05.184 ERROR (MainThread) [custom_components.ytube_music_player.media_player] lsoVKrPGyPU requires login to view, YouTube reason: Please sign in
2024-12-16 16:23:05.185 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2024-12-16 16:23:05.185 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - Retry with: (1)
2024-12-16 16:23:05.185 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_track
2024-12-16 16:23:05.185 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] auto_advance=False,keep_track_no=False,repeat=all,shuffle_mode=Shuffle Random
2024-12-16 16:23:05.185 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] Press the next/pref button and shuffle is true, play random track.
2024-12-16 16:23:05.185 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url
2024-12-16 16:23:05.185 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url_self
2024-12-16 16:23:05.185 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_check_api [E]
2024-12-16 16:23:05.185 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - try to find URL on our own
2024-12-16 16:23:05.412 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] found 2 streams
2024-12-16 16:23:05.412 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - removed stream with too high bitrate of 260458
2024-12-16 16:23:05.412 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] Using stream 0/1, bitrate:131172
2024-12-16 16:23:05.412 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - found URL in api data
2024-12-16 16:23:05.412 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2024-12-16 16:23:05.747 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - self decoded url return 403 status code, attempt 60/60
2024-12-16 16:23:05.747 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_get_url_pytube
2024-12-16 16:23:05.930 ERROR (MainThread) [custom_components.ytube_music_player.media_player] - Failed to get URL with YouTube methode
2024-12-16 16:23:05.930 ERROR (MainThread) [custom_components.ytube_music_player.media_player] 2pUw5Of0kyQ requires login to view, YouTube reason: Please sign in
2024-12-16 16:23:05.930 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] async_get_url
2024-12-16 16:23:05.930 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] - get track failed to return URL, turning off
2024-12-16 16:23:05.931 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_turn_off_media_player [E]
2024-12-16 16:23:05.931 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [E] play_media
2024-12-16 16:23:05.957 DEBUG (MainThread) [custom_components.ytube_music_player.media_player] [S] async_sync_player ... media_player.zach_s_office_speaker: idle -> off ... not playing [E]

You can see in the video that when I choose my "Chill" playlist it skips through some songs then stops the playback. I uploaded the logs above which correspond with the time.

Recording.2024-12-16.163416.mp4

Thanks

@zachgoold zachgoold added the bug Something isn't working label Dec 17, 2024
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

1 participant