https://github.com/BestImageViewer/geeqie/issues/584
Additional tag %rating% for image overlay
<entry>imagecomment</entry>\r
<entry>JPEG image comment</entry>\r
</row>\r
+ <row>\r
+ <entry>rating</entry>\r
+ <entry>Image rating</entry>\r
+ </row>\r
<row>\r
<entry><meta_tag></entry>\r
<entry>The Exif, XMP, or IPTC tag from metadata</entry>\r
{
data = exif_get_image_comment(imd->image_fd);
}
+ else if (strcmp(name, "rating") == 0)
+ {
+ data = metadata_read_string(imd->image_fd, RATING_KEY, METADATA_PLAIN);
+ }
#ifdef HAVE_LUA
else if (strncmp(name, "lua/", 4) == 0)
{