From: Colin Clark Date: Wed, 27 Mar 2024 18:46:10 +0000 (+0000) Subject: Fix #1089: Sync xmp:Rating across all sidecar images X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=c747cfbf41ade7d5511be7eb3114393ec14988f3 Fix #1089: Sync xmp:Rating across all sidecar images https://github.com/BestImageViewer/geeqie/issues/1089 Include Xmp.xmp.Rating in list of tags written to all sidecars. --- diff --git a/src/metadata.cc b/src/metadata.cc index 2c4f2a33..022906ff 100644 --- a/src/metadata.cc +++ b/src/metadata.cc @@ -63,7 +63,7 @@ enum MetadataKey { /** * @brief Tags that will be written to all files in a group - selected by: options->metadata.sync_grouped_files, Preferences/Metadata/Write The Same Description Tags To All Grouped Sidecars */ -constexpr std::array group_keys{ +constexpr std::array group_keys{ "Xmp.dc.title", "Xmp.photoshop.Urgency", "Xmp.photoshop.Category", @@ -85,6 +85,7 @@ constexpr std::array group_keys{ "Xmp.dc.rights", "Xmp.dc.description", "Xmp.photoshop.CaptionWriter", + "Xmp.xmp.Rating", }; inline gboolean is_keywords_separator(gchar c)