0.84: Rating & Label not export in XMP Sidecar automatically

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
Sirio
Posts: 128
Joined: Tue Oct 13, 2015 3:22 pm

0.84: Rating & Label not export in XMP Sidecar automatically

Post by Sirio »

Hi
Here a bug:
When checked the option
"Update or create XMP Sidecar" and
"Export rating in XMP metadata" and
"Export color label in XMP metadata"
the rating and labeling don't are reported in a XMP sidecar file.
I mean that XnViewMP don't create or update any XMP Sidecar file automatically if I give a label color or rating to a file, while it do it perfectly with the keywords. Then I need to do it manually through menu: View > Update files from catalog.

Is it normal?
Thanks
Sirio
Sched
Posts: 14
Joined: Thu Oct 20, 2016 3:28 pm

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by Sched »

I get the same problem... :(
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by helmut »

Sirio wrote:.. Is it normal?
I could reproduce this and I'd say "No.". But I'm not very familiar with the design and the expected handling of categories and ratings and its expected behaviour.

m.Th. and Pierre should know...
User avatar
Sirio
Posts: 128
Joined: Tue Oct 13, 2015 3:22 pm

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by Sirio »

m.Th. and Pierre, did you tested this issue?
Some news about that?
Sirio
User avatar
m.Th.
XnThusiast
Posts: 1663
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by m.Th. »

It is wrong. It is a bug. It isn't normal.

The sidecar engine does not take in account the Ratings and Labels, but it should. They are standard ways to categorize the items in a DAM and are covered by XMP standard.

Ratings, Labels and Categories should be all saved also in XMP sidecar - the program must honor its settings.

FTR, at least Rating is saved in the embedded metadata (for example in a JPG) but not in the sidecar.
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by helmut »

m.Th. wrote:It is wrong. It is a bug. It isn't normal. ...
So we do have a bug here. :bug:
User avatar
Sirio
Posts: 128
Joined: Tue Oct 13, 2015 3:22 pm

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by Sirio »

m.Th. wrote:The sidecar engine does not take in account the Ratings and Labels, but it should...
Ratings, Labels and Categories should be all saved also in XMP sidecar
Is not completely right, because the sidecar engine of XnViewMP can already do that:
If a give a color label to a photo and I select it, then menu: View > Update files from catalog. XnViewMP generate an XMP sidecar file with the label color information, here the lines (see the last line):

xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/">
<xmp:CreatorTool>Ver.1.0</xmp:CreatorTool>
<xmp:ModifyDate>2008-01-14T11:15:19</xmp:ModifyDate>
<xmp:CreateDate>2008-01-14T11:15:19</xmp:CreateDate>
<xmp:Rating>0</xmp:Rating>
<xmp:Label>Red</xmp:Label>

XnView can already do that, the problem is that it don't happen automatically, even is checked the option "Update or create XMP Sidecar".
bdw, Lightroom do that and XnViewMP use the same format than Lightroom.
Sirio
User avatar
m.Th.
XnThusiast
Posts: 1663
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by m.Th. »

Sirio wrote:
m.Th. wrote:The sidecar engine does not take in account the Ratings and Labels, but it should...
Ratings, Labels and Categories should be all saved also in XMP sidecar
Is not completely right, because the sidecar engine of XnViewMP can already do that:
If a give a color label to a photo and I select it, then menu: View > Update files from catalog. XnViewMP generate an XMP sidecar file with the label color information, here the lines (see the last line):

xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/">
<xmp:CreatorTool>Ver.1.0</xmp:CreatorTool>
<xmp:ModifyDate>2008-01-14T11:15:19</xmp:ModifyDate>
<xmp:CreateDate>2008-01-14T11:15:19</xmp:CreateDate>
<xmp:Rating>0</xmp:Rating>
<xmp:Label>Red</xmp:Label>

XnView can already do that, the problem is that it don't happen automatically, even is checked the option "Update or create XMP Sidecar".
bdw, Lightroom do that and XnViewMP use the same format than Lightroom.
I didn't say that it is right. On contrary.

What you show it is just that Pierre uses different code for different situations. Ideally, he should have the same procedure/method/class for persisting RLKs in XMP sidecars either if it is called automatically when we change them via the current thumb/selection + appropriate options enabled, either if it is called manually via menu.

Ok, I am to blame, I tested the feature when it was in beta. Sorry!
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by helmut »

m.Th. wrote:... What you show it is just that Pierre uses different code for different situations. Ideally, he should have the same procedure/method/class for persisting RLKs in XMP sidecars either if it is called automatically when we change them via the current thumb/selection + appropriate options enabled, either if it is called manually via menu.
It's not necessarily different code but just a trigger that is missing. But that's Pierre's terrain...
Ok, I am to blame, I tested the feature when it was in beta. Sorry!
Apology accepted. ;)
User avatar
Sirio
Posts: 128
Joined: Tue Oct 13, 2015 3:22 pm

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by Sirio »

Excuse me m.Th. for the misunderstood, I am French native language and I have understood other meaning.
In fact, the code is already there and it works manually, is just missing a trigger that make it automatically as eg the keywording.
Sirio
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by xnview »

O.k., thank you, I can also reproduce the problem. Issue 1090 is fixed in next version.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.85 beta 1. Please check and confirm the bug fix here.
Pierre.
User avatar
Sirio
Posts: 128
Joined: Tue Oct 13, 2015 3:22 pm

Re: 0.84: Rating & Label not export in XMP Sidecar automatic

Post by Sirio »

Confirmed: it works perfectly.
Sirio
Post Reply