ytube_music_player
ytube_music_player copied to clipboard
The playlist does not play.
Enable DEBUG Output Please see: https://github.com/KoljaWindeler/ytube_music_player/#debug-information
Describe the bug 이 오류는 사용자 통합구성요소에서 발생했습니다.
로거: custom_components.ytube_music_player.media_player 소스: custom_components/ytube_music_player/media_player.py:2160 통합구성요소: YouTube Music Player (관련 문서, 문제) 처음 발생: 02:52:38 (9 발생) 마지막 로그인: 06:51:55
Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/ytmusicapi/helpers.py", line 64, in to_int int_value = locale.atoi(number_string) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/locale.py", line 327, in atoi return int(delocalize(string)) ^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: '' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/config/custom_components/ytube_music_player/media_player.py", line 1175, in async_update_playlists extra_info = await self.hass.async_add_executor_job(self._api.get_playlist, playlist['playlistId']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ytmusicapi/mixins/playlists.py", line 111, in get_playlist return self._parse_new_playlist_format( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ytmusicapi/mixins/playlists.py", line 215, in _parse_new_playlist_format song_count = to_int(song_count[0]) if len(song_count) > 1 else 0 ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ytmusicapi/helpers.py", line 67, in to_int int_value = int(number_string) ^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/ytmusicapi/helpers.py", line 64, in to_int int_value = locale.atoi(number_string) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/locale.py", line 327, in atoi return int(delocalize(string)) ^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: '' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/config/custom_components/ytube_music_player/media_player.py", line 1647, in async_play_media playlist_info = await self.hass.async_add_executor_job(lambda: self._api.get_playlist(media_id, limit=self._trackLimit)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ytube_music_player/media_player.py", line 1647, in
Version 20240709.01
To Reproduce When I select a playlist and start playing, it starts playing, but then the music stops playing.
Additional context Add any other context about the problem here.
Thanks