diff --git a/jellyfin/rootfs/etc/cont-init.d/20-folders.sh b/jellyfin/rootfs/etc/cont-init.d/20-folders.sh index 6b54b56c0..682150cd4 100755 --- a/jellyfin/rootfs/etc/cont-init.d/20-folders.sh +++ b/jellyfin/rootfs/etc/cont-init.d/20-folders.sh @@ -86,3 +86,10 @@ if [ ! -d /jellyfin/root ]; then chown -R "$PUID:$PGID" "$LOCATION"/root ln -s "$LOCATION"/root /jellyfin/root fi + +# Legacy mode +echo "Enable legacy mode" +mkdir -p /config/addons_config +ln -sf "$LOCATION" /config/addons_config/jellyfin +chown -R "$PUID:$PGID" "$LOCATION" +