The other player created the following error on the failure
2024-12-26 21:01:33.771 ERROR (MainThread) [music_assistant] Error doing task: Unhandled exception in client_connected_cb
Traceback (most recent call last):
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/airplay/provider.py", line 649, in _handle_dacp_request
await writer.drain()
File "/usr/local/lib/python3.12/asyncio/streams.py", line 392, in drain
await self._protocol._drain_helper()
File "/usr/local/lib/python3.12/asyncio/streams.py", line 166, in _drain_helper
raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
2024-12-26 21:01:34.037 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue MA RoPiee Bedroom Airplay - crossfade: False
2024-12-26 21:10:23.912 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/helpers/process.py", line 121, in iter_chunked
chunk = await self.readexactly(n)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/helpers/process.py", line 139, in readexactly
return await self.proc.stdout.readexactly(n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 752, in readexactly
await self._wait_for_data('readexactly')
File "/usr/local/lib/python3.12/asyncio/streams.py", line 545, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/airplay/raop.py", line 73, in audio_streamer
async for chunk in self._audio_source:
File "/app/venv/lib/python3.12/site-packages/music_assistant/controllers/streams.py", line 775, in get_flow_stream
async for chunk in self.get_media_stream(
File "/app/venv/lib/python3.12/site-packages/music_assistant/controllers/streams.py", line 980, in get_media_stream
async for chunk in get_media_stream(
File "/app/venv/lib/python3.12/site-packages/music_assistant/helpers/audio.py", line 307, in get_media_stream
async for chunk in TimedAsyncGenerator(
File "/app/venv/lib/python3.12/site-packages/music_assistant/helpers/util.py", line 624, in __anext__
result = await asyncio.wait_for(self._iterator.__anext__(), int(timeout))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
async with timeouts.timeout(timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
raise TimeoutError from exc_val
TimeoutError
2024-12-26 21:10:24.776 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue MA RoPiee Bedroom Airplay - crossfade: False
2024-12-26 23:08:34.481 INFO (MainThread) [music_assistant.music] Sync task for Music Assistant completed
I cannot put the RoPie on a wired connection, it is in a location where there is no ethernet.
Old setup before the upgrade of HA to December release was running the MA Player on a Docker container, and on HA having the part of MA that exposed the players/speakers to the docker.
Excluding some issues with DLNA not being picked up, the music played rock (and roll) solid for months. This issue is since moving to MA as Core to HA.
Can I use MA on a Docker and have HA control it still?
Hi @kcossabo ,
I am having the same playback issues. I did not use MA when it was still available as hacs integration. I am wondering if its still possible to start MA Server as docker image as well, since MA github repo was archived.
I gave up. Found that RoPieee will support PlexAMP and went that route. Before giving up, I did relaunch the Container, and the integration seemed to work -ish. I think if you load the Container, then load the ADD-IN you should be able to to use the external.
With my music being shared to PLEX anyways, the Plex integration, then RoPieee ojust works.