PL5 Tag Field not read from .dop file

I retried this protocol with the new PL 5.1.1, but with the same result.

Haha, I also hoped that this problem was fixed when I saw PL 5.1.1 Version popping up. Really hope this annoying bug fill be fixed soon…

Good morning guys,

As this is not a bug (the algorithm will soon be explained in FAQ) and the change of the behavior will take some time - we should find a good solution and not to mess up everything you’ll have to wait a bit.

Regards,
Svetlana G.

Hello Svetlana,

thanks for the head up.

However, do you mean that having rating content from dop file, and only for v5 dop version, ignored and reset is intended ?

2 Likes

Hello!

  • Well the algorithm of the prioritization of the files containing this data has been changed with the introduction on xmp support (it also depends if it’s a master image or VC). Everything will be explained in details in FAQ very soon.

Regards,
Svetlana G.

@Lars, @Crispy and @sgospodarenko please see my post at Lost all ratings in PhotoLab Elite 5.1.0 ??? - #16 by BHAYT if you are looking for a long read!?

Hi Svetlana, any news on the FAQ ?

In addition, considering my use case scenario (using a laptop to make first edit and rating when on the go), how can I make it work again like I used to do using PL4 ?

Good morning!

@Musashi could you, please tell if it’s already published?

Thank you
Regards,
svetlana G.

Hi @sgospodarenko , @Crispy ,
The content has been produced and localized, our support team has received and should work on adding it to the website.
As for now here are some explanations

Best regards

1 Like

Hello Musashi,
if I use exclusively Photo Supreme as my DAM(and xmp files) and do not do any metadata editing within DPL should I turn on off “synchronization”. Up to now my understanding is to turn it off.

Best

Sigi

The table is very helpful, @Musashi .

…but it also means that .dop sidecars don’t work as database backups, which is a pity…

Note: Should you mention “Advanved History” in this table?

As far as I can see best off, I use PS as well and will keep my strong off.

I hope the ‘full’ FAQ goes into more detail about ‘All other Metadata’. Currently, there are some serious bugs/issues with PL5 metadata handing that cause serious problems with users of 3rd party metadata products (as noted by comments to this thread). Unfortunately, turning off metadata synchronization in PL5 doesn’t solve all of these issues because of what PL5 writes to output files.

PL4.x simply copied metadata from the raw/XMP file to output files. It did a good job with this, and was consistent with 3rd party metadata products. There needs to be an option in PL5 to restore this behavior.

What I do not understand: when there is no entry in the database file and no xmp file for a RAW file, BUT there is a dop file containing a star rating. Why will it not be read?

I do not want to use a database file, especially if I cannot edit it and there is no error message when files cannot be found anymore because the are moved to a different folder (what I did).

Does anyone know a possibility to edit the database file content?

You can use any tool that can edit SQLite databases but you can destroy the database so be careful and operate on a copy to test your edits. If you are familiar with relational databases then you should be OK because it it not too complicated.

I use FlySpeed SQL Query (there is a free version).

I have played with the database (but while PL5 was running) to change a timestamp of a file and crashed PL5 totally and irreparably!! With PL5 shut down changing some things might be possible!? On Win10 I use DB Browser for SQLite version 3.12.2 which is free but beware any changing of the database is tedious and potentially “dangerous” but rating changes should be easy enough etc.

I am testing my Synchronisation strategy right now so I changed the DOP Ratings field from 5* to 0* and requested a ‘Sidecar’ ‘Import’ but PL5 changed the DOP value back to 5*!

I am not sure this has previously been the case with PL5 releases because many of my tests have been by “hacking” the DOP so it seems that they may be closing down certain “windows of opportunity” for “testing”.

If you are dealing with RAWs then you have the ‘xmp’ sidecar but I believe that Photo Supreme can also change the embedded ‘xmp’ for RAW files. You effectively need to be able to take the Rating from the DOP and create an ‘xmp’ sidecar with just that data which PL5 will import in preference to other sources iff timestamps are right (still unclear about timestamps in this context).

It might be possible to reduce this further but the minimum I seemed to be able to get away with for an xmp with “just” ‘Rating’ is

P1074396.xmp (740 Bytes)

From my tests, it is apparent that PL5 never reads the Rank from a PL4 DOP file, even if there is no Rating in either the RAW or XMP files. It would seem that there is no forwards transfer of PL4 Rank to PL5 Rating. Even importing metadata from an XMP file doesn’t change the Rank until you make another change to the image, at which point, PL5 changes the DOP to PL5, deletes Rank and writes whatever rating it finds in the XMP file, which is usually 0. Thus losing any Rank/Rating set in PL4.

Joanna (@joanna) you know how I hate to contradict you but PL5 ingesting a PL4 DOP does work. I just used the data I used in the post above and in PL4 I set the ‘Rank’ to 3. PL5 happily read the DOP and created a new Virtual Copy (it had already “seen” the photo in my previous test and so a VC was inevitable) and the VC has a ‘Rating’ of 3.

