Commit f52fe4c3ce6d

Vincent Demeester <vincent@sbr.pm>
2026-01-27 10:49:51
feat(aion): auto-purge missing files in navidrome after full scans
Adds Scanner.PurgeMissing = "full" to automatically clean up database entries for files that no longer exist on disk. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fea84ba
Changed files (1)
systems
systems/aion/extra.nix
@@ -322,6 +322,9 @@ in
         EnableTranscodingConfig = false; # Disabled for security - transcoding still works, UI editing disabled
         EnableSubsonic = true;
 
+        # Scanner settings
+        Scanner.PurgeMissing = "full"; # Auto-cleanup missing files after full scans
+
         # Optional: Scrobbling (can enable later)
         # LastFM.Enabled = true;
       };