hass-music-assistant: Airplay playback does not work to Airport Express devices
What version of Music Assistant has the issue?
2.0.0b103
What version of the Home Assistant Integration have you got installed?
2024.2.0
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
- Yes
The problem
After latest update I cann’ot use my Aripplay device (Apple Airport). With the latest update the working player is marked as unavailable. There is a “new” Airplay Device but I can’t stream music on it.
Restarting both core and MA doesn’t fix
Rollback to 2.0.0b94 fix the issue
How to reproduce
Try to start play
Music Providers
All
Player Providers
Airplay
Relevant log output
This is the logs entry after try to enable the “new” Airplay device and stream some music
2024-02-24 08:35:17.706 ERROR (MainThread) [music_assistant.webserver] [546527646416] Error handling message: CommandMessage(message_id=20, command='players/cmd/power', args={'player_id': 'apac7f3ee81fe7', 'powered': True})
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 374, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/players.py", line 75, in wrapper
await func(self, *args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/players.py", line 452, in cmd_power
await self.mass.player_queues.resume(player_id)
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 628, in resume
raise QueueEmpty(msg)
music_assistant.common.models.errors.QueueEmpty: Resume queue requested but queue apac7f3ee81fe7 is empty
2024-02-24 08:35:25.285 ERROR (MainThread) [music_assistant.webserver] [546527646416] Error handling message: CommandMessage(message_id=21, command='players/queue/play_pause', args={'queue_id': 'apac7f3ee81fe7'})
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 374, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 543, in play_pause
await self.play(queue_id)
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 515, in play
await self.resume(queue_id)
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 628, in resume
raise QueueEmpty(msg)
music_assistant.common.models.errors.QueueEmpty: Resume queue requested but queue apac7f3ee81fe7 is empty
Additional information
Details of “new” Ariplay device withe the new version of MA
Details of working Ariplay device withe previous version of MA.
What version of Home Assistant Core are your running
2024.2.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 28 (12 by maintainers)
This doesn’t seem to have anything do with Airport express devices? Go through the troubleshooting steps in the docs then open a new discussion with all the required details.
@marcelveldt super! It works!!! Yeah on a 15 years old device (but this device after 15 years is still working fine) Just a note the version installed is b111. Great job really! Thanks!
I managed to purchase an Airport Express second hand - I should receive it within 2 days.
The Airport Express needs a bit of special treatment with the Airplay protocol (ironically enough) and without access to the actual device its a bit difficult for me to troubleshoot. So I ask for a couple of days patience until I sort this one out.