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.91k stars 30.98k forks source link

Unable to play any media on DLNA media renderer #81162

Closed FuligJimmy closed 1 year ago

FuligJimmy commented 2 years ago

The problem

Cannot play a mp3 over a dlna capable radio auna KR-200 using lovelace. This function of the radio is working, if I use e.g. Bubble player.

The HA has discovered the radio correctly. I compared the radio configuration xml with the core.config_entries.

If I try TTS or browse/upload a media file and try to play it, It does not start, but there is an error in the log: [homeassistant.components.dlna_dmr] Error during call async_play_media: UpnpActionResponseError('Error during async_call(), status: 500, upnp error: 716 (Resource not found)')

If I start a playback from bubble player the pause button as well as the played file name appears, if I click on the pause it will be paused but the button disappears from the lovelace control w/o error on the log (dlna_dms: debug is on). But after try to browse and playback from lovelace the play button appears on the card with the titel from Bubble player loaded song, and it can be started - paused - pause button wanishing.... I tried it as well, if I disconnect bubble player from the radio

I can see the resubscribing messages on the screen. They are working w/o error

What version of Home Assistant Core has the issue?

2022.10.5

What was the last working version of Home Assistant Core?

-

What type of installation are you running?

Home Assistant Core

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

loading dmr no problem: 2022-10-28 22:04:06.414 INFO (MainThread) [homeassistant.setup] Setting up dlna_dmr 2022-10-28 22:04:06.414 INFO (MainThread) [homeassistant.setup] Setup of domain dlna_dmr took 0.0 seconds

after startup 022-10-28 22:04:07.990 INFO (SyncWorker_1) [homeassistant.loader] Loaded stream from homeassistant.components.stream 2022-10-28 22:04:07.994 DEBUG (MainThread) [async_upnp_client.profiles.profile] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:xxx)> 2022-10-28 22:04:08.009 INFO (MainThread) [homeassistant.setup] Setting up switch 2022-10-28 22:04:08.014 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds 2022-10-28 22:04:08.308 INFO (MainThread) [homeassistant.setup] Setting up cast 2022-10-28 22:04:08.308 INFO (MainThread) [homeassistant.setup] Setup of domain cast took 0.0 seconds 2022-10-28 22:04:08.310 DEBUG (MainThread) [async_upnp_client.profiles.profile] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:ConnectionManager, uuid:xxx)> 2022-10-28 22:04:08.323 INFO (MainThread) [homeassistant.components.switch] Setting up switch.modbus 2022-10-28 22:04:08.337 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.cast 2022-10-28 22:04:08.356 INFO (MainThread) [homeassistant.setup] Setting up stream 2022-10-28 22:04:08.366 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.0 seconds 2022-10-28 22:04:08.448 DEBUG (MainThread) [async_upnp_client.profiles.profile] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:3DCC7100-F76C-11DD-87AF-0022615FB2A8)> 2022-10-28 22:04:08.464 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for PresetNameList 2022-10-28 22:04:08.465 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume 2022-10-28 22:04:08.465 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume_mute 2022-10-28 22:04:08.479 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.6 seconds 2022-10-28 22:04:08.485 DEBUG (MainThread) [async_upnp_client.profiles.profile] Creating resubscribe_task 2022-10-28 22:04:08.488 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for PresetNameList 2022-10-28 22:04:08.488 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume 2022-10-28 22:04:08.488 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume_mute 2022-10-28 22:04:08.500 DEBUG (MainThread) [async_upnp_client.profiles.profile] _resubscribe_loop started 2022-10-28 22:04:08.500 DEBUG (MainThread) [async_upnp_client.profiles.profile] Resubscribing in 239.493737 seconds 2022-10-28 22:04:08.509 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for PresetNameList 2022-10-28 22:04:08.510 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume 2022-10-28 22:04:08.510 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume_mute 2022-10-28 22:04:08.514 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for PresetNameList 2022-10-28 22:04:08.515 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume 2022-10-28 22:04:08.515 DEBUG (MainThread) [async_upnp_client.profiles.dlna] Got no value for Volume_mute

...

2022-10-28 22:08:07.996 DEBUG (MainThread) [async_upnp_client.profiles.profile] Resubscribing to services with threshold 533809.635516 2022-10-28 22:08:07.999 DEBUG (MainThread) [async_upnp_client.profiles.profile] Resubscribing to uuid:b1007ef1-8066-4769-c0b2-3064aebf9787 with renewal_time 533929.633133 2022-10-28 22:08:08.020 DEBUG (MainThread) [async_upnp_client.profiles.profile] Resubscribing to uuid:a3a1efa4-0192-807a-57cb-ec58fa8f4f35 with renewal_time 533929.633133 2022-10-28 22:08:08.028 DEBUG (MainThread) [async_upnp_client.profiles.profile] Resubscribing to uuid:cef229b4-1249-18eb-75f0-82b41d6dba1e with renewal_time 533929.633133 2022-10-28 22:08:08.035 DEBUG (MainThread) [async_upnp_client.profiles.profile] Resubscribing in 239.961916 seconds

Example YAML snippet

-

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 years ago

Hey there @stevenlooman, @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` Change the title of the issue. - `@home-assistant unassign dlna_dmr` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


dlna_dmr documentation dlna_dmr source (message by IssueLinks)