Open bacco007 opened 1 month ago
Are you saying you can't add ANY HA media player? If not then list which players work and which don't
No players at all.
It looks like MA has discovered some other players. Do they work ok?
Is the plugin provider installed ok?
Cast players are working, and it did install the provider.
Are you saying you can't add ANY HA media player? If not then list which players work and which don't
I did under Player Providers - Sonos, Chromecast and Airplay all work
Home Assistant plugin provider is also installed
I'm also getting hass_client.exceptions.ConnectionFailed: Connection failed.
and have not been able to populate the media player list using the Home Assistant media players provider. On 2.0.0 and 2.0.2.
Make sure to enable the web server in Settings->Core->Web Server (frontend and api)
You do not need to enable that port. It is disabled by default for security reasons
Didn't seem to matter if it's enabled for me or not, even trying to sync after it being enabled. I've disabled the port for the time being.
Yeah that setting has nothing to do with this report. So confirm you can see the list of HA players that are available to select but when you select one you get that error?
I don't see a list of HA players
For reference this is what you should see. Maybe you don’t have any suitable HA players?
Also you have listed the wrong integration version in your report. Look in HACS and report the version you are running. It should be 2024.5.0
edit: sorry should be 2024.5.1. You are correct
Confirmed: 2024.5.1
I do see the dropdown populated with Home Assistant media players. I selected a few.
None of them ever show up in the side panel:
It could very well be the case that I don't know what I should (or shouldn't) be seeing.
Also you have listed the wrong integration version in your report
Well that's what is getting reported in integration setup
For reference this is what you should see
I only see this, pressing save is what generates the error in my original report
@bacco007 clear your browser cache. If that doesn’t work clear the MA cache (MA SETTINGS>> CORE>> CACHE CONTROLLER)
@cmsimike you have a different issue. Please open your own report
clear your browser cache. If that doesn’t work clear the MA cache
Done - still get same error
Have you restarted MA? Try a full host reboot?
Done both (separately), no change either time
Ok will have to wait for Marcel as I don’t know why that page isn’t rendering properly.
I've got the exact same issue where no media players are rendered. This is most certainly related to
2024-05-13 22:31:00.016 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/hass_client/client.py", line 318, in _process_messages raise ConnectionFailed hass_client.exceptions.ConnectionFailed: Connection failed.
As this happens right before the nonexistent player list shows. I'm guessing it's incorrect connection details to the supervisor api
What version of Music Assistant has the issue?
2.0.2
What version of the Home Assistant Integration have you got installed?
2024.5.1
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
Pressing Save to add the HA Media Player provider I get the following error
How to reproduce
Music Providers
N/A
Player Providers
HA Mediaplayers doesnt work Sonos, Airplay and Chromecast work
Full log output
2024-05-12 09:53:03.492 INFO (MainThread) [music_assistant] Starting Music Assistant Server (ebc4420adf744b8daab35b1e57daf191) version 2.0.2 - HA add-on: True - Safe mode: False 2024-05-12 09:53:03.496 INFO (MainThread) [music_assistant.cache] Initializing cache controller... 2024-05-12 09:53:03.538 INFO (MainThread) [music_assistant.music] Using a sync interval of 180 minutes. 2024-05-12 09:53:03.631 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 6.0.1 with libsoxr support 2024-05-12 09:53:03.631 INFO (MainThread) [music_assistant.streams] Starting server on 0.0.0.0:8097 - base url: http://192.168.1.90:8097 2024-05-12 09:53:03.636 INFO (MainThread) [music_assistant.webserver] Starting server on 172.30.32.1:8095 - base url: http://172.30.32.1:8095 2024-05-12 09:53:03.787 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant 2024-05-12 09:53:03.787 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider 2024-05-12 09:53:03.787 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider 2024-05-12 09:53:03.787 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider 2024-05-12 09:53:03.787 INFO (MainThread) [music_assistant] Loaded music provider Tune-In Radio 2024-05-12 09:53:03.813 INFO (MainThread) [music_assistant] Loaded player provider SONOS 2024-05-12 09:53:03.819 INFO (MainThread) [music_assistant] Loaded plugin provider Home Assistant 2024-05-12 09:53:03.909 INFO (MainThread) [music_assistant.music] Sync task for Music Assistant completed 2024-05-12 09:53:04.168 INFO (MainThread) [music_assistant] Loaded player provider Airplay 2024-05-12 09:53:04.171 INFO (MainThread) [music_assistant.players] Player registered: ap48a6b88863cc/office 2024-05-12 09:53:04.173 INFO (MainThread) [music_assistant.players] Player registered: ap38420b9123c8/bedroom 2024-05-12 09:53:04.174 INFO (MainThread) [music_assistant.players] Player registered: ap0499b99e2b2d/bedroom (2) 2024-05-12 09:53:04.474 INFO (MainThread) [music_assistant.players] Player registered: RINCON_48A6B88863CC01400/Office 2024-05-12 09:53:04.476 WARNING (MainThread) [soco.events_asyncio] Could not bind to 192.168.1.90:1400: [Errno 98] Address already in use 2024-05-12 09:53:04.580 INFO (MainThread) [music_assistant.players] Player registered: RINCON_38420B9123C801400/Bedroom 2024-05-12 09:53:05.001 INFO (MainThread) [music_assistant] Loaded music provider RadioBrowser 2024-05-12 09:53:05.088 INFO (MainThread) [music_assistant.players] Player registered: ap58d34916a4d3/Bedroom 2024-05-12 09:53:05.162 INFO (MainThread) [music_assistant.players] Player registered: apa4cf99c7a8cb/Office HomePod 2024-05-12 09:53:06.091 INFO (MainThread) [music_assistant.providers.spotify] Successfully logged in to Spotify as 1230918973 2024-05-12 09:53:06.092 INFO (MainThread) [music_assistant] Loaded music provider Spotify 2024-05-12 09:53:09.384 WARNING (MainThread) [music_assistant.providers.tunein] Unable to retrieve info for http://media.on.net/radio/playlist.m3u: Connection timed out 2024-05-12 09:53:09.402 INFO (MainThread) [music_assistant.music] Sync task for Tune-In Radio completed 2024-05-12 09:53:09.402 INFO (MainThread) [music_assistant.music] Sync task for RadioBrowser completed 2024-05-12 09:53:18.481 INFO (MainThread) [music_assistant.music] Sync task for Spotify completed 2024-05-12 10:18:46.838 INFO (MainThread) [music_assistant.players] Player registered: ap9c760e31ae47/tbMacStudio 2024-05-12 10:23:14.158 INFO (MainThread) [music_assistant] Loaded player provider Chromecast 2024-05-12 10:23:14.829 INFO (MainThread) [music_assistant.players] Player registered: 683ce7c5-f8e2-5096-ec60-af7dce786292/tbPixelTablet 2024-05-12 10:23:15.261 INFO (MainThread) [music_assistant.players] Player registered: 5dec7c03-ac6c-e9a2-4387-6eb2aee2bdfc/SHIELD 2024-05-12 10:23:22.196 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/hass_client/client.py", line 318, in _process_messages raise ConnectionFailed hass_client.exceptions.ConnectionFailed: Connection failed. 2024-05-12 10:23:23.626 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers/save: players has unexpected type: <class 'NoneType'> 2024-05-12 10:23:31.990 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/hass_client/client.py", line 318, in _process_messages raise ConnectionFailed hass_client.exceptions.ConnectionFailed: Connection failed. 2024-05-12 10:24:19.748 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/hass_client/client.py", line 318, in _process_messages raise ConnectionFailed hass_client.exceptions.ConnectionFailed: Connection failed. 2024-05-12 10:26:27.394 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/hass_client/client.py", line 318, in _process_messages raise ConnectionFailed hass_client.exceptions.ConnectionFailed: Connection failed. 2024-05-12 10:27:40.465 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/hass_client/client.py", line 318, in _process_messages raise ConnectionFailed hass_client.exceptions.ConnectionFailed: Connection failed. 2024-05-12 10:27:41.575 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers/save: players has unexpected type: <class 'NoneType'>
Additional information
No response
What version of Home Assistant Core are your running
2024.5.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)