- Each source folder now has its own recursive flag (checkbox on add, toggle badge on its chip). scan_folder/sync_metadata_from_folder both honor it, so "top-level only" actually excludes subfolders end-to-end instead of just the tagging queue while sync still scanned recursively. - New /api/set_folder_recursive to flip an existing folder's mode without removing/re-adding it. - SAFETY FIX: found while testing — when the configured folder list is empty, the app fell back to the parent directory of wherever server.py lives, which for a typical install (PHOTON dropped directly in the user's home folder) means defaulting to the entire home directory. Caught this before any scan/start actually ran against it. Fixed so an explicitly-configured empty list (config file exists, list is empty) is respected as "zero folders" instead of silently substituted with a guessed default — the guessed default now only applies on a genuinely fresh install where no config file exists yet at all. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
99 KiB
99 KiB