I am getting this when i open the list of my favourites:
And these errors in log:
============= ytube_music_player Integration Error ================
2021-04-23 20:26:00 ERROR (MainThread) [custom_components.ytube_music_player.media_player] unfortunately we hit an error in the sub api, please open a ticket at
2021-04-23 20:26:00 ERROR (MainThread) [custom_components.ytube_music_player.media_player] https://github.com/sigma67/ytmusicapi/issues
2021-04-23 20:26:00 ERROR (MainThread) [custom_components.ytube_music_player.media_player] and paste the following output:
2021-04-23 20:26:00 ERROR (MainThread) [custom_components.ytube_music_player.media_player] Traceback (most recent call last):
File "/config/custom_components/ytube_music_player/media_player.py", line 1132, in async_play_media
crash_extra = ''
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/ytmusicapi/mixins/playlists.py", line 66, in get_playlist
response = self._send_request(endpoint, body)
File "/usr/local/lib/python3.8/site-packages/ytmusicapi/ytmusic.py", line 129, in _send_request
raise Exception(message + error)
Exception: Server returned HTTP 404: Not Found.
Requested entity was not found.
2021-04-23 20:26:00 ERROR (MainThread) [custom_components.ytube_music_player.media_player]
thanks, Kolja
2021-04-23 20:26:00 ERROR (MainThread) [custom_components.ytube_music_player.media_player] ============= ytube_music_player Integration Error ================
Nice setup @sparkydave looking great ā¦ @shameseer during the setup of the component you can select your default player. If you want to switch to another player simply call the service media_player.select_source ā¦
@stryker have you followed the video that Iāve linked in the readme?
@maurizio53 the backend in youtube change, did you update the integration?
Thank you dear
I have all ready selected when I am setup in integration time default output device I have selected .
But it not working .
I have done it Through input source select .
Perhaps @JKW can assist. Itās been a while since I setup this component so not sure why you wouldnāt have it. In saying that I donāt see it in the docs at a quick glance.
@JKW , first of all-- thank you, thank you, thank you! Being able to use Youtube music from my automations has been awesome. Now that I have been using it for a few weeks, I am hoping to dig a little deeper. Here is my use case: I want a button to play/pause my music. I know it gets more complicated if the player is off or is idle. I want to be able to send a command to the ytube player with the last playlist /source and the last media_position. I am planning on saving those values when I pause the music so I can send it in when I āresumeā. However, my question is-- can I make a call to the player and actually send in these specific attributes? Or is it more limited to just the playlist ID?
Let me know if that doesnāt make sense :
Thanks again!
Drew