core icon indicating copy to clipboard operation
core copied to clipboard

DLNA-DMR Fails to Connect

Open bcayton opened this issue 1 year ago • 1 comments

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

bcayton avatar Sep 19 '24 17:09 bcayton

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)

home-assistant[bot] avatar Sep 19 '24 17:09 home-assistant[bot]

I have the same issue , Any solutions?

abdkanash avatar Sep 25 '24 14:09 abdkanash

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/

mgiamberardino avatar Sep 25 '24 14:09 mgiamberardino

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.

h-tro avatar Oct 27 '24 10:10 h-tro

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)')

maciek188 avatar Oct 29 '24 14:10 maciek188

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".

h-tro avatar Nov 08 '24 12:11 h-tro

Core 2024.11.3

Logger: homeassistant.components.dlna_dmr Source: components/dlna_dmr/media_player.py:85 integration: DLNA Digital Media Renderer (documentation, issues) First occurred: 14:18:31 (2 occurrences) Last logged: 19:28:06

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

maciek188 avatar Nov 27 '24 18:11 maciek188

2024-11-27 19:28:02.664 DEBUG (MainThread) [homeassistant.components.dlna_dmr] async_browse_media(app, media-source://tts) 2024-11-27 19:28:04.935 DEBUG (MainThread) [homeassistant.components.dlna_dmr] async_browse_media(provider, media-source://tts/google_translate) 2024-11-27 19:28:06.019 DEBUG (MainThread) [homeassistant.components.dlna_dmr] Playing media: provider, media-source://tts/google_translate?message=Hello+&language=en, {'announce': True, 'extra': {}} 2024-11-27 19:28:06.072 DEBUG (MainThread) [homeassistant.components.dlna_dmr] sourced_media is PlayMedia(url='/api/tts_proxy/9646ba13a4e8eabeca4f5259bfd7da41d368a1a6_en_-_google_translate.mp3', mime_type='audio/mpeg') 2024-11-27 19:28:06.358 ERROR (MainThread) [homeassistant.components.dlna_dmr] Error during call async_play_media: UpnpActionResponseError('Error during async_call(), action: SetAVTransportURI, status: 500, upnp error: 716 (Resource not found)')

maciek188 avatar Nov 27 '24 22:11 maciek188

I have the same problem using Rygel renderer. In the same time I saw such messages Webhook xxxxxxxxx only supports POST,PUT methods but GET was received from cloud Is there a relationship with https://github.com/home-assistant/core/pull/66494 ?

Typhus14 avatar Jan 08 '25 05:01 Typhus14

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.