Lowest priority (11) for Google Photos / Takeout / backup folders

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Carlos
2026-04-26 15:53:15 -04:00
parent 399a80cb70
commit 6827c5965f
2 changed files with 20 additions and 10 deletions

View File

@@ -373,15 +373,25 @@ class UnionFind:
# Override at runtime by writing /data/folder_priority.json:
# {"priorities": {"my_folder": 5, "trash": 10}, "default": 2}
_FOLDER_PRIORITY_DEFAULTS = (
("#recycle", 10),
("photoprism", 9),
("photoprizm", 8),
("photolibrary", 7),
("albumsbackup", 6),
("organized", 5),
("moved", 4),
("random", 3),
("mobilebackup", 1),
("google photos", 11),
("googlephotos", 11),
("google_photos", 11),
("google-photos", 11),
("takeout", 11),
("google takeout", 11),
("googletakeout", 11),
("google backup", 11),
("googlebackup", 11),
("google_backup", 11),
("#recycle", 10),
("photoprism", 9),
("photoprizm", 8),
("photolibrary", 7),
("albumsbackup", 6),
("organized", 5),
("moved", 4),
("random", 3),
("mobilebackup", 1),
)
_FOLDER_PRIORITY_DEFAULT_BUCKET = 2 # "anything else"

2
debian/build-deb.sh vendored
View File

@@ -13,7 +13,7 @@ BUILD_DIR="$REPO_ROOT/build/deb"
# ── Config ────────────────────────────────────────────────────────────────────
PKG_NAME="dupfinder"
PKG_VERSION="1.0.5"
PKG_VERSION="1.0.6"
PKG_ARCH="amd64"
DEB_FILE="${PKG_NAME}_${PKG_VERSION}_${PKG_ARCH}.deb"