home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.88k stars 30.95k forks source link

DLNA-DMR Fails to Connect #126275

Open bcayton opened 2 months ago

bcayton commented 2 months ago

The problem

I was working on a new automation tonight to pop up my security camera video stream on my living room Samsung TV when a camera detects motion. In doing my beta testing, DLNA would not send the video stream to my living room Samsung TV. I even tried just a basic audio file, however that failed as well. When I check the logs, I see the following error:

Logger: homeassistant.components.dlna_dmr

Source: components/dlna_dmr/media_player.py:85

integration: DLNA Digital Media Renderer (documentation, issues)

First occurred: 7:03:33 PM (47 occurrences)

Last logged: 7:36:35 PM

Error during call async_play_media: UpnpActionResponseError(‘Error during async_call(), action: SetAVTransportURI, status: 500, upnp error: 716 (Resource not found)’)

Error during call async_media_play: UpnpActionResponseError(‘Error during async_call(), action: Play, status: 500, upnp error: 701 (Transition not available)’)

Google says other people have ran into this issue as well, however I haven’t found anything that even hints at a solution as to how to solve or troubleshoot the above.

Help!

What version of Home Assistant Core has the issue?

2024.9.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

DLNA Digital Media Renderer

Link to integration documentation on our website

https://www.home-assistant.io/integrations/dlna_dmr/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.dlna_dmr

Source: components/dlna_dmr/media_player.py:85

integration: DLNA Digital Media Renderer (documentation, issues)

First occurred: 7:03:33 PM (47 occurrences)

Last logged: 7:36:35 PM

Error during call async_play_media: UpnpActionResponseError(‘Error during async_call(), action: SetAVTransportURI, status: 500, upnp error: 716 (Resource not found)’)

Error during call async_media_play: UpnpActionResponseError(‘Error during async_call(), action: Play, status: 500, upnp error: 701 (Transition not available)’

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @chishm, mind taking a look at this issue as it has been labeled with an integration (dlna_dmr) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `dlna_dmr` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign dlna_dmr` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


dlna_dmr documentation dlna_dmr source (message by IssueLinks)

abdkanash commented 1 month ago

I have the same issue , Any solutions?

mgiamberardino commented 1 month ago

There were a couple of fixes in the async_upnp_client Python library 2 or 3 weeks ago but still not been released and no update on this integration dependency yet.

https://github.com/StevenLooman/async_upnp_client/commits/development/

h-tro commented 3 weeks ago

Core: 2024.10.4

I have the same problem to play audio files (mp3) with my "Block CR-10".

Logger: homeassistant.components.dlna_dmr Quelle: components/dlna_dmr/media_player.py:85 Integration: DLNA Digital Media Renderer (Dokumentation, Probleme) Erstmals aufgetreten: 25. Oktober 2024 um 23:50:41 (14 Vorkommnisse) Zuletzt protokolliert: 10:22:12

Error during call async_play_media: UpnpActionResponseError('Error during async_call(), action: SetAVTransportURI, status: 500, upnp error: 716 (Resource not found)') Error during call async_media_play: UpnpActionResponseError('Error during async_call(), action: Play, status: 500, upnp error: 705 (Transport is locked)')

It works well with Windows Media Player.

maciek188 commented 3 weeks ago

Logger: homeassistant.components.dlna_dmr Source: components/dlna_dmr/media_player.py:85 integration: DLNA Digital Media Renderer (documentation, issues) First occurred: 15:11:24 (2 occurrences) Last logged: 15:16:13

Error during call async_play_media: UpnpActionResponseError('Error during async_call(), action: SetAVTransportURI, status: 500, upnp error: 716 (Resource not found)')

h-tro commented 2 weeks ago

Core 2024.11.0 -> new upnp-client 0.41.0 Always the same problem to play audio files (mp3) with my "Block CR-10".

Logger: homeassistant.components.dlna_dmr Quelle: components/dlna_dmr/media_player.py:85 Integration: DLNA Digital Media Renderer (Dokumentation, Probleme) Erstmals aufgetreten: 6. November 2024 um 21:55:00 (4 Vorkommnisse) Zuletzt protokolliert: 09:38:08

Error during call async_play_media: UpnpActionResponseError('Error during async_call(), action: SetAVTransportURI, status: 500, upnp error: 716 (Resource not found)')

Windows media player sends mp3 streams to my renderer "Block CR-10".