Skip to content

Commit

Permalink
Jellyfin: Update paths for DSM 7
Browse files Browse the repository at this point in the history
  • Loading branch information
publicarray committed Mar 14, 2021
1 parent bd637af commit d048493
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions spk/jellyfin/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
}

0 comments on commit d048493

Please sign in to comment.