From 33482b68eff48dcde7696fe4ae00caae5bf6f381 Mon Sep 17 00:00:00 2001 From: IronicBadger Date: Thu, 17 Sep 2020 21:24:09 -0400 Subject: [PATCH 1/2] proposed changes for extra optional ports as per #60 --- readme-vars.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/readme-vars.yml b/readme-vars.yml index 1a22461..11c2c44 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -51,7 +51,8 @@ opt_param_devices: opt_param_usage_include_ports: true opt_param_ports: - { external_port: "8920", internal_port: "8920", port_desc: "Https webUI (you need to set up your own certificate)." } - + - { external_port: "1900/udp", internal_port: "1900/udp", port_desc: "#optional - Service discovery and DNLA." } + - { external_port: "7539/udp", internal_port: "7539/udp", port_desc: "#optional - Client discovery - Allows clients to discover Jellyfin on the local network." } # application setup block app_setup_block_enabled: true @@ -98,6 +99,10 @@ app_setup_block: | --device=/dev/video12:/dev/video12 ``` + ## Optional extra ports + + The [official documentation for ports](https://jellyfin.org/docs/general/networking/index.html) has several additional ports that can provide auto discovery. + # changelog changelogs: From 8614537e31896967f483b54bd429ec48e0732174 Mon Sep 17 00:00:00 2001 From: alexktz Date: Sun, 20 Sep 2020 15:48:53 -0400 Subject: [PATCH 2/2] incorporates changes from PR60 discussed with original author --- readme-vars.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/readme-vars.yml b/readme-vars.yml index 11c2c44..b41e6c6 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -50,9 +50,20 @@ opt_param_devices: - { device_path: "/dev/video12", device_host_path: "/dev/video12", desc: "Only needed if you want to use your Raspberry Pi V4L2 video encoding." } opt_param_usage_include_ports: true opt_param_ports: - - { external_port: "8920", internal_port: "8920", port_desc: "Https webUI (you need to set up your own certificate)." } - - { external_port: "1900/udp", internal_port: "1900/udp", port_desc: "#optional - Service discovery and DNLA." } - - { external_port: "7539/udp", internal_port: "7539/udp", port_desc: "#optional - Client discovery - Allows clients to discover Jellyfin on the local network." } + - { external_port: "8920", internal_port: "8920", port_desc: "Optional - Https webUI (you need to set up your own certificate)." } + - { external_port: "7359/udp", internal_port: "7359/udp", port_desc: "Optional - Allows clients to discover Jellyfin on the local network." } + - { external_port: "1900/udp", internal_port: "1900/udp", port_desc: "Optional - Service discovery used by DNLA and clients." } +optional_parameters: | + The [official documentation for ports](https://jellyfin.org/docs/general/networking/index.html) has additional ports that can provide auto discovery. + + Service Discovery (`1900/udp`) - Since client auto-discover would break if this option were configurable, you cannot change this in the settings at this time. DLNA also uses this port and is required to be in the local subnet. + + Client Discovery (`7359/udp`) - Allows clients to discover Jellyfin on the local network. A broadcast message to this port with "Who is Jellyfin Server?" will get a JSON response that includes the server address, ID, and name. + + ``` + -p 7359:7359/udp \ + -p 1900:1900/udp \ + ``` # application setup block app_setup_block_enabled: true @@ -99,10 +110,6 @@ app_setup_block: | --device=/dev/video12:/dev/video12 ``` - ## Optional extra ports - - The [official documentation for ports](https://jellyfin.org/docs/general/networking/index.html) has several additional ports that can provide auto discovery. - # changelog changelogs: