music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.32k stars 49 forks source link

Setting up Youtube music provider without YouTube premium locks up all music providers #2555

Closed jmtatsch closed 2 months ago

jmtatsch commented 3 months ago

What version of Music Assistant has the issue?

2.1.0b8

What version of the Home Assistant Integration have you got installed?

2024.6.2

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

A little warning table pops up with 'domain'. All my music providers and players are gone. I also cant remove the YouTube music provider like this.

Bildschirmfoto 2024-06-30 um 17 02 42

How to reproduce

Removed old YouTube provider because it stopped working. Newly authorized YouTube provider. Everything seems to have worked as expected. It says it didn't find music premium and locks up.

Music Providers

Youtube

Player Providers

Sonos

Full log output

Just a relevant part

2024-06-30 17:01:08.974 ERROR (MainThread) [music_assistant] Error loading provider(instance) Home Assistant: Configuration is invalid
2024-06-30 17:02:25.455 ERROR (MainThread) [music_assistant] Error loading provider(instance) Snapcast: Unable to start the Snapserver connection ?
2024-06-30 17:02:34.755 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers: 'domain'
2024-06-30 17:02:48.339 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:02:54.912 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers: 'domain'
2024-06-30 17:04:49.598 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:05:13.013 ERROR (MainThread) [music_assistant] Error loading provider(instance) YouTube Music: User does not have Youtube Music Premium
2024-06-30 17:06:50.802 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:07:11.365 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers: 'domain'
2024-06-30 17:08:52.007 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:10:53.190 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:11:08.975 ERROR (MainThread) [music_assistant] Error loading provider(instance) Home Assistant: Configuration is invalid
2024-06-30 17:12:25.463 ERROR (MainThread) [music_assistant] Error loading provider(instance) Snapcast: Unable to start the Snapserver connection ?
2024-06-30 17:12:54.392 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:14:23.827 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers: 'domain'
2024-06-30 17:14:55.598 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:15:17.759 ERROR (MainThread) [music_assistant] Error loading provider(instance) YouTube Music: User does not have Youtube Music Premium
2024-06-30 17:16:56.810 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:18:58.024 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:20:59.218 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.179.5:1400: [Errno 98] Address already in use
2024-06-30 17:21:08.978 ERROR (MainThread) [music_assistant] Error loading provider(instance) Home Assistant: Configuration is invalid
2024-06-30 17:22:25.473 ERROR (MainThread) [music_assistant] Error loading provider(instance) Snapcast: Unable to start the Snapserver connection ?

Additional information

No response

What version of Home Assistant Core are your running

2024.6.4

What type of installation are you running?

Home Assistant Supervised

On what type of hardware are you running?

Linux

OzGav commented 3 months ago

The problem has been identified and is being worked on

OzGav commented 2 months ago

Ok you must have a subscription to YouTube. The domain problem is fixed in beta 9

jmtatsch commented 2 months ago

Confirm fixed in latest beta. Thank you!