Add --move mode to sonarr_classification_scan.sh, matching Radarr
Acts on forward misplacements and reverse-kids-leak (adult content in the kids root — not a judgment call, same reasoning as the Radarr side), moving to the new SONARR_GENERAL_ROOT config var. Reverse-anime -leak stays report-only — deliberate style placements like Castlevania are common and valid there. episodeFileCount is Sonarr's hasFile equivalent: series with 0 files get relocated + an immediate SeriesSearch instead of a file move. One series at a time, verified after each — matches the race condition found doing this by hand for the Fate/Zero and Fate/Stay Night moves earlier in the session.
This commit is contained in:
@@ -586,6 +586,7 @@ detect_hosts() {
|
||||
SONARR_URL_VAR="${MY_ID}_SONARR_URL"; SONARR_URL="${!SONARR_URL_VAR:-}"
|
||||
SONARR_API_KEY_VAR="${MY_ID}_SONARR_API_KEY"; SONARR_API_KEY="${!SONARR_API_KEY_VAR:-}"
|
||||
SONARR_TV_ROOT_VAR="${MY_ID}_SONARR_TV_ROOT"; SONARR_TV_ROOT="${!SONARR_TV_ROOT_VAR:-}"
|
||||
SONARR_GENERAL_ROOT_VAR="${MY_ID}_SONARR_GENERAL_ROOT"; SONARR_GENERAL_ROOT="${!SONARR_GENERAL_ROOT_VAR:-}"
|
||||
SONARR_KIDS_ROOT_VAR="${MY_ID}_SONARR_KIDS_ROOT"; SONARR_KIDS_ROOT="${!SONARR_KIDS_ROOT_VAR:-}"
|
||||
SONARR_ANIME_ROOT_VAR="${MY_ID}_SONARR_ANIME_ROOT"; SONARR_ANIME_ROOT="${!SONARR_ANIME_ROOT_VAR:-}"
|
||||
SONARR_RECOVERY_VAR="${MY_ID}_SONARR_RECOVERY"; SONARR_RECOVERY="${!SONARR_RECOVERY_VAR:-true}"
|
||||
|
||||
Reference in New Issue
Block a user