Closed JustEnoughDucks closed 21 hours ago
You’re looking at ancient info I’m afraid. Please refer to the docs here https://music-assistant.io/music-providers/spotify/
Spotify Connect support will come in a future update.
Ah, I didn't realize that things 2 months ago were so outdated! Development must be going very fast!
Then everything is working as intended!
Cool. It was Spotify that changed their login method and threw everyting into disarray!
What version of Music Assistant has the issue?
2.29
What version of the Home Assistant Integration have you got installed?
2024.10.1
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
While setting up Music Assistant for the first time (I had to fix mDNS first as my iptables rules were blocking mDNS discovery), I have run into a problem. The MUSIC_ASSISTANT device doesn't show up in any spotify client as indicated that it should here: https://github.com/music-assistant/hass-music-assistant/issues/2754#issuecomment-2286067394.
Everything syncs fine and I can also play fine via the frontend to my player device (custom ESP32-S3 -> PCM5102 device).
I believe I should be seeing a spotify connect device as that is the handiest way to play music on the device when not at my computer (also the playlist ordering by recently played on spotify is also nice)
My whole idea around building this device was to be able to control my Yamaha AV receiver via home assistant + voice assistant + playing music. So far it can do all 3 except this hiccup with getting spotify connect to work.
How to reproduce
Music Providers
Spotify
Player Providers
Home Assistant
Full log output
Note: times offset by 2 hours. Musicassistant possibly using UTC 00:00?
music_assistant_spotify_connect_issue_20241023.log
Additional information
Music Assistant is running via docker bridge mode. I run everything through a bridged network as it mitigates security flaws in the software running. So far nothing has had an issue with that except old versions of ESPHome (that would try to open up random ports to transfer voice assistant streams, a bad practice that has been changed to properly using the API).
My iptables config drops all connections outside of specified.
For this purpose I have:
and
Though in theory, docker chains should also take care of this.
MA mDNS entry:
Player mDNS entry:
What version of Home Assistant Core are your running
2024.10.3
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Linux