music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.4k stars 51 forks source link

music assistant create multible devices for the same device but only 1 working #426

Closed chali272 closed 2 years ago

chali272 commented 2 years ago

Music assistant create multiple devices for the same device but only 1 work, it works to remove the devices not working by testing one and one.

Skärmbild (122) Skärmbild (121)

Full logs 2022-06-17 16:33:58 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bodymiscale which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration profiler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 ERROR (SyncWorker_2) [homeassistant.loader] The custom integration 'profiler' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details 2022-06-17 16:33:58 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration harmony_ac which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration mass which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration husqvarna_automower which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_cloud_map_extractor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration virtual which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:33:58 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-06-17 16:34:05 WARNING (MainThread) [homeassistant.components.statistics.sensor] The configuration parameter 'state_characteristic' will become mandatory in a future release of the statistics integration. Please add 'state_characteristic: mean' to the configuration of sensor 'Stats' to keep the current behavior. Read the documentation for further details: https://www.home-assistant.io/integrations/statistics/ 2022-06-17 16:34:05 WARNING (MainThread) [homeassistant.components.statistics.sensor] The configuration parameter 'state_characteristic' will become mandatory in a future release of the statistics integration. Please add 'state_characteristic: mean' to the configuration of sensor 'Stats' to keep the current behavior. Read the documentation for further details: https://www.home-assistant.io/integrations/statistics/ 2022-06-17 16:34:05 WARNING (MainThread) [homeassistant.components.generic.camera] Loading generic IP camera via configuration.yaml is deprecated, it will be automatically imported. Once you have confirmed correct operation, please remove 'generic' (IP camera) section(s) from configuration.yaml 2022-06-17 16:34:05 WARNING (MainThread) [homeassistant.components.spotify] The 'spotify' option near /config/configuration.yaml:0 is deprecated, please remove it from your configuration 2022-06-17 16:34:05 WARNING (MainThread) [homeassistant.components.spotify] Configuration of Spotify integration in YAML is deprecated and will be removed in a future release; Your existing OAuth Application Credentials have been imported into the UI automatically and can be safely removed from your configuration.yaml file 2022-06-17 16:34:06 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one. 2022-06-17 16:34:09 WARNING (SyncWorker_4) [homeassistant.components.google] The 'max_results' option is deprecated, please remove it from your configuration 2022-06-17 16:34:09 WARNING (SyncWorker_4) [homeassistant.components.google] The 'max_results' option is deprecated, please remove it from your configuration 2022-06-17 16:34:09 WARNING (SyncWorker_4) [homeassistant.components.google] The 'max_results' option is deprecated, please remove it from your configuration 2022-06-17 16:34:09 WARNING (SyncWorker_4) [homeassistant.components.google] The 'max_results' option is deprecated, please remove it from your configuration 2022-06-17 16:34:09 WARNING (SyncWorker_4) [homeassistant.components.google] The 'max_results' option is deprecated, please remove it from your configuration 2022-06-17 16:34:09 WARNING (SyncWorker_4) [homeassistant.components.google] The 'max_results' option is deprecated, please remove it from your configuration 2022-06-17 16:34:09 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Controller (192.168.1.225)' for heos integration not ready yet: User not logged in (8); Retrying in background 2022-06-17 16:34:15 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds. 2022-06-17 16:46:30 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Controller (192.168.1.225)' for heos integration not ready yet: User not logged in (8); Retrying in background 2022-06-17 16:48:54 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Controller (192.168.1.225)' for heos integration not ready yet: User not logged in (8); Retrying in background 2022-06-17 16:49:24 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Controller (192.168.1.225)' for heos integration not ready yet: User not logged in (8); Retrying in background 2022-06-17 16:59:41 WARNING (MainThread) [homeassistant.components.heos] 192.168.1.225 is not logged in to a HEOS account and will be unable to retrieve HEOS favorites: Use the 'heos.sign_in' service to sign-in to a HEOS account 2022-06-17 17:02:12 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 17:02:12 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 17:23:36 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: 52182961c4cc4587be3bcf96ab2e3073 2022-06-17 17:24:01 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: media_player.bathroom 2022-06-17 17:24:01 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: media_player.bathroom 2022-06-17 17:46:40 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2022-06-17 17:46:40 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2022-06-17 18:22:53 WARNING (MainThread) [async_upnp_client.profiles.profile] Failed (re-)subscribing to: uuid:47ff4cda-6c93-3ec0-877f-ed77dca0d916, reason: UpnpConnectionError('ClientConnectorError(ConnectionKey(host=\'192.168.1.44\', port=56329, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=7112015232412886857), OSError(113, "Connect call failed (\'192.168.1.44\', 56329)"))', None) 2022-06-17 18:23:03 WARNING (MainThread) [async_upnp_client.profiles.profile] Failed (re-)subscribing to: uuid:56a74093-e41c-6e20-911b-9b36bc7ce94e, reason: UpnpConnectionError('ClientConnectorError(ConnectionKey(host=\'192.168.1.44\', port=56329, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=7112015232412886857), OSError(113, "Connect call failed (\'192.168.1.44\', 56329)"))', None) 2022-06-17 18:23:06 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10 2022-06-17 18:23:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.chalis_gaming_ams_renderer is taking over 10 seconds 2022-06-17 18:31:02 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 18:31:02 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 19:44:48 ERROR (MainThread) [homeassistant.components.wled] Received frame with non-zero reserved bits 2022-06-17 20:00:45 WARNING (MainThread) [alexapy.helpers] alexaapi.get_bluetooth((<alexapy.alexalogin.AlexaLogin object at 0x7f300b1cc370>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments: ('Expecting value: line 1 column 1 (char 0)',) 2022-06-17 20:00:45 WARNING (MainThread) [alexapy.helpers] alexaapi.get_devices((<alexapy.alexalogin.AlexaLogin object at 0x7f300b1cc370>,), {}): An error occured accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Login error detected; not contacting API',) 2022-06-17 20:00:46 WARNING (MainThread) [alexapy.helpers] alexaapi.get_dnd_state((<alexapy.alexalogin.AlexaLogin object at 0x7f300b1cc370>,), {}): An error occured accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Login error detected; not contacting API',) 2022-06-17 20:00:46 WARNING (MainThread) [alexapy.helpers] alexaapi.get_device_preferences((<alexapy.alexalogin.AlexaLogin object at 0x7f300b1cc370>,), {}): An error occured accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Login error detected; not contacting API',) 2022-06-17 22:25:19 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2022-06-17 22:25:19 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2022-06-17 22:25:42 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 22:25:42 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 22:30:01 WARNING (MainThread) [alexapy.alexalogin] Error creating TOTP; ** likely invalid 2022-06-17 22:30:38 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 22:30:38 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 22:38:33 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: d81f8590092749b5b5fc3389e178d55f 2022-06-17 22:38:50 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: 2e9e64f48c5742998cb33e4031070de0 2022-06-17 22:38:51 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: 6a42590351c84d288403fd46f95d2d00 2022-06-17 23:06:38 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 23:06:38 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-17 23:07:34 ERROR (Thread-1135) [pychromecast.socket_client] [SHIELD(192.168.1.217):8009] Failed to connect to service ServiceInfo(type='mdns', data='SHIELD-Android-TV-372be28c8aafb92abc6fe4e3b09192b4._googlecast._tcp.local.'), retrying in 5.0s 2022-06-17 23:24:51 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace-all/0:0:0 Uncaught 2022-06-17 23:24:51 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace-all/0:0:0 Uncaught 2022-06-18 00:05:32 WARNING (MainThread) [async_upnp_client.profiles.profile] Failed (re-)subscribing to: uuid:13de9065-6765-3717-8a68-baa084624bd3, reason: UpnpConnectionError('ClientConnectorError(ConnectionKey(host=\'192.168.1.44\', port=63155, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=7112015232412886857), OSError(113, "Connect call failed (\'192.168.1.44\', 63155)"))', None) 2022-06-18 00:05:41 WARNING (MainThread) [async_upnp_client.profiles.profile] Failed (re-)subscribing to: uuid:01f82685-0603-669b-89a6-8452e2759901, reason: UpnpConnectionError('ClientConnectorError(ConnectionKey(host=\'192.168.1.44\', port=63155, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=7112015232412886857), OSError(113, "Connect call failed (\'192.168.1.44\', 63155)"))', None) 2022-06-18 00:05:50 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10 2022-06-18 00:05:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.chalis_gaming_ams_renderer is taking over 10 seconds 2022-06-18 01:35:46 ERROR (MainThread) [frontend.js.latest.202206010] https://192.168.1.4:8123/tablett-batroom/musik:0:0 Uncaught 2022-06-18 01:35:46 ERROR (MainThread) [frontend.js.latest.202206010] https://192.168.1.4:8123/tablett-batroom/musik:0:0 Uncaught 2022-06-18 01:41:04 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-18 01:41:04 ERROR (MainThread) [frontend.js.latest.202206010] https://seiken.duckdns.org:8123/lovelace/hemma:0:0 Uncaught 2022-06-18 01:42:21 WARNING (Thread-1135) [pychromecast.socket_client] [SHIELD(192.168.1.217):8009] Heartbeat timeout, resetting connection 2022-06-18 01:42:51 ERROR (Thread-1135) [pychromecast.socket_client] [SHIELD(192.168.1.217):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.1.217', 8009)), retrying in 5.0s 2022-06-18 03:11:25 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Xiaomi Vacuum cleaner data 2022-06-18 11:46:22 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for media_player.spotify_familjen_karlquist 2022-06-18 12:07:43 ERROR (SyncWorker_18) [homeassistant.components.life360.device_tracker] get_circles: CommError: HTTPSConnectionPool(host='api.life360.com', port=443): Max retries exceeded with url: /v3/circles.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3008849b50>: Failed to establish a new connection: [Errno -3] Try again')) 2022-06-18 12:07:57 ERROR (SyncWorker_21) [homeassistant.components.life360.device_tracker] Suppressing further errors until OK: get_circles: CommError: HTTPSConnectionPool(host='api.life360.com', port=443): Max retries exceeded with url: /v3/circles.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3004e3db50>: Failed to establish a new connection: [Errno -3] Try again')) 2022-06-18 12:08:21 WARNING (MainThread) [volvooncall.volvooncall] Failure when communcating with the server: Cannot connect to host vocapi.wirelesscar.net:443 ssl:default [Try again] 2022-06-18 12:08:21 WARNING (MainThread) [volvooncall.volvooncall] Could not query server: Cannot connect to host vocapi.wirelesscar.net:443 ssl:default [Try again] 2022-06-18 12:08:21 WARNING (MainThread) [homeassistant.components.volvooncall] Could not query server 2022-06-18 12:08:21 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for media_player.spotify_familjen_karlquist 2022-06-18 12:08:28 ERROR (SyncWorker_1) [homeassistant.components.life360.device_tracker] get_circles: OK again 2022-06-18 13:42:27 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Xiaomi Vacuum cleaner data 2022-06-18 17:18:37 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:18:37 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:18:37 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:18:37 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:18:38 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: 2da947df9fa6403483c600eee062f9a8 2022-06-18 17:18:46 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:18:46 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:18:46 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:18:46 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:18:46 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: a000f495316e45f88f3462f2a1e8f6fa 2022-06-18 17:18:46 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: 2da947df9fa6403483c600eee062f9a8 2022-06-18 17:19:04 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:04 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:04 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:04 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:04 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: d4a30afcc8434a78b66a904ed52241a5 2022-06-18 17:19:05 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:05 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:05 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:05 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:06 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: d4a30afcc8434a78b66a904ed52241a5 2022-06-18 17:19:13 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:13 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:13 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:13 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:13 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: d4a30afcc8434a78b66a904ed52241a5 2022-06-18 17:19:38 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:38 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:38 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:38 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:39 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:39 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:39 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:39 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:19:39 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: 285e3fd33e9b4d82873e6990ff03a9b9 2022-06-18 17:21:58 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:21:58 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:21:58 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:21:58 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:21:59 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:21:59 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:21:59 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:21:59 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 167, in serve_queue_stream await queue_stream.subscribe(client_id, resp.write) File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 317, in subscribe assert not self.done.is_set(), "Stream task is already finished" AssertionError: Stream task is already finished 2022-06-18 17:21:59 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: 5b66ccccb37d4e82ab5c4fc7e95ab3b0 2022-06-18 17:21:59 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: c6dec7fdb7114d6d8f69ac6e5c2022f1 2022-06-18 17:22:00 WARNING (MainThread) [music_assistant.stream] Got stream request for unknown id: 11eecf35c56e409fb6f7821342ee5035

