Import Ratings from XMP

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Import Ratings from XMP

Post by ruebyi »

Hi,

I'm trying a new workflow and ran into a problem?

On iOS there is an app called PhotoPicker - I can Import my JPGs there, cull and rate my Photos and export the XMP files.

I Imported the Images into XnView MP and added the XMP to the same directory.
Now I can see the XMP in the Info Tab, but the Rating is not shown in the pictures...

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

Re: Import Ratings from XMP

Post by xnview »

could you send me a xmp file?
Pierre.
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

Of course - I’m not able to attach it, so I added the xmprigjt here.

Code: Select all

 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<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:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:exif="http://ns.adobe.com/exif/1.0/"
xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
xmlns:exifEX="http://cipa.jp/exif/1.0/"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
xmp:Rating="3"
xmp:Label="">
<dc:subject>
<rdf:Bag>
<rdf:li>picked</rdf:li>
</rdf:Bag>
</dc:subject>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

ruebyi wrote: Tue Feb 04, 2020 10:36 pm Of course - I’m not able to attach it, so I added the xmprigjt here.
It works here
Clipboard-1.png
Clipboard-1.png (15.23 KiB) Viewed 11012 times
Perhaps it will be needed to use 'View>Update catalog from files'
Pierre.
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

Hmm, it's not working for me...

i uploaded one of my raw Files and the XMP in my dropbox.
https://www.dropbox.com/s/ev1wglmgh7q78 ... v.zip?dl=0


I looked into the XMPs form a file created by XnView and one from my other tool:

XnView

Code: Select all

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.6.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:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/">
         <xmp:Rating>4</xmp:Rating>
         <xmp:Label/>
         <MicrosoftPhoto:Rating>75</MicrosoftPhoto:Rating>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>
From PhotoPicker

Code: Select all

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<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:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:exif="http://ns.adobe.com/exif/1.0/"
xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
xmlns:exifEX="http://cipa.jp/exif/1.0/"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
xmp:Rating="4"
xmp:Label="">
<dc:subject>
<rdf:Bag>
<rdf:li>picked</rdf:li>
</rdf:Bag>
</dc:subject>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
I hope this is helpful
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

ruebyi wrote: Mon Feb 10, 2020 10:18 am Hmm, it's not working for me...
Do you use lastest version?
Pierre.
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

Yes

XnView MP MacOSX
Version 0.95 64bits (Jan 14 2020)

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

Re: Import Ratings from XMP

Post by xnview »

i've tried the MacOS version, and it works

If you put these 2 files, in an empty folder, and browse it with XnView MP, no rating?
Pierre.
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

I tried it again with a complete new shooting.
It worked this time!

Sorry for taking your time
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

Hmm, it happende again - two Shootings, two different dates working on it.

The XMP Shows the entry, but XNView doesn't show them...
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

After copying the files into a new folder (RAWs + XMP) XNviewMP shows the ratings.

The Problem appeared two times in this Workflow:

Import in XNViewMP

Rating in Fast Raw Viewer

Coming back to XNView MP no Ratings were shown, but they are listed in the XMP File
"Update Catalouge from Files" and "Refreshing Thumbnails" didn't help.
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

do you have enabled settings>Metadata>Update when file is changed outside?
But it's strange that 'Update Catalog from Files' doesn't work...
Pierre.
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

Yes, the Checkbox is marked.

I recognized something funny - the Rating is shown while the Thumbnails update and vanishes then - I tried to make a video to show this:

https://mtlehmann.de/nextcloud/index.ph ... ANPFpmargr

Hopefully this is helpful...
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview »

so you are on MacOS, right? with lastest version?
What do you means by 'import in XnView MP'? Is it select a folder to import ratings?
Pierre.
ruebyi
Posts: 48
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi »

Yes, macOS latest Version.

I‘m using the import dialogue to get my files from my SD into XNViewMp.

After That I‘m using fast raw viewer for culling.

As described above the XMP shows the rating after that process.
Post Reply