feat: bootstrap NAS music deduper

This commit is contained in:
OpenClaw Agent
2026-09-18 04:48:47 +08:00
commit 6154cd0752
17 changed files with 481 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from pathlib import Path
MUSIC_EXTENSIONS = frozenset({
".flac", ".mp3", ".m4a", ".aac", ".ogg", ".opus", ".wav", ".alac",
})
FAST_HASH_CHUNK = 64 * 1024
STABILITY_CHECKS = 2
STABILITY_INTERVAL_SECONDS = 2
TRASH_DIRNAME = ".dedupe"
TRASH_SUBDIR = "trash"
QUARANTINE_SUBDIR = "quarantine"