mirror of
				https://github.com/linuxserver/docker-jellyfin.git
				synced 2025-11-01 05:27:38 +09:00 
			
		
		
		
	Merge pull request #117 from linuxserver/master-deps
pin dep versions, log message about device perms
This commit is contained in:
		| @@ -24,7 +24,7 @@ RUN \ | |||||||
|   if [ -z ${JELLYFIN_RELEASE+x} ]; then \ |   if [ -z ${JELLYFIN_RELEASE+x} ]; then \ | ||||||
|     JELLYFIN="jellyfin"; \ |     JELLYFIN="jellyfin"; \ | ||||||
|   else \ |   else \ | ||||||
|         JELLYFIN="jellyfin=${JELLYFIN_RELEASE}"; \ |     JELLYFIN="jellyfin=${JELLYFIN_RELEASE} jellyfin-server=${JELLYFIN_RELEASE} jellyfin-web=${JELLYFIN_RELEASE}"; \ | ||||||
|   fi && \ |   fi && \ | ||||||
|   apt-get update && \ |   apt-get update && \ | ||||||
|   apt-get install -y --no-install-recommends \ |   apt-get install -y --no-install-recommends \ | ||||||
|   | |||||||
| @@ -24,7 +24,7 @@ RUN \ | |||||||
|   if [ -z ${JELLYFIN_RELEASE+x} ]; then \ |   if [ -z ${JELLYFIN_RELEASE+x} ]; then \ | ||||||
|     JELLYFIN="jellyfin"; \ |     JELLYFIN="jellyfin"; \ | ||||||
|   else \ |   else \ | ||||||
| 	JELLYFIN="jellyfin=${JELLYFIN_RELEASE}"; \ |     JELLYFIN="jellyfin=${JELLYFIN_RELEASE} jellyfin-server=${JELLYFIN_RELEASE} jellyfin-web=${JELLYFIN_RELEASE}"; \ | ||||||
|   fi && \ |   fi && \ | ||||||
|   apt-get update && \ |   apt-get update && \ | ||||||
|   apt-get install -y --no-install-recommends \ |   apt-get install -y --no-install-recommends \ | ||||||
|   | |||||||
| @@ -24,7 +24,7 @@ RUN \ | |||||||
|   if [ -z ${JELLYFIN_RELEASE+x} ]; then \ |   if [ -z ${JELLYFIN_RELEASE+x} ]; then \ | ||||||
|     JELLYFIN="jellyfin"; \ |     JELLYFIN="jellyfin"; \ | ||||||
|   else \ |   else \ | ||||||
| 	JELLYFIN="jellyfin=${JELLYFIN_RELEASE}"; \ |     JELLYFIN="jellyfin=${JELLYFIN_RELEASE} jellyfin-server=${JELLYFIN_RELEASE} jellyfin-web=${JELLYFIN_RELEASE}"; \ | ||||||
|   fi && \ |   fi && \ | ||||||
|   apt-get update && \ |   apt-get update && \ | ||||||
|   apt-get install -y --no-install-recommends \ |   apt-get install -y --no-install-recommends \ | ||||||
|   | |||||||
| @@ -64,7 +64,7 @@ This image provides various versions that are available via tags. `latest` tag u | |||||||
| | Tag | Description | | | Tag | Description | | ||||||
| | :----: | --- | | | :----: | --- | | ||||||
| | latest | Stable Jellyfin releases - Focal baseimage | | | latest | Stable Jellyfin releases - Focal baseimage | | ||||||
| | bionic | Stable Jellyfin releases - Bionic baseimage | | | bionic | DEPRECATED, no longer updated - Stable Jellyfin releases - Bionic baseimage | | ||||||
| | nightly | Nightly Jellyfin releases | | | nightly | Nightly Jellyfin releases | | ||||||
|  |  | ||||||
| ## Application Setup | ## Application Setup | ||||||
| @@ -327,6 +327,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 | |||||||
|  |  | ||||||
| ## Versions | ## Versions | ||||||
|  |  | ||||||
|  | * **23.06.21:** - Add log message if device permissions are incorrect. Pin jellyfin dependency versions to prevent upstream apt repo issues. Deprecate the `bionic` tag. | ||||||
| * **21.05.21:** - Add nvidia.icd file to fix missing tonemapping using Nvidia HW. | * **21.05.21:** - Add nvidia.icd file to fix missing tonemapping using Nvidia HW. | ||||||
| * **20.01.21:** - Add Jellyfin Binary Environmentals | * **20.01.21:** - Add Jellyfin Binary Environmentals | ||||||
| * **20.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information. | * **20.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information. | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ available_architectures: | |||||||
| development_versions: true | development_versions: true | ||||||
| development_versions_items: | development_versions_items: | ||||||
|   - { tag: "latest", desc: "Stable Jellyfin releases - Focal baseimage" } |   - { tag: "latest", desc: "Stable Jellyfin releases - Focal baseimage" } | ||||||
|   - { tag: "bionic", desc: "Stable Jellyfin releases - Bionic baseimage" } |   - { tag: "bionic", desc: "DEPRECATED, no longer updated - Stable Jellyfin releases - Bionic baseimage" } | ||||||
|   - { tag: "nightly", desc: "Nightly Jellyfin releases" } |   - { tag: "nightly", desc: "Nightly Jellyfin releases" } | ||||||
|  |  | ||||||
| # container parameters | # container parameters | ||||||
| @@ -115,6 +115,7 @@ app_setup_block: | | |||||||
|  |  | ||||||
| # changelog | # changelog | ||||||
| changelogs: | changelogs: | ||||||
|  |   - { date: "23.06.21:", desc: "Add log message if device permissions are incorrect. Pin jellyfin dependency versions to prevent upstream apt repo issues. Deprecate the `bionic` tag." } | ||||||
|   - { date: "21.05.21:", desc: "Add nvidia.icd file to fix missing tonemapping using Nvidia HW." } |   - { date: "21.05.21:", desc: "Add nvidia.icd file to fix missing tonemapping using Nvidia HW." } | ||||||
|   - { date: "20.01.21:", desc: "Add Jellyfin Binary Environmentals" } |   - { date: "20.01.21:", desc: "Add Jellyfin Binary Environmentals" } | ||||||
|   - { date: "20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." } |   - { date: "20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." } | ||||||
|   | |||||||
| @@ -13,6 +13,9 @@ do | |||||||
|             groupmod -g "$VIDEO_GID" "$VIDEO_NAME" |             groupmod -g "$VIDEO_GID" "$VIDEO_NAME" | ||||||
|         fi |         fi | ||||||
|         usermod -a -G "$VIDEO_NAME" abc |         usermod -a -G "$VIDEO_NAME" abc | ||||||
|  |         if [ $(stat -c '%A' "${i}" | cut -b 8,9) != "rw" ]; then | ||||||
|  |             echo -e "**** The device ${i} does not have group read/write permissions, which might prevent hardware transcode from functioning correctly. To fix it, you can run the following on your docker host: ****\nsudo chmod g+rw ${i}\n" | ||||||
|  |         fi | ||||||
|     fi |     fi | ||||||
| done | done | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| #!/usr/bin/with-contenv bash | #!/usr/bin/with-contenv bash | ||||||
|  |  | ||||||
| export JELLYFIN_DATA_DIR="/config/data" \ | export \ | ||||||
|  |     JELLYFIN_DATA_DIR="/config/data" \ | ||||||
|     JELLYFIN_CONFIG_DIR="/config" \ |     JELLYFIN_CONFIG_DIR="/config" \ | ||||||
|     JELLYFIN_LOG_DIR="/config/log" \ |     JELLYFIN_LOG_DIR="/config/log" \ | ||||||
|     JELLYFIN_CACHE_DIR="/config/cache" |     JELLYFIN_CACHE_DIR="/config/cache" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user