Writing XMP to files

Status
Not open for further replies.

clee01l

Senior Member
Lightroom Guru
Premium Classic Member
Premium Cloud Member
Joined
Jun 20, 2009
Messages
27,953
Location
Houston, TX USA
Lightroom Experience
Power User
Lightroom Version
Cloud Service
From the Lightroom Help page:
Specify where to write metadata changes. Lightroom lets you specify where to write adjustments and settings metadata. The information can be written to XMP or to the catalog. [list type=decimal]
[li]Click the Metadata tab, and then do either of the following: [/li]
[/list]

  • [li]To write adjustments and settings metadata to XMP, select Automatically Write Changes Into XMP.
    [/li]
    [li]To write adjustments and settings metadata to the catalog, deselect Automatically Write Changes Into XMP.[/li]
If you don’t write adjustments and settings metadata to XMP automatically, you can select a file and choose Metadata > Save Metadata To File
AND
In the case of camera raw files that have a proprietary file format, XMP isn’t written into the original files. To avoid file corruption, XMP metadata is stored in a separate file called a sidecar file. For all other file formats supported by Lightroom (JPEG, TIFF, PSD, and DNG), XMP metadata is written into the files in the location specified
In Lightoom configuration, I have the metadata box checked that reads:"Automatically write changes into XMP".It would be hoped with that checkbox checked that Develop Changes tracked by LR would be written to the file automatically.

Since my camera raw file is not a proprietary format but a DNG file, Lightroom should update the DNG file without me having to manually do it via <Cntl><S>. I have discovered that this is not the case and if I want my DNG XMP block updates, I need to do it manually in spite of the checkbox.

Do I understand the configurations settings correctly?

Is there a way to automatically get LR to write these changes to the DNG file so I don't have to remember?
 
If you've got the "Automatically Write Changes Into XMP checkbox checked, the DNG should indeed be updated automatically.

How are you checking this? The changes are not written immediately; in the interest of interactive response, there is sometimes a short time lag before the file actually gets written.
 
[quote author=Mark Sirota link=topic=7333.msg4996'#msg4996' date=1248485963]
If you've got the "Automatically Write Changes Into XMP checkbox checked, the DNG should indeed be updated automatically.

How are you checking this? The changes are not written immediately; in the interest of interactive response, there is sometimes a short time lag before the file actually gets written.
[/quote]I'm checking this via EXIFtool. and also watching the Date Modified tag in Windows Explorer.
In my process, I'm working individual images in the Develop Module. I complete an image and save a snapshot (which is supposed to get written to XMP). I move on to the next image which should be a clear signal to LR that I am done with that image. Minutes pass. I may even go back to the Library Mode. After waiting long enough to possibly turn off LR, I see that there is no XMP update. I initiate <cntl><s> and the file gets its update as fast as the HD can write.

I was first aware of this when I went to check the XMP on some images I processed days ago and discovered they still showed only the initial import XMP snapshot. Today I did the above test to vertify the issue.
I was initially
 
If you stop using the computer for a couple of minutes, rather than just moving on to the next image, does that update? Last time I checked this, where possible it waited for a gap in doing anything, for performance reasons.
 
[quote author=Victoria Bampton link=topic=7333.msg5'''1#msg5'''1 date=1248538677]
If you stop using the computer for a couple of minutes, rather than just moving on to the next image, does that update? Last time I checked this, where possible it waited for a gap in doing anything, for performance reasons.
[/quote]As I said in my previous post, I first discovered this are revisitiing some of my processed DNGs days after I had first processed them. I just created a snapshot before this post. I'll keep LR open and post back the results in an hour or so.
 
Ah, I missed that! Be interesting to hear what else you find out.
 
Ok, It has been two and a half hours. Lightroom has been idling in Library mode with nothing to do (I had lunch). Windows Explorer, when refreshed still shows the Date Modified as the same as the import date.
EXIF Tool still reports the original XMP settings and no EXIF/ Metadata updates since the original Import. For the benefit of any doubters, I have attached a screen capture of the Metadata Tab on the Catalog Configuration dialog.

On the off chance that there is something in LR that impacts only the DNG file, I also made XMP changes to a JPEG file. It did not update either.

I have noticed that the right panel, the Metadata Status is marked "..." and the icon by it suggest that I could update if I chose <OK>. So, is this a 2.4 bug or can anyone else get auto XPM update to work?
 
I haven't seen it recently, but I did see it in 2.1. At that point, selecting all of the files, and clicking the ... in the Metadata panel and forcing it to overwrite the xmp (not sure why twice, and not sure why that worked better than Ctrl-S...) was enough to clear the conflict and get everything back to normal.

Did you try another temporary catalog, to see if it's specific to that catalog?

I have seen LR 2.4 slower to read external metadata, but I haven't noticed writing. Technically it could be related though, so http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform"]Official Feature Request/Bug Report Form[/URL] time I think.
 
I just tested this on Windows XP. I created a new catalogue, and switched on the automatic update. I then imported a DNG which was made from a NEF file, and set its rating to something different from upon import. Within a minute or so, the modified time in Explorer had changed. I then made it b&w, waited a moment, and then the modified time updated again. Added a snapshot, same result. Looking at it in Bridge, it now has the rating I expected, and is b&w. So it looks like it's working as I'd expect.

See if you can trigger an update. Increase the images' rating, wait a while.

John
 
I'll try a new catalog and report back tomorrow. BTW, a possible reason I see it and you don't is I'm running Vista not XP. [quote author=johnbeardy link=topic=7333.msg5''18#msg5''18 date=1248551'33]
I just tested this on Windows XP. ...Within a minute or so, the modified time in Explorer had changed...See if you can trigger an update. Increase the images' rating, wait a while.

John
[/quote]
 
[quote author=clee'1l link=topic=7333.msg5''2'#msg5''2' date=124855199']
I'll try a new catalog and report back tomorrow. BTW, a possible reason I see it and you don't is I'm running Vista not XP. [quote author=johnbeardy link=topic=7333.msg5''18#msg5''18 date=1248551'33]
I just tested this on Windows XP. ...Within a minute or so, the modified time in Explorer had changed...See if you can trigger an update. Increase the images' rating, wait a while.

John
[/quote]
[/quote]I tried a new catalog, placed a few images into it and tried to update the XMP. It was about as instanteous as you could want. Armed with this new knowledge, I looked for ways to fix the catalog without reimporting 23K images. The only option seemed to be to Optimise and Relaunch. After doing this, any new XMP changes were written promply as they should. What still bothers me is that the database may get this way again and it is not easily noticed that the XMP changes are not getting written to the files as they should. I only noticed this by accident because I was using EXIFtool to review XMP data that I knew should be there. I do not know of a sure method to get all my XMP changes written to the files.
 
Great news Cletus!

It's worth doing an Optimise and Relaunch on a regular basis, and whenever you've made any major changes (additions, removals, etc).
 
[quote author=Victoria Bampton link=topic=7333.msg5'313#msg5'313 date=1248815283]
Great news Cletus!

It's worth doing an Optimise and Relaunch on a regular basis, and whenever you've made any major changes (additions, removals, etc).
[/quote]

I was very skeptical about using the optimize and relaunch feature as I was sure it would not make the slightest scrap of difference (same as my experience with windows defrag) but was amazed at the increase in smoothness. I now do this after every import.
 
Status
Not open for further replies.
Back
Top