erkr commented 2 years ago

Hi This can be the result of configuration flow issues we had during beta testing. Not sure if these players where created by earlier versions. Only If so (I ran into that myself earlier):

Note: this only applies if you where running these beta versions

chali272 commented 2 years ago

Hi This can be the result of configuration flow issues we had during beta testing. Not sure if these players where created by earlier versions. Only If so (I ran into that myself earlier):

  • Deinstall MA
  • clean up all orphan devices and entities you can find that where owned by music assistant. That can easily be done via settings->devices
  • return the install of the latest MA

Note: this only applies if you where running these beta versions

hi, i have got this "ghost devices" from the start, if i remove and clean up music assistant i still get them when i reinstall. my best guess is that it have to do with heos/denon speakers and that they have multiple services/ways to stream to them. it seams that every speaker gives 3 devices one named as model like 150, and 2 named as common name.

erkr commented 2 years ago

Thanks clarifying, i have seen other issues with these devices.

It would be great if you can add some entity state info examples for Marcel to look into: In the HA dev tools you can lookup the full entity content (state and attributes) It could help to have the settings for all instances of just one of the devices that spawns multiple instances. So, one of the source ones, and all of the spawned multiple mass versions And which of the mass version instances is working.

The issue itself seems clear to me now, thanks

chali272 commented 2 years ago

absolutely, will do this tonight

Den lör 18 juni 2022 kl 18:25 skrev Eric @.***>:

Thanks clarifying, i have seen other issues with these devices.

It would be great if you can add some entity state info examples for Marcel to look into: In the HA dev tools you can lookup the full entity content (state and attributes) It would help to have the settings for al instance of just one of the devices that spawns multiple instances. So, one of the source ones, and all of the multiple mass versions And which of the mass version is working.

— Reply to this email directly, view it on GitHub https://github.com/music-assistant/hass-music-assistant/issues/426#issuecomment-1159506092, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVLKQ453IM57E7F7TJJLPDVPXZ65ANCNFSM5ZE5HWNQ . You are receiving this because you authored the thread.Message ID: @.***>

marcelveldt commented 2 years ago

Please try not to put complete logs in a message, it is very hard to read. Instead attach the logfile as file.

chali272 commented 2 years ago

ok will try to do this with logs, i will not be able to do this tonight, its way to messy in my states to do this fast, i will have to remove al speakers, and then only ad one to give you the info.

Den lör 18 juni 2022 kl 20:35 skrev Marcel van der Veldt < @.***>:

Please try not to put complete logs in a message, it is very hard to read. Instead attach the logfile as file.

— Reply to this email directly, view it on GitHub https://github.com/music-assistant/hass-music-assistant/issues/426#issuecomment-1159534017, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVLKQYW24EFSVEKO7XNBWDVPYJIHANCNFSM5ZE5HWNQ . You are receiving this because you authored the thread.Message ID: @.***>

marcelveldt commented 2 years ago

I see this error right in the middle of the above large pile of text:

2022-06-17 17:46:40 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported

So it is literally telling that only the first instance is supported for the given media player. So strictly taken this is not an issue with Music Assistant:

Anyways there is nothing I can fix about it, sorry.