Fix #1089: Sync xmp:Rating across all sidecar images
authorColin Clark <colin.clark@cclark.uk>
Wed, 27 Mar 2024 18:46:10 +0000 (18:46 +0000)
committerColin Clark <colin.clark@cclark.uk>
Wed, 27 Mar 2024 18:46:10 +0000 (18:46 +0000)
https://github.com/BestImageViewer/geeqie/issues/1089

Include Xmp.xmp.Rating in list of tags written to all sidecars.

src/metadata.cc

index 2c4f2a3..022906f 100644 (file)
@@ -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<const gchar *, 21> group_keys{
+constexpr std::array<const gchar *, 22> group_keys{
        "Xmp.dc.title",
        "Xmp.photoshop.Urgency",
        "Xmp.photoshop.Category",
@@ -85,6 +85,7 @@ constexpr std::array<const gchar *, 21> group_keys{
        "Xmp.dc.rights",
        "Xmp.dc.description",
        "Xmp.photoshop.CaptionWriter",
+       "Xmp.xmp.Rating",
 };
 
 inline gboolean is_keywords_separator(gchar c)