From d0484937fcb60abac77800d5b7a0106ff882d087 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Sun, 14 Mar 2021 17:14:30 +1100 Subject: [PATCH] Jellyfin: Update paths for DSM 7 --- spk/jellyfin/src/service-setup.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/spk/jellyfin/src/service-setup.sh b/spk/jellyfin/src/service-setup.sh index 19579893509..6ca853145c6 100644 --- a/spk/jellyfin/src/service-setup.sh +++ b/spk/jellyfin/src/service-setup.sh @@ -3,10 +3,10 @@ JELLYFIN_ARGS="--service \ --package-name synology \ - -d ${SYNOPKG_PKGDEST}/var/data \ - -C ${SYNOPKG_PKGDEST}/var/cache \ - -c ${SYNOPKG_PKGDEST}/var/config \ - -l ${SYNOPKG_PKGDEST}/var/log \ + -d ${SYNOPKG_PKGVAR}/data \ + -C ${SYNOPKG_PKGVAR}/cache \ + -c ${SYNOPKG_PKGVAR}/config \ + -l ${SYNOPKG_PKGVAR}/log \ -w ${SYNOPKG_PKGDEST}/web \ --ffmpeg /var/packages/ffmpeg/target/bin/ffmpeg" @@ -19,6 +19,8 @@ GROUP=sc-media service_postinst () { - # allow ffmpeg access - chmod 775 /volume1/@appstore/jellyfin/var/data/transcodes + if [ $SYNOPKG_DSM_VERSION_MAJOR -lt 7 ]; then + # allow ffmpeg access + chmod 775 /volume1/@appstore/jellyfin/var/data/transcodes + fi }