0.84: Rating & Label not export in XMP Sidecar automatically

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

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

0.84: Rating & Label not export in XMP Sidecar automatically

Post by Sirio » Wed Feb 01, 2017 12:57 pm

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 » Fri Feb 03, 2017 11:16 am

I get the same problem... :(

User avatar
helmut
Posts: 8172
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 » Fri Feb 03, 2017 11:21 am

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: 119
Joined: Tue Oct 13, 2015 3:22 pm

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

Post by Sirio » Mon Feb 06, 2017 1:43 pm

m.Th. and Pierre, did you tested this issue?
Some news about that?
Sirio

User avatar
m.Th.
XnThusiast
Posts: 1558
Joined: Wed Aug 16, 2006 6:31 am
Contact:

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

Post by m.Th. » Tue Feb 07, 2017 9:23 am

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.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
helmut
Posts: 8172
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 » Tue Feb 07, 2017 9:30 am

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: 119
Joined: Tue Oct 13, 2015 3:22 pm

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

Post by Sirio » Tue Feb 07, 2017 9:48 am

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: 1558
Joined: Wed Aug 16, 2006 6:31 am
Contact:

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

Post by m.Th. » Tue Feb 07, 2017 11:06 am

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.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
helmut
Posts: 8172
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 » Tue Feb 07, 2017 11:31 am

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: 119
Joined: Tue Oct 13, 2015 3:22 pm

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

Post by Sirio » Tue Feb 07, 2017 12:49 pm

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: 31881
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 » Thu Feb 09, 2017 3:01 pm

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: 31881
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 » Thu Mar 16, 2017 9:08 am

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: 119
Joined: Tue Oct 13, 2015 3:22 pm

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

Post by Sirio » Thu Mar 16, 2017 11:29 pm

Confirmed: it works perfectly.
Sirio

Post Reply