I panicked that the data had been passed by an ‘xmp’ sidecar so I made a change to another photo in PL4 and then checked the directories which showed ‘xmp’ sidecar for first (the subject for the @John7 reply post above) but none for the other two photos. So if PL5 ignores PL4 DOPs how have I got the snapshots that I have? (remember I am on Windows 10 and PL5 has already seen this directory and the database was not clean before the test and this was an adhoc test rather than a meticulously executed, clean-room test and …

PL5 does read PL4 DOPs and convert ‘Rank’ to ‘Ratings’ according to my test (if I haven’t made a mistake!?) and PL5 has left the PL4.3.6 alone, at least up to the point of the snapshot!

PS:- In spite of creating VCs which normally create a larger DOP, PL5 made no changes to the DOP on closedown, because I had made no changes in PL5. This actually maintains some co-existence providing you do not make any changes in PL5 that would result in a material change to the status of the data. It means that if I clear out the PL5 database I can re-discover the photo and there will be no VC!

PPS:- This Topic was originally about Tags so I set tags on all four photos in PL4 red, green, green, red and those all made it into the PL5 VC[1] images.

OK. I’m editing this in an text editor and then pasting it here.

Test of Rating from PL4 to PL5

Delete databases for both PL4 and PL5
Delete DOP and XMP files for test image
Check Rating was not set in RAW file by camera
Open image in PL4
Set ‘“Rank” to 3

Capture d’écran 2022-01-19 à 14.11.23

Close PL4

DOP shows…

Sidecar = {
	Date = "2022-01-19T13:11:28Z",
	Software = "DxO PhotoLab 4.3.6 72",
	Source = {
		CafID = "C30510d",
		Items = {
			{
			Albums = "",
			CreationDate = "2022-01-19T13:11:00Z",
			ModificationDate = "2022-01-19T13:11:14Z",
			Name = "_JNA0004.NEF",
			OutputItems = {
			},
			ProcessingStatus = 1,
			Rank = 3,
			Rotation = 0,

Open PL5

PL5 does not display a Rating for the file…

Capture d’écran 2022-01-19 à 14.15.19

Make an image edit without touching the Rating stars

Close PL5

DOP file…

Sidecar = {
	Date = "2022-01-19T13:11:28Z",
	Software = "DxO PhotoLab 4.3.6 72",
	Source = {
		CafID = "C30510d",
		Items = {
			{
			Albums = "",
			CreationDate = "2022-01-19T13:11:00Z",
			ModificationDate = "2022-01-19T13:11:14Z",
			Name = "_JNA0004.NEF",
			OutputItems = {
			},
			ProcessingStatus = 1,
			Rank = 3,
			Rotation = 0,

Nothing has changed


Reopen PL5

Do nothing

Close PL5

DOP file…

Sidecar = {
	Date = "2022-01-19T13:17:04.9440000Z",
	Software = "DxO PhotoLab 5.1.1 52",
	Source = {
		CafID = "C30510d",
		Items = {
			{
			Albums = "",
			CreationDate = "2022-01-19T13:15:02.0840000Z",
			IPTC = {
				contactCreator = "Joanna Carter                       ",
				statusCopyrightNotice = "Grandes Images 2017",
			},
			Keywords = {
				{
					"Abeille Bourbon",
				},
			},
			ModificationDate = "2022-01-19T13:15:29.0140000Z",
			Name = "_JNA0004.NEF",
			OutputItems = {
			},
			ProcessingStatus = 1,
			Rating = 0,
			Rotation = 3,

Rank of 3 has been deleted and Rating of 0 has been added

Image edit has also been added to Overrides section…

				Overrides = {
					ExposureActive = true,
					ExposureAutoMode = "Manual",
					ExposureBias = 1.7370986238532113,
				},

No XMP file created.


Reopen PL5

Set Rating to 4…

Capture d’écran 2022-01-19 à 14.21.49

Close PL5

DOP file…

Sidecar = {
	Date = "2022-01-19T13:21:51.4780000Z",
	Software = "DxO PhotoLab 5.1.1 52",
	Source = {
		CafID = "C30510d",
		Items = {
			{
			Albums = "",
			CreationDate = "2022-01-19T13:21:24.4940000Z",
			IPTC = {
				contactCreator = "Joanna Carter                       ",
				statusCopyrightNotice = "Grandes Images 2017",
			},
			Keywords = {
				{
					"Abeille Bourbon",
				},
			},
			ModificationDate = "2022-01-19T13:21:46.1930000Z",
			Name = "_JNA0004.NEF",
			OutputItems = {
			},
			ProcessingStatus = 1,
			Rating = 4,
			Rotation = 3,

Rating now set to 4

XMP file created…

         <xmp:Rating>4</xmp:Rating>

Delete XMP file

Reopen PL5

Capture d’écran 2022-01-19 à 14.28.08

Rating is now 0, proving that the DOP file does not get read in the absence of an XMP file


I noticed, at least, two things:

  1. PL5 doesn’t write either the rating change or the image edit until the second time it was closed. If I select another thumbnail before closing the first time, the changes are written.
  2. If you delete the XMP file, the Rating in the DOP file gets ignored.

Well, Bryan, what do you think of that? And can you reproduce it?

@joanna

What do I think of that well

  1. You are trying to outdo me with the longest post!

  2. I cannot reproduce it because it does not happen on Win 10, or rather on Win 10 on my Main machine. PL4 and PL5 play happily together with the DOP making its way to PL5 and PL5 leaving it alone so I can pick it up happily in PL4 until I make an edit in PL5.

I will rerun the tests on my test machine after clearing the databases etc. but the base photos I used have not been used in any previous PL5 tests of mine (deliberately avoided, hence the use of the term base and baseline, against which later incarnations can be compared). I will repeat the tests later today on my machine where I will clear the databases and follow your tests to the letter but using my way more attractive pictures from the garden (taken last July)!

It is possible that PL4 and PL5 prefer such pictures but I somehow doubt that!!!

Edit 01:

  1. Set up new directory with photos that have no rating.
  2. Open in PL4 and add ‘Ratings’ (Rank) and Tags.
  3. Close PL4 and open PL5
  4. Navigate to directory in PL5 and BINGO it works!

image

image