Jellyfin UPNP/DLNA with Docker Container

  • Edit: its on a fresh installed OMV 7


    Tried to get Jellyfin with upnp working, without success:


    With the standard setting it was expected not to work, because it needs Multicast UDP:


    ports:

    - 8096:8096

    - 8920:8920 #optional

    - 7359:7359/udp #optional

    - 1900:1900/udp #optional---



    But with host mode it still does not work:


    network_mode: host

    # ports:

    # - 8096:8096

    # - 8920:8920 #optional

    # - 7359:7359/udp #optional

    # - 1900:1900/udp #optional


    % sudo nmap -sU -p 7359,1900 192.168.X.X (on another machine)

    PORT STATE SERVICE

    1900/udp closed upnp

    7359/udp open|filtered swx


    ---


    With ipvlan L2 it is even more strange. Sometimes the 1900 port shows up, most of the times it doesnt (via nmap). Jellyfin client on iOS doesnt find the server via autodiscovery



    What do i miss?

    Tom


    ----


    HP N54L, 6GB, 4disc ZFS pool, SSD Boot with OMV 7
    HP N54L, 16GB, 4disc ZFS pool, SSD Boot with other NAS system

    Edited once, last by tom_tav ().

  • tom_tav

    Changed the title of the thread from “Jellyfin UPNP with Docker Container” to “Jellyfin UPNP/DLNA with Docker Container”.
  • Is Jellyfin coming up?

    What does the Jellyfin log say?


    If you have issues binding to a specific port only sometimes, it might be a race condition with anohter service trying to get access to that specific port.


    Btw, Jellyfin DLNA implementation isn't really great, lots of features are missing. It's very very very basic.

  • Jellyfin is running fine. I guess its a docker host/container problem with the UDP multicast port for upnp. Apple TV can discover the Jellyfin server, the iOS App cant. And like written, the 1900 port is not open from the network side...


    I did put the jellyfin DLNA loglevel on debug already but didnt see anything, need to dive in further


    "Serilog": {

    "MinimumLevel": {

    "Default": "Warning",

    "Override": {

    "Microsoft": "Warning",

    "System": "Warning",

    "Jellyfin.Plugin.Dlna": "Debug"

    }

    },

    Tom


    ----


    HP N54L, 6GB, 4disc ZFS pool, SSD Boot with OMV 7
    HP N54L, 16GB, 4disc ZFS pool, SSD Boot with other NAS system

    Edited once, last by tom_tav ().


  • 1900 might be in use by the host system, which is, why the guest system in a container might not bind to that port.

    But it's hard to say not knowing your setup.

  • Thats why i ask here if something is blocking on a vanilla fresh installed OMV 7....

    P.S. if you read my first post it is even strange on ipvlan L2 ... there the host should be not interfering

    Tom


    ----


    HP N54L, 6GB, 4disc ZFS pool, SSD Boot with OMV 7
    HP N54L, 16GB, 4disc ZFS pool, SSD Boot with other NAS system

  • tom_tav

    Added the Label OMV 7.x
  • It's working fine here.


    You have to set your IP address in the jellyfin dashboard in the network menu and then restart the container.


    What's the output of

    ss -tulen | grep 1900

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!