Page 1 of 1
0.84: Rating & Label not export in XMP Sidecar automatically
Posted: Wed Feb 01, 2017 12:57 pm
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
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Fri Feb 03, 2017 11:16 am
by Sched
I get the same problem...

Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Fri Feb 03, 2017 11:21 am
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...
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Mon Feb 06, 2017 1:43 pm
by Sirio
m.Th. and Pierre, did you tested this issue?
Some news about that?
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Tue Feb 07, 2017 9:23 am
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.
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Tue Feb 07, 2017 9:30 am
by helmut
m.Th. wrote:It is wrong. It is a bug. It isn't normal. ...
So we do have a bug here.

Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Tue Feb 07, 2017 9:48 am
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.
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Tue Feb 07, 2017 11:06 am
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!
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Tue Feb 07, 2017 11:31 am
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.

Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Tue Feb 07, 2017 12:49 pm
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.
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Thu Feb 09, 2017 3:01 pm
by xnview
O.k., thank you, I can also reproduce the problem.
Issue 1090 is fixed in next version.
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Thu Mar 16, 2017 9:08 am
by xnview
This problem is supposed to be fixed in
XnView MP 0.85 beta 1. Please check and confirm the bug fix here.
Re: 0.84: Rating & Label not export in XMP Sidecar automatic
Posted: Thu Mar 16, 2017 11:29 pm
by Sirio
Confirmed: it works perfectly.