Open gregbert42 opened 6 days ago
Smells like Google changed something again. I'm currently completely rewriting how we obtain streams from YouTube using a more stable library. Hang tight! It's nearly available as a beta
We just release beta 8 that should fix issues with playback. Could you test this using the beta addon?
I downloaded the beta. Yt wasn’t working at all. So I tried to reauthenticate and an error of “domain” comes up. I switched my registrar to cloud flare a couple days ago. Well after the original error started appearing. But not sure if that’s causing a problem now.
On Mon, Jun 24, 2024 at 8:07 AM Marvin Schenkel @.***> wrote:
We just release beta 8 that should fix issues with playback. Could you test this using the beta addon?
— Reply to this email directly, view it on GitHub https://github.com/music-assistant/hass-music-assistant/issues/2525#issuecomment-2186421602, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBNBYPH6X6CCKBGXDFEHBLZJADWRAVCNFSM6AAAAABJX3LSG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGQZDCNRQGI . You are receiving this because you authored the thread.Message ID: @.***>
The domain error is separate. Do you have the Snapcast provider installed out of interest?
No
Get Outlook for iOShttps://aka.ms/o0ukef
From: OzGav @.> Sent: Monday, June 24, 2024 7:36:13 PM To: music-assistant/hass-music-assistant @.> Cc: gregbert42 @.>; Author @.> Subject: Re: [music-assistant/hass-music-assistant] Youtube music fails to play anything (Issue #2525)
The domain error is separate. Do you have the Snapcast provider installed out of interest?
— Reply to this email directly, view it on GitHubhttps://github.com/music-assistant/hass-music-assistant/issues/2525#issuecomment-2187612458, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBNBYNTQSJREA2HLWNKBDTZJCUO3AVCNFSM6AAAAABJX3LSG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBXGYYTENBVHA. You are receiving this because you authored the thread.Message ID: @.***>
@gregbert42 Try completey removing the addon and installing again
Ok. But it’s not an add on. It’s a standalone server in a separate docker container from home assistant as I was never able to figure out how to install it as an addon. It’s not on an rpi
On Thu, Jun 27, 2024 at 10:09 AM OzGav @.***> wrote:
@gregbert42 https://github.com/gregbert42 Try completey removing the addon and installing again
— Reply to this email directly, view it on GitHub https://github.com/music-assistant/hass-music-assistant/issues/2525#issuecomment-2194654487, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBNBYLWBVSDX2C243RR6KLZJQFI5AVCNFSM6AAAAABJX3LSG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJUGY2TINBYG4 . You are receiving this because you were mentioned.Message ID: @.***>
Ok. But it’s not an add on. It’s a standalone server in a separate docker container from home assistant as I was never able to figure out how to install it as an addon. It’s not on an rpi … On Thu, Jun 27, 2024 at 10:09 AM OzGav @.> wrote: @gregbert42 https://github.com/gregbert42 Try completey removing the addon and installing again — Reply to this email directly, view it on GitHub <#2525 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBNBYLWBVSDX2C243RR6KLZJQFI5AVCNFSM6AAAAABJX3LSG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJUGY2TINBYG4 . You are receiving this because you were mentioned.Message ID: @.>
Addons only work when you install HAOS in order to run home assistant. Addons are not available when you install home assistant manually in a docker containers. The equivalent of what @OzGav suggest is to just remove your docker container and start fresh.
Yes. And remove the external config files. I provided that information so everybody who is trying to solve this is fully aware of the context in which I am running music assistant.
Get Outlook for iOShttps://aka.ms/o0ukef
From: Marvin Schenkel @.> Sent: Thursday, June 27, 2024 11:25:01 AM To: music-assistant/hass-music-assistant @.> Cc: gregbert42 @.>; Mention @.> Subject: Re: [music-assistant/hass-music-assistant] Youtube music fails to play anything (Issue #2525)
Ok. But it’s not an add on. It’s a standalone server in a separate docker container from home assistant as I was never able to figure out how to install it as an addon. It’s not on an rpi … On Thu, Jun 27, 2024 at 10:09 AM OzGav @.> wrote: @gregbert42https://github.com/gregbert42 https://github.com/gregbert42 Try completey removing the addon and installing again — Reply to this email directly, view it on GitHub <#2525 (comment)https://github.com/music-assistant/hass-music-assistant/issues/2525#issuecomment-2194654487>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBNBYLWBVSDX2C243RR6KLZJQFI5AVCNFSM6AAAAABJX3LSG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJUGY2TINBYG4 . You are receiving this because you were mentioned.Message ID: @.>
Addons only work when you install HAOS in order to run home assistant. Addons are not available when you install home assistant manually in a docker containers. The equivalent of what @OzGavhttps://github.com/OzGav suggest is to just remove your docker container and start fresh.
— Reply to this email directly, view it on GitHubhttps://github.com/music-assistant/hass-music-assistant/issues/2525#issuecomment-2194844467, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBNBYI2FUVH6PMN5RJTKTTZJQOD3AVCNFSM6AAAAABJX3LSG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJUHA2DINBWG4. You are receiving this because you were mentioned.Message ID: @.***>
What version of Music Assistant has the issue?
2.0.7
What version of the Home Assistant Integration have you got installed?
na
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
Whenever I try to play any music from youtube, it errors out. Plex-server sourced music works fine. Youtube music used to work. I am able to remove youtube music, re-add it, and have no problem authenticating. I am using it as part of a docker container, and have been for over a year without a problem.
here is the error. And no, i am not using youtube music anywhere else.
2024-06-23 00:29:14.105 WARNING (MainThread) [music_assistant.providers.ytmusic] Could not resolve a valid URL for item '306cL4zf5GA'. Are you playing music on another device using the same account? 2024-06-23 00:29:14.105 WARNING (MainThread) [music_assistant.audio] Could not resolve a valid URL for item '306cL4zf5GA'. 2024-06-23 00:29:14.105 ERROR (MainThread) [music_assistant.webserver] Error handling message: player_queues/play_media: Unable to retrieve streamdetails for QueueItem(queue_id='ap48b56409d0b0', queue_item_id='8cd00e967820456f800103bf6d8e7f63', name='Arcade Fire - Neighborhood #3 (Power Out)', duration=313, sort_index=0, streamdetails=None, media_item=Track(item_id='306cL4zf5GA', provider='ytmusic', name='Neighborhood #3 (Power Out)', version='', sort_name='neighborhood #3 (power out)', uri='ytmusic://track/306cL4zf5GA', external_ids=set(), media_type=<MediaType.TRACK: 'track'>, provider_mappings={ProviderMapping(item_id='306cL4zf5GA', provider_domain='ytmusic', provider_instance='ytmusic--JgUfdwSm', available=True, audio_format=AudioFormat(content_type=<ContentType.M4A: 'm4a'>, sample_rate=44100, bit_depth=16, channels=2, output_format_str='m4a', bit_rate=320), url=None, details=None)}, metadata=MediaItemMetadata(description=None, review=None, explicit=False, images=[MediaItemImage(type=<ImageType.THUMB: 'thumb'>, path='https://lh3.googleusercontent.com/GWqZ2EW2bqMolKoX43ETfrYvjbpvEKvj-BPFXpHtjs41KR-36SyJ3EjcYfmh4Snli9v8Nb20HTA0ohs=w600-h600-p', provider='ytmusic--JgUfdwSm', remotely_accessible=True)], genres=None, mood=None, style=None, copyright=None, lyrics=None, label=None, links=None, chapters=None, performers=None, preview=None, popularity=None, cache_checksum=None, last_refresh=None), favorite=False, position=28, duration=313, artists=[ItemMapping(item_id='UCXvAK640Ko85SLbI-zA0ZCg', provider='ytmusic--JgUfdwSm', name='Arcade Fire', version='', sort_name='arcade fire', uri='ytmusic--JgUfdwSm://artist/UCXvAK640Ko85SLbI-zA0ZCg', external_ids=set(), media_type=<MediaType.ARTIST: 'artist'>, available=True, image=None)], album=ItemMapping(item_id='MPREb_X7jiu0wnwSt', provider='ytmusic--JgUfdwSm', name='Funeral', version='', sort_name='funeral', uri='ytmusic--JgUfdwSm://album/MPREb_X7jiu0wnwSt', external_ids=set(), media_type=<MediaType.ALBUM: 'album'>, available=True, image=None), disc_number=None, track_number=None), image=MediaItemImage(type=<ImageType.THUMB: 'thumb'>, path='https://lh3.googleusercontent.com/GWqZ2EW2bqMolKoX43ETfrYvjbpvEKvj-BPFXpHtjs41KR-36SyJ3EjcYfmh4Snli9v8Nb20HTA0ohs=w600-h600-p', provider='ytmusic--JgUfdwSm', remotely_accessible=True), index=0)
How to reproduce
Try to play any music from youtube
Music Providers
youtube = problem plex = works
Player Providers
airplay devices
Full log output
log.txt
Additional information
No response
What version of Home Assistant Core are your running
na
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Linux