From 449e70a98643dd0849d25da031de499572f3e81b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 22 Apr 2025 10:58:41 +0200 Subject: [PATCH] Update --- emby_beta/config.json | 2 +- emby_beta/rootfs/etc/cont-init.d/20-folders.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/emby_beta/config.json b/emby_beta/config.json index a1c8e174f..b64b247d0 100644 --- a/emby_beta/config.json +++ b/emby_beta/config.json @@ -128,6 +128,6 @@ "slug": "emby_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/emby", - "version": "4.9.0.48_test", + "version": "4.9.0.48-2", "video": true } diff --git a/emby_beta/rootfs/etc/cont-init.d/20-folders.sh b/emby_beta/rootfs/etc/cont-init.d/20-folders.sh index 1ac076244..d40e82ba2 100644 --- a/emby_beta/rootfs/etc/cont-init.d/20-folders.sh +++ b/emby_beta/rootfs/etc/cont-init.d/20-folders.sh @@ -31,6 +31,11 @@ if [ -d /homeassistant/emby ]; then chown -R "$PUID:$PGID" "$config_location" fi +if [ -f /homeassistant/addons_autoscripts/emby-nas.sh ]; then + cp -rf /homeassistant/addons_autoscripts/emby-nas.sh "$config_location"/ + mv /homeassistant/addons_autoscripts/emby-nas.sh /homeassistant/addons_autoscripts/emby-nas_migrated.sh +fi + declare -A links=( ["/emby/cache"]="$data_location/cache" ["/emby/config"]="$config_location"