Page 1 of 1

rating: XnView interface vs XMP metadata

Posted: Tue Sep 20, 2022 10:55 am
by nlab
I observe some inconsistency that is driving me crazy:

if I rate an image using XnView interface (the star icon), it becomes the color of the star: ie: 5 = purple,
and I can filter the folder by "excellent" and the "starred 5" images are shown.

works as expected

but:
if I rate an image via edit-XMP dropdown, and I choose 5, the purple star does not appear, and the file is not show when filtering by rating.

the problem:
I have a bunch of files rated 5 (in another app), that show the rating when inspecting the XMP metadata, but that do not display the purple-5-star, and can not be sorted/filtered.

video behavior https://imgur.com/qKJWMIA

Re: rating: XnView interface vs XMP metadata

Posted: Tue Sep 20, 2022 1:37 pm
by michel038
You are right, it is difficult to understand.

1) Assigning a star from the browser
This action updates the database (= the catalog)
The stars shown in the browser represents the content of the catalog.
If Tools > Settings > Metadata > "Export rating in xmp metadata" is checked, then the xmp metadata will also be written.
If this option is not set, you won't see rating in "Edit XMP" window, nor in xmp tab in Information pane.

2) Assign a star from "Edit XMP".
The role of this window is to write XMP metadata, but not to update the catalog (unless an "import" option would be enabled)
The stars will therefore not be displayed in the browser.
And the Tools > Settings > Metadata > import XMP rating option doesn't exist : It's a missing feature, I would even say a bug.
To get around it, you have to use View >Update catalog from files on the selected images.
Another ambiguity is that the 'Import Folder' action (Settings>Catalog) is actually able to import the stars (and color labels) from xmp when "Import xmp subject or iptc keyword to catalog's categories" is checked.

Translated with www.DeepL.com/Translator (free version)

Re: rating: XnView interface vs XMP metadata

Posted: Wed Sep 21, 2022 12:23 pm
by xnview
nlab wrote: Tue Sep 20, 2022 10:55 am I have a bunch of files rated 5 (in another app), that show the rating when inspecting the XMP metadata, but that do not display the purple-5-star, and can not be sorted/filtered.
Could you send me a file?

Re: rating: XnView interface vs XMP metadata

Posted: Wed Sep 21, 2022 12:23 pm
by xnview
michel038 wrote: Tue Sep 20, 2022 1:37 pm 2) Assign a star from "Edit XMP".
The role of this window is to write XMP metadata, but not to update the catalog (unless an "import" option would be enabled)
No, catalog must be updated with new rating

Re: rating: XnView interface vs XMP metadata

Posted: Thu Sep 22, 2022 9:03 am
by nlab
[/quote]
Could you send me a file?
[/quote]

img rating with librephotos app https://github.com/LibrePhotos/librephotos

5 star ratting visible via XMP-edit, but does not display the purple star

*if hit view -> update catalog from file = the purple star appears

Re: rating: XnView interface vs XMP metadata

Posted: Thu Sep 22, 2022 11:05 am
by xnview
could you try to select the file, and 'View>Update catalog from files'?

Re: rating: XnView interface vs XMP metadata

Posted: Sat Oct 08, 2022 7:58 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: rating: XnView interface vs XMP metadata

Posted: Thu Oct 13, 2022 2:32 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.3.1. Please check and confirm the bug fix here.

Re: rating: XnView interface vs XMP metadata

Posted: Thu Nov 24, 2022 6:42 pm
by michel038
XnViewMP V1.3
Résolu
Solved

Merci !