Import Ratings from XMP

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

ruebyi wrote: Sun May 24, 2020 12:56 pm As described above the XMP shows the rating after that process.
the problem is only when you change rating in Fast Raw Viewer? only the file changed will have the problem?
Pierre.
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

Yes!

Other tools like dxo are able to read the xmp from fast raw viewer.

If I make changes in dxo XNViewMP will show these changes.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

i can reproduce, i start XnView MP & FastRawViewer on same folder, I change a rating with FastRawViewer, it doesn't touch the file but .xmp, and XnView detect only changes on .jpg not .xmp, so rating is not updated. As workaround, you need to use 'Update catalog from files'
Pierre.
algo
Posts: 2
Joined: Mon May 31, 2021 8:35 am
Location: Austria

Re: Import Ratings from XMP

Post by algo »

I encounter the same issue in a different context:

When I change the rating in XnViewMP with the Edit XMP tool, then the changed rating is not updated in the browser nor the viewer, nor other applications like Adobe Bridge. However, if I use the Rating Color Label context option in the browser or viewer, it works as expected. I suspect the Edit XMP tool of only changing to xmp rating tag and not the others.

Also, If I change the colour label or the rating in DigiKam, all relevant rating tags in the sidecar are updated, but these changes are not recognized in the XnViewMP viewer or browser, but only in the Edit XMP tool. Update Catalogue from Files doesn't change anything.



OS: Mac OS 10.14.6
XnViewMP 0.98.3

Options:

Update or create XMP Sidecar: <filename>.xmp
Export rating in XMP metadata: true
Export color label in XMP metadata: true

Code: Select all

content of filename.xmp after changing the rating in the editor from 2 to 4:

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:xmp="http://ns.adobe.com/xap/1.0/"
            xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
            xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
            xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/"
            xmlns:dc="http://purl.org/dc/elements/1.1/"
            xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
            xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
            xmlns:acdsee="http://ns.acdsee.com/iptc/1.0/"
            xmlns:exif="http://ns.adobe.com/exif/1.0/"
            xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
            xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
            xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/">
         <xmp:CreatorTool>Version 1.2</xmp:CreatorTool>
         <xmp:MetadataDate>2021-05-31T09:45:13+02:00</xmp:MetadataDate>
         <xmp:CreateDate>2021-05-30T21:07:29</xmp:CreateDate>
         <xmp:ModifyDate>2021-05-31T10:32:33</xmp:ModifyDate>
         <xmp:Rating>4</xmp:Rating>
         xmp:Label="Yellow"
         ----
         <acdsee:rating>3</acdsee:rating>
         ....
         MicrosoftPhoto:Rating="25"
         digiKam:ColorLabel="3"
         ...
         </rdf:Description>
     </rdf:RDF>
    </x:xmpmeta>
<?xpacket end="w"?>
ExacT
Posts: 2
Joined: Fri Oct 07, 2022 9:33 am

Re: Import Ratings from XMP

Post by ExacT »

hello! I also have the same problem.
If i change star rating in another viewer, i can see this rating between different programs. But only XnView MP doesn’t see star rating. If i change star rating in XnView MP, other viewers don’t see this change. How fix it?

Mac OS 10.13
XnView MP MacOSX
Version 1.3
Attachments
XnViewMP Setting
XnViewMP Setting
apollo.app / lyn.app / XnViewMP.app
apollo.app / lyn.app / XnViewMP.app
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

in XnView, 'Update catalog from files' fix the problem?
Pierre.
ExacT
Posts: 2
Joined: Fri Oct 07, 2022 9:33 am

Re: Import Ratings from XMP

Post by ExacT »

I'm sorry, where is this option?
I clicked "delete all," and then added again. "Optimize," "Synchronize." Nothing fix it. I still can't see the actual star rating...
Attachments
new check box in metadata
new check box in metadata
testing different options in catalog
testing different options in catalog
result
result
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

Menu 'View>Update catalog from files'
Pierre.
User avatar
michel038
XnThusiast
Posts: 1273
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by michel038 »

Currently, with "Edit XMP" dialog, star ratings are only written in XMP metadata, but XnViewMP uses it's catalog to display ratings, so they are not displayed.
We must "Update catalog from files" to display them.
Remember that update catalog from files works only on selected files.
The other ways used for rating photos (menus, toolbar...) can update the catalog AND XMP metadata if the corresponding option is enabled.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

michel038 wrote: Sun Oct 09, 2022 8:13 am Currently, with "Edit XMP" dialog, star ratings are only written in XMP metadata, but XnViewMP uses it's catalog to display ratings, so they are not displayed.
We must "Update catalog from files" to display them.
Remember that update catalog from files works only on selected files.
The other ways used for rating photos (menus, toolbar...) can update the catalog AND XMP metadata if the corresponding option is enabled.
We can close this one?
Pierre.
User avatar
michel038
XnThusiast
Posts: 1273
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by michel038 »

Right, problem solved since ... "un certain temps" :mrgreen:
Thanks
Post Reply