Replies: 1 comment 2 replies
-
Oh...i forgot to mention: If i start the song using Music Assistant in a webbrowser with the webrowser as playback destination, the song plays flawlessly! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to Home Assistant and have an issue with Music Assistant: The player does not stream anywhere to. I selected 'Home Asssistant' as a plugin provider first. After that i defined 'Home Assistant' as a provider of a 'player'.
After that, i defined two destinations inside the Home Assistant 'player' for media playback: an AppleTV and a Smart-TV:
When i now start a song while i use one or both of the destinations, nothing happens. I can change the volume with the devices giving feedback that they changed their volume, too. But the song will not start, no transport indicator is showing up, no time starts running:
The destination with a closer look - song doesn't play:
This is what the logs looks like:
2024-11-19 04:27:16.802 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-105' coro=<MusicController._start_provider_sync.<locals>.run_sync() running at /app/venv/lib/python3.12/site-packages/music_assistant/controllers/music.py:830> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/base_events.py:449> cb=[MusicAssistant.create_task.<locals>.task_done_callback() at /app/venv/lib/python3.12/site-packages/music_assistant/mass.py:348, MusicController._start_provider_sync.<locals>.on_sync_task_done() at /app/venv/lib/python3.12/site-packages/music_assistant/controllers/music.py:849] created at /app/venv/lib/python3.12/site-packages/music_assistant/mass.py:344> took 0.259 seconds 2024-11-19 04:27:28.984 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-105' coro=<MusicController._start_provider_sync.<locals>.run_sync() running at /app/venv/lib/python3.12/site-packages/music_assistant/controllers/music.py:830> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/base_events.py:449> cb=[MusicAssistant.create_task.<locals>.task_done_callback() at /app/venv/lib/python3.12/site-packages/music_assistant/mass.py:348, MusicController._start_provider_sync.<locals>.on_sync_task_done() at /app/venv/lib/python3.12/site-packages/music_assistant/controllers/music.py:849] created at /app/venv/lib/python3.12/site-packages/music_assistant/mass.py:344> took 0.145 seconds 2024-11-19 04:27:46.263 DEBUG (MainThread) [music_assistant.webserver] Handling command config/players 2024-11-19 04:28:04.335 DEBUG (MainThread) [music_assistant.webserver] Handling command players/cmd/volume_set 2024-11-19 04:28:04.336 DEBUG (MainThread) [music_assistant.players] Handling command cmd_volume_set for player AppleTV 2024-11-19 04:28:04.981 DEBUG (MainThread) [music_assistant.webserver] Handling command players/cmd/volume_set 2024-11-19 04:28:04.982 DEBUG (MainThread) [music_assistant.players] Handling command cmd_volume_set for player AppleTV 2024-11-19 04:28:06.164 DEBUG (MainThread) [music_assistant.webserver] Handling command players/cmd/volume_set 2024-11-19 04:28:06.165 DEBUG (MainThread) [music_assistant.players] Handling command cmd_volume_set for player AppleTV 2024-11-19 04:28:07.568 DEBUG (MainThread) [music_assistant.webserver] Handling command players/cmd/play_pause 2024-11-19 04:28:07.570 DEBUG (MainThread) [music_assistant.players] Handling command cmd_play for player AppleTV 2024-11-19 04:28:07.586 DEBUG (MainThread) [music_assistant.audio] Getting streamdetails for library://track/18641 2024-11-19 04:28:07.762 DEBUG (MainThread) [music_assistant.audio] retrieved streamdetails for library://track/18641 in 175 milliseconds 2024-11-19 04:28:07.878 DEBUG (MainThread) [music_assistant.players] Handling command play_media for player AppleTV 2024-11-19 04:29:07.488 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-105' coro=<MusicController._start_provider_sync.<locals>.run_sync() running at /app/venv/lib/python3.12/site-packages/music_assistant/controllers/music.py:830> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/base_events.py:449> cb=[MusicAssistant.create_task.<locals>.task_done_callback() at /app/venv/lib/python3.12/site-packages/music_assistant/mass.py:348, MusicController._start_provider_sync.<locals>.on_sync_task_done() at /app/venv/lib/python3.12/site-packages/music_assistant/controllers/music.py:849] created at /app/venv/lib/python3.12/site-packages/music_assistant/mass.py:344> took 0.315 seconds
What am i doing wrong? Please be kind, i'm using Home Assistant just for 3 days, so i'm a bloody newbie. But i didn't find any clue for this behavior anywhere.
Thanks for hints and tips!
: )
Beta Was this translation helpful? Give feedback.
All reactions