From 07c7050335e349e1965455e554fda88251f92f32 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 7 Dec 2023 18:17:21 +0000 Subject: [PATCH] docs: sane-sync-music: document a bug --- pkgs/additional/sane-scripts/src/sane-sync-music | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/additional/sane-scripts/src/sane-sync-music b/pkgs/additional/sane-scripts/src/sane-sync-music index c750ec8b9..8809135b7 100755 --- a/pkgs/additional/sane-scripts/src/sane-sync-music +++ b/pkgs/additional/sane-scripts/src/sane-sync-music @@ -143,6 +143,7 @@ def calculate_delta(in_dir: str, out_dir: str) -> tuple[set[Path], set[Path]]: to_del = { f for f in existing_out_files if f not in expected_out_files } logger.info(f'found {len(to_del)} files to delete') + # FIXME: files which exist but have changed (e.g fixed metadata) are incorrectly skipped to_copy = { f for f in in_files if target_name(f) not in existing_out_files and f.suffix not in IGNORE } logger.info(f'found {len(to_copy)} files to copy')