Script audit: fix stale names, header mismatches, HOST1-hardcoded path maps in lidarr scripts

This commit is contained in:
Gmer4Lfe
2026-06-27 13:42:06 -04:00
parent c9a0ad187b
commit 0401d872e4
5 changed files with 17 additions and 15 deletions
+2 -2
View File
@@ -1547,9 +1547,9 @@ _release_rsync_on_exit() {
# Longest-match wins — prevents partial path collisions.
#
# Usage:
# declare -A ARR_PATH_MAP=(["/ext-music"]="/mnt/user/Music-New")
# declare -A ARR_PATH_MAP=(["/ext-music"]="/mnt/user/Music")
# translate_path "/ext-music/Artist/Album/track.flac"
# Returns: /mnt/user/Music-New/Artist/Album/track.flac
# Returns: /mnt/user/Music/Artist/Album/track.flac
#
# If no match found — returns path unchanged (safe fallback).