Jellyfin Forum
DLNA devices no longer visible to Jellyfin - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: DLNA devices no longer visible to Jellyfin (/t-dlna-devices-no-longer-visible-to-jellyfin)



DLNA devices no longer visible to Jellyfin - Strobe2000 - 2025-02-20

Hi,

New to Jellyfin and really enjoying the features so far.  One issue that I am having a hard time figuring out is why DLNA services are no longer working.  I can no longer access the DLNA Jellyfin content and Jellyfin no longer is able to see DLNA devices.

I was connected to my receiver and played some flac/mp3 files to it, then I was trying to access some other files on the app and the music stopped.  I could no longer access the Jellyfin files and Jellyfin no longer sees any DLNA devices.  I had a Blu Ray player that could also access Jellyfin files and that no longer works as well.

Here is the before logs when it was working.
https://pastebin.com/h0ShzFNQ

Here is the after where it is not working.
https://pastebin.com/uBLRj3va

Running inside portainer docker in Ubuntu.

Server version: 10.10.6
Port configuration
0.0.0.0:1900 -> 1900/udp
:::1900  -> 1900/udp
0.0.0.0:7359 -> 7359/udp
:::7359 -> 7359/udp
0.0.0.0:8096 -> 8096/tcp
:::8096 -> 8096/tcp

Thanks for any help or insights.


RE: DLNA devices no longer visible to Jellyfin - TheDreadPirate - 2025-02-20

Did you change network modes? For the log that was "working" I see this.

Code:
Filtered interface addresses: ["127.0.0.1", "192.168.1.151", "172.17.0.1"]

For the log that was not working I see this.

Code:
Filtered interface addresses: ["127.0.0.1", "172.17.0.3"]

I interpret this as going from host networking to bridge networking+port publishing.


RE: DLNA devices no longer visible to Jellyfin - Strobe2000 - 2025-02-20

(2025-02-20, 03:44 PM)TheDreadPirate Wrote: Did you change network modes?  For the log that was "working" I see this.

Code:
Filtered interface addresses: ["127.0.0.1", "192.168.1.151", "172.17.0.1"]

For the log that was not working I see this.

Code:
Filtered interface addresses: ["127.0.0.1", "172.17.0.3"]

I interpret this as going from host networking to bridge networking+port publishing.

Yes you are absolutely on point.  You are good!  I have tried several changes to the networking to see if it would change anything before posting.

Did some digging and I was able to find the exact point where I queued up a FLAC file, played several other files to test then I couldn't play or find the device anymore.  This log should show the original network settings.  Sorry probably should have shared this log first.

https://pastebin.com/F7cHWR0s


RE: DLNA devices no longer visible to Jellyfin - TheDreadPirate - 2025-02-20

In this log it looks like the container just can't find or utilize any network interface.

Code:
Filtered interface addresses: []

And it looks like this changed while Jellyfin was already running.

Regardless, what I'm reading says that you need to use host networking. DLNA broadcasts only work on the same subnet as the DLNA server.


RE: DLNA devices no longer visible to Jellyfin - Strobe2000 - 2025-02-21

(2025-02-20, 09:13 PM)TheDreadPirate Wrote: Regardless, what I'm reading says that you need to use host networking.  DLNA broadcasts only work on the same subnet as the DLNA server.

Thank you Dread this got the device back online after recreating the container!

I was able to reproduce the issue that I saw before.  Below are the exact steps.

- Use Jellyfin Mobile (iOS) 1.5.0 app or web browser to select DLNA receiver
- Play 1st audio FLAC file, it plays fine
- Select 2nd audio FLAC, plays for 3 seconds then no audio
- DLNA devices and DLNA server no longer running on the network
- Stop container and shows exit code 137 in portainer
- Redeploy container and DLNA devices are back.

Notes:
I tried switching multiple MP3 files and didn't have any issues
If I try to access multiple FLAC files directly on the DLNA server they play fine (Using Yamaha mobile app)

Logs after redeploying container and initiating DLNA failure.
https://pastebin.com/S4Sw5Pc3

If I am playing through Jellyfin, is Jellyfin doing the decoding vs if I play directly from the server my receiver is doing the decoding?


RE: DLNA devices no longer visible to Jellyfin - TheDreadPirate - 2025-02-21

The client will always decode regardless of what the server does. The server will decode only when it is transcoding, but only because decoding is necessary to then re-encode.

My guess is that the default profile isn't not sending a compatible stream to your receiver. It looks like it is just sending a straight up .flac stream to the receiver.

If you had a custom profile before, you will need to place it in /config/data/plugins/configurations/dlna/user. If you don't have a custom profile already, there are templates in /config/data/plugins/DLNA_6.0.0.0/profiles. "Denon AVR" is probably a good starting point.