From 3785c9095825bd85329dcbf6f188a10eed72bf95 Mon Sep 17 00:00:00 2001 From: Mandar Patil Date: Wed, 4 Oct 2023 22:25:33 -0700 Subject: [PATCH] added test coverage --- config.yaml | 3 +++ tests/data/test_config.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/config.yaml b/config.yaml index 83697549a..3406030dd 100644 --- a/config.yaml +++ b/config.yaml @@ -45,7 +45,10 @@ photos: destination: "photos" remove_obsolete: false sync_interval: 500 + all_albums: false # Optional, default false. If true preserve album structure. If same photo is in multpile albums creates duplicates on filesystem filters: + # if all_albums is false list of albums to download, if all_albums is true list of ignored albums + # if empty and all_albums is false download all photos to "all" folder. if empty and all_albums is true download all folders albums: - "album 1" - "album2" diff --git a/tests/data/test_config.yaml b/tests/data/test_config.yaml index f29e3d3e7..bcc0e717d 100644 --- a/tests/data/test_config.yaml +++ b/tests/data/test_config.yaml @@ -53,7 +53,10 @@ photos: destination: photos remove_obsolete: false sync_interval: -1 + all_albums: false # Optional, default false. If true preserve album structure. If same photo is in multpile albums creates duplicates on filesystem filters: + # if all_albums is false list of albums to download, if all_albums is true list of ignored albums + # if empty and all_albums is false download all photos to "all" folder. if empty and all_albums is true download all folders albums: - "album 2" - album-1