This commit is contained in:
Alexandre
2025-04-22 10:58:41 +02:00
parent e077102208
commit 449e70a986
2 changed files with 6 additions and 1 deletions

View File

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

View File

@@ -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"