Script audit: fix stale names, header mismatches, HOST1-hardcoded path maps in lidarr scripts
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user