Hi guys
I have a problem with the integration music assistant and Spotify provider.
Everything worked well since 2 day ago, then I have every time the same error playing music in Spotify and home assistant (I have premium account)
2025-08-10 07:30:01.393 WARNING (MainThread) [music_assistant.spotify] No audio received from librespot within timeout - will retry once
2025-08-10 07:30:21.399 ERROR (MainThread) [ffmpeg.572] Stream error: No audio received from librespot within timeout
Wow, just installed this add-on on my Pi5 and it rocks! I was previously running Lyrion Media Server on docker and used the LMS integration. The experience with MA is so much better and it even unlocks 24bits music on Tidal for me! Kudos
What I am missing in MA is the Music and Artists information plugin. Is it possible to add this plugin? Or is there a manual way of doing this?
Updated to server version 2.5.8, Spotify and Youtube now playing.
Unfortunately the only Chrome Cast device it will play to is my Nvidia Shield.
All my Nest Speakers and Displays are no longer shown as Chrome Cast Players. All Chrome Cast Players are showing available in the HA Native Chromecast integration.
Have Resarted HA, Rebooted Host, Disabled and then Re-enabled the Chrome Cast Players
Log File
2025-08-11 11:52:47.552 INFO (MainThread) [music_assistant] Starting Music Assistant Server (5aa48e81f0bd4427b6d36bd13edfdbc5) version 2.5.8 - HA add-on: True - Safe mode: False
2025-08-11 11:52:47.622 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
2025-08-11 11:52:47.983 INFO (MainThread) [ffmpeg] Detected ffmpeg version 7.1.1 with libsoxr support
2025-08-11 11:52:48.010 INFO (MainThread) [music_assistant.streams]
################################################################################
Starting streamserver on 192.168.1.58:8097
This is the IP address that is communicated to players.
If this is incorrect, audio will not play!
See the documentation how to configure the publish IP for the Streamserver
in Settings --> Core modules --> Streamserver
################################################################################
2025-08-11 11:52:48.291 INFO (MainThread) [music_assistant.music] Using a sync interval of 720 minutes.
2025-08-11 11:52:48.412 INFO (MainThread) [music_assistant.webserver] Starting webserver on 0.0.0.0:8095 - base url: http://192.168.1.58:8095
#
2025-08-11 11:52:51.249 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz
2025-08-11 11:52:51.254 INFO (MainThread) [music_assistant] Loaded metadata provider The Audio DB
2025-08-11 11:52:51.258 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant
2025-08-11 11:52:51.274 INFO (MainThread) [music_assistant] Loaded player provider Music Assistant
2025-08-11 11:52:51.277 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv
2025-08-11 11:52:51.279 INFO (MainThread) [music_assistant] Loaded player provider Playergroup
2025-08-11 11:52:51.335 INFO (MainThread) [music_assistant] Loaded plugin provider Connect Home Assistant
2025-08-11 11:52:51.423 INFO (MainThread) [music_assistant] Loaded player provider MA
2025-08-11 11:52:51.507 INFO (MainThread) [music_assistant] Loaded plugin provider Home Assistant
2025-08-11 11:52:51.678 INFO (MainThread) [music_assistant.players] Player registered: 9fb6e5f6-5d3b-1e59-ff4f-2673a6619d2e/SHIELD
2025-08-11 11:52:53.449 INFO (MainThread) [music_assistant.spotify] Successfully logged in to Spotify as Alli Jane Wells
2025-08-11 11:52:53.450 INFO (MainThread) [music_assistant] Loaded music provider Spotify
2025-08-11 11:53:18.639 INFO (MainThread) [music_assistant] Loaded music provider YouTube Music
2025-08-11 11:56:15.125 INFO (MainThread) [music_assistant.players] Player registered: ma_r6rpgz5fmu/This Device
2025-08-11 15:24:22.965 INFO (MainThread) [music_assistant.players] Player removed: SHIELD
2025-08-11 15:25:01.034 INFO (MainThread) [music_assistant.hass] Connection to HA lost. Connection will be automatically retried later.
2025-08-11 15:25:06.054 WARNING (MainThread) [music_assistant] Error loading provider(instance) hass: 502, message='Invalid response status', url='ws://supervisor/core/api/websocket' (will be retried later)
2025-08-11 15:26:54.026 INFO (MainThread) [music_assistant] Loaded player provider MA
2025-08-11 15:26:54.179 INFO (MainThread) [music_assistant.players] Player registered: 9fb6e5f6-5d3b-1e59-ff4f-2673a6619d2e/SHIELD
2025-08-11 15:27:06.076 INFO (MainThread) [music_assistant] Loaded plugin provider Home Assistant
2025-08-11 15:27:49.109 INFO (MainThread) [music_assistant.player_queues] Fetching tracks to play for playlist Liked Songs Alli Jane Wells
@OzGav I believe he is taking about artist metadata which is web scraped from sites like MusicBrainz and stored in the database. That is at leaat what Kodi (formerly XBMC) media center does to create a music library with more context (like meta data info about artists and albums (as well as lirics and more) to make it more of an entertaining experince along with the frontend interface showing loads of relative artwork/pictures for artists and albums during playback. The information is connected via addons for Kodi that acts like custom integrations for adding extra metadata. Web scrapers also acts like plugins for automatic metadata collecting. I think it would be cool if Music Assistant could be made
compatible with scrapers and addons from Kodi so do not need to reinvent all of that (which can be Phyton code in Kodi). You can read more about it in the wiki for Kodi:
The plugin is available in Lyrion Media Server. Isn’t MA just a custom build of it? I use it extensively in LMS to see the currently playing song’s lyrics.
I noticed that when I turn on the TV and SONOS switches to the TV output, MA will lose its song queue. There is no way to get it back unless I manually select a playlist to play again. This is unexpected (from my side). I am so used to LMS that it keeps a separate playlist (also with the last song position), does this exist in the current version of MA? Or will it be implemented in the future?
That already happens to a degree. The AudioDB is used for extra artwork and artist bios. Fanart.tv obviously for artwork as well. Genre support will further enhance this. MA actually stores a lot of info in its database just waiting on more front end devs to come onboard to enhance the UI
I believe that Music Assistant server is made from scratch so have nothing directly to do with any similar “music library manager” appications that came before it or has been made since. Recommend you read this blog post from a year ago for a good overview about it → Music Assistant 2.0: Your Music, Your Players - Home Assistant
Hmm I am using Tidal as a music provider. When SONOS switches to TV output, the song queue is cleared. I cannot just click play after that because there is no playlist anymore. I have to manually select a playlist to start playing music again.
You said it should not happen… my mileage is different than yours I supposed.
I connected with MA on discord but I cannot post anything there… any suggestion?
Apologies, just trying to work out what is going on with my instance? All my cast speakers were available directly before the update and now they are not.