add new option update-exif

This commit is contained in:
2022-03-16 20:13:39 +08:00
parent 00444c1d02
commit 2ffd88aefe
6 changed files with 149 additions and 99 deletions

View File

@@ -14,6 +14,8 @@ pub fn get_settings_list() -> Vec<SettingDes> {
SettingDes::new("retry-interval", gettext("The interval (in seconds) between two retries."), JsonValueType::Multiple, Some(check_retry_interval)).unwrap(),
SettingDes::new("use-webpage", gettext("Use data from webpage first."), JsonValueType::Boolean, None).unwrap(),
SettingDes::new("author-name-filters", gettext("Remove the part which after these parttens."), JsonValueType::Array, Some(check_author_name_filters)).unwrap(),
#[cfg(feature = "exif")]
SettingDes::new("update-exif", gettext("Add/Update exif information to image files even when overwrite are disabled."), JsonValueType::Boolean, None).unwrap(),
]
}