You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of the Home Assistant Integration have you got installed?
No response
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
Yes
The problem
The DLNA player provider appears to become unstable after a long period of time, throwing the following errors in the logs.
When these errors are thrown, any players that are available on the network seem to become completely unavailable with a loading symbol next to the player itself.
Reloading the player provider will pickup the players again for a brief period, but after 10 seconds or so, they all disappear again.
How to reproduce
Setup DLNA with scan network enabled
Wait for a long time (maybe? I restarted MA and the problem went away, MA has been up pretty much since the latest beta release).
Music Providers
N/A issue impacts the player provider, music providers still work fine
Player Providers
DLNA
Full log output
2025-01-04 11:14:18.254 WARNING (MainThread) [music_assistant.players] Error while requesting latest state from player Living Room TV: 'uuid:23456789-1234-1010-8000-104FA8CC0E2C'
Traceback (most recent call last):
File "/app/venv/lib/python3.12/site-packages/music_assistant/controllers/players.py", line 1369, in _poll_players
await player_prov.poll_player(player_id)
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/dlna/__init__.py", line 370, in poll_player
dlna_player = self.dlnaplayers[player_id]
~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'uuid:23456789-1234-1010-8000-104FA8CC0E2C'
2025-01-04 11:14:18.255 WARNING (MainThread) [music_assistant.players] Error while requesting latest state from player XBOX: 'uuid:dfefb60e-4b37-4577-b673-b52486b618da'
Traceback (most recent call last):
File "/app/venv/lib/python3.12/site-packages/music_assistant/controllers/players.py", line 1369, in _poll_players
await player_prov.poll_player(player_id)
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/dlna/__init__.py", line 370, in poll_player
dlna_player = self.dlnaplayers[player_id]
~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'uuid:dfefb60e-4b37-4577-b673-b52486b618da'
2025-01-04 11:14:18.257 WARNING (MainThread) [music_assistant.players] Error while requesting latest state from player LIVINGROOM: 'uuid:fdbd715a-280c-46e6-bfd3-b7d5e7e16f6d'
Traceback (most recent call last):
File "/app/venv/lib/python3.12/site-packages/music_assistant/controllers/players.py", line 1369, in _poll_players
await player_prov.poll_player(player_id)
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/dlna/__init__.py", line 370, in poll_player
dlna_player = self.dlnaplayers[player_id]
~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'uuid:fdbd715a-280c-46e6-bfd3-b7d5e7e16f6d'
What version of Music Assistant has the issue?
2.4.0b8
What version of the Home Assistant Integration have you got installed?
No response
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
The DLNA player provider appears to become unstable after a long period of time, throwing the following errors in the logs.
When these errors are thrown, any players that are available on the network seem to become completely unavailable with a loading symbol next to the player itself.
Reloading the player provider will pickup the players again for a brief period, but after 10 seconds or so, they all disappear again.
How to reproduce
Music Providers
N/A issue impacts the player provider, music providers still work fine
Player Providers
Full log output
d5369777_music_assistant_beta_2025-01-04T11-24-34.631Z.log
Additional information
I wasn't able to capture logs directly from MA, but perhaps the tracebacks above are enough to see roughly where this error may be occurring?
What version of Home Assistant Core are your running
2025.5.0
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)
The text was updated successfully, but these errors were encountered: