Hello, any chance I could get a pointer on what i am doing wrong?
Installation was ok i think, and I am trying to play to a dlna_dmr media_player, a Samsung soundbar.
Sadly I am getting a “resource not found” error:
Logger: homeassistant.core
Source: components/dlna_dmr/media_player.py:324
First occurred: 11:36:11 PM (1 occurrences)
Last logged: 11:36:11 PM
Error executing service: <ServiceCall media_player.play_media (c:d8f04ad245a2c7734bbab8f0b5d2df69): entity_id=['media_player.av_samsung_soundbar_n950'], extra=metadata=metadataType=3, title=Blame It on Me, artist=George Ezra, images=[{'url': 'https://lh3.googleusercontent.com/63vYRlqZbgobhbBuCUwqOFzzWa91Ko_gF6r_812rJCk2bJHaV5RMAarkX9dqz3-ClsFB1IOJTtZFdB0=w120-h120-l90-rj'}], media_type=music, media_id=https://r2---sn-gqn-vu2e7.googlevideo.com/videoplayback?expire=1631******************==>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1508, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1527, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 843, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/dlna_dmr/media_player.py", line 77, in wrapper
return await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/dlna_dmr/media_player.py", line 324, in async_play_media
await self._device.async_set_transport_uri(media_id, title)
File "/usr/local/lib/python3.9/site-packages/async_upnp_client/profiles/dlna.py", line 673, in async_set_transport_uri
await action.async_call(
File "/usr/local/lib/python3.9/site-packages/async_upnp_client/client.py", line 541, in async_call
raise UpnpError(
async_upnp_client.exceptions.UpnpError: Error during async_call(), status: 500, body: <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>716</errorCode><errorDescription>Resource not found</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
The media_player seems to be propretly integrated, i am able to outpt url media to it with play_media.
The media browser loads my playlist and seems to get pointed to the right song also.