brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: tell Sonarr and Radarr that a deleted file is not a missing file

Unraid
~/tips/arr-unmonitor-deleted

cat ~/tips/arr-unmonitor-deleted.md

Stops Sonarr and Radarr from downloading again a file you deleted on purpose.

I’d switch on one checkbox in Sonarr and Radarr before the next time you clean up your library: Unmonitor Deleted. Without it, a file you delete by hand is, to the app, just a file that went missing, and it will happily download it again.

Say you delete a movie from the array because you did not like it. Radarr still has it on the monitored list, sees there is no file, and goes looking for a new copy. Same story for episodes in Sonarr. It is doing exactly what you asked it to do, you just never told it that this time you meant it.

Open Settings → Media Management in each app and look for Unmonitor Deleted Episodes (Sonarr) or Unmonitor Deleted Movies (Radarr). The help text says that what you delete from disk is automatically unmonitored. The setting is stored as a plain boolean without a default in the source, so it is off until you tick it. Tick it and save.

Two caveats. It only reacts to files that disappear from disk, so deleting through the app’s own delete button already handles this and you do not need the setting for that. And it is a trap if a share is ever unmounted or a disk drops out of the array: files that look deleted get unmonitored, and you have to monitor them again by hand. On Unraid I would not tick it while I am messing with disks. I would tick it for normal everyday use, and pair it with the recycling bin from my earlier tip so a wrong click stays recoverable.

Further reading: Sonarr: English strings for Unmonitor Deleted Episodes, Radarr: English strings for Unmonitor Deleted Movies, Sonarr source: ConfigService (AutoUnmonitorPreviouslyDownloadedEpisodes), On this site: set Minimum Free Space in Sonarr and Radarr so a full disk stops the imports, On this site: leave "Rescan Series Folder after Refresh" on Always in Sonarr and Radarr

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override All Unraid tips (77) All topics

Link