Open csimonosian opened 2 hours 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!
(message by CodeOwnersMention)
dlna_dmr documentation dlna_dmr source (message by IssueLinks)
The problem
I want to send an image to a DLNA Renderer. It works...the first time. Then the second time, whatever software/device is the renderer and is receiving the image, goes either to a blank screen or to its home page. The third time, it works. This is a predictable pattern. Every alternate image that is sent fails. In fact, it's not even different images that are sent. It can be the same image, but every alternate time it's sent, it fails.
I've tried it with the following DLNA renderers:
WDTV Live SMP streaming box JRiver Media Center running on an x86 Linux PC OpenPHT running as the native OS on two different x86 PCs BubbleUPnP running on an Android tablet
Whatever renderer is used, the symptom is the same.
I've tried sending images to these renderers with another DLNA control point (JRiver) and that works correctly.
An example action in an automation I'm using to send a file to a renderer is as follows, which is the simple result of selecting a Media Player-Play Media action then selecting the image file from my Media folder:
I can do the same thing from the Developer Tools Actions facility, which results in YAML like this:
Regardless of whether this is done via an automation or Devloper Tools, the failure every second attempt occurs.
Another way of sending an image is calling the JRiver API to return cover art of its currently playing track (which I identify via a sensor):
The API call returns a valid image which, again, only works on every second attempt.
What version of Home Assistant Core has the issue?
core-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
Anything in the logs that might be useful for us?
Additional information
For this test, I sent an image twice to the renderer via the Developer Tools Actions screen, at around 22:33. The first one displayed the image correctly on the renderer, the second one caused the renderer to go back to its home screen.
There were no new entries in the general Core log, however I turned on the integration debug logging for this test and what I've pasted in the logs box here is the result of that.