12 Replies Latest reply: Sep 23, 2013 12:57 AM by bob frost RSS

    How can I make metadata saved to xmp file stay saved?

    Bob Metzler Community Member

      When a raw file badge shows that the file has been changed, I use Metadata Save to File & for the large majority of my images, the badge goes away and Metadata Status Changed does not show the file.  For some of my files, however, the Save to File command doesn't work properly.  If I am only displaying files with changes, the file briefly disappears, then returns.  Even if I go to Windows Explorer and delete the xmp file, then again Save metadata to file, it pops up again with the badge saying it needs to be saved.  Can anyone tell me what I might be doing wrong, or is there a bug?  I'm using Lightroom 4.3 64 bit on Windows 7.

        • 1. Re: How can I make metadata saved to xmp file stay saved?
          web-weaver Community Member

          You are not doing anything wrong; it's an old and well known bug. But the metadata is saved to xmp correctly.

          It helps if you uncheck the box <Automatically save changes to XMP> in >Edit >Catalog Settings >Metadata tab.

          Even when the box is unchecked you can do the manual Ctrl / Cmd + S to save metadata to file.

           

          You can do a little test: do some editing for one of your photos then do Ctrl / Cmd + S and then go >Metadata >Read metadata from file.

          You will not see any changes in your image, which means that all edits were saved in the xmp.

          • 2. Re: How can I make metadata saved to xmp file stay saved?
            Bob Metzler Community Member

            I never check the "Automatically save . . . " box, would slow things down too much.  I have tried both manual saves of metadata one file at a time & also selecting a bunch of images that show they have been changed & then apply the Metadata Save to file command, in both cases the images "bounch" right back with the unsaved badge.  I'll try your suggestion to see if changes are being saved, but even if so, this means the ability to locate all files with changes & save them in one operation will not work.  Thanks, web-weaver.

            • 3. Re: How can I make metadata saved to xmp file stay saved?
              Mollysnoot Community Member

              As webweaver states, it's an annoying bug that - from my experience - seems to occur at random with the occasional image. I always save metadata manually and so rely on a smart collection to prompt me as to which images need their metadata updating. It's therefore rather unhelpful when an image in the catalogue appears not to have saved the metadata when in fact it has. I've picked up some tips along the way which allow you to resolve the issue when it crops up:

               

              - if it's a DNG, use the 'update metadata and preview' option;

              - for any other format (and in fact this will likely work for DNG as well), save the metadata as usual, and if it bounces back again the use the 'read metadata from file' option.

               

              Either of these methods should "force" LR to correctly indicate that the metadata for the file is up to date. Sure wish Adobe could sort this out though...

               

              Hope this helps.

               

              M

              • 4. Re: How can I make metadata saved to xmp file stay saved?
                areohbee Community Member

                I have determined one definite cause for this problem, documented (see 2nd post) here:

                 

                http://feedback.photoshop.com/photoshop_family/topics/lightroom_4_4rc_metadata_needs_to_be _saved_status_not_cleared_by_saving_metadata

                 

                As has been mentioned, following metadata save with metadata read is a work-around.

                 

                Note: you can see exactly, everything, the difference between metadata in catalog and metadata in xmp on disk, using ChangeManager's "Compare Catalog to Disk" feature; hint: choose 'No Exclusions' to see the "inconsequential" differences too. Reminder: this does a bunch of stuff involving xmp file copying and saving xmp / reading metadata / restoring afterward... - which presents lots of hoops to jump through, at first, in Windows, and forever, on Mac, but if you tough it out, you will get the pot of result gold at the end of the hoop rainbow...

                 

                Cheers,

                Rob

                • 5. Re: How can I make metadata saved to xmp file stay saved?
                  Mollysnoot Community Member

                  Thanks Rob, that an interesting finding. Sadly it doesn't seem to be the cause of the issues I sometimes have though, as I'm pretty much exclusively in PV2012, but it's definitely one to keep in mind. It appears that there are several factors that cause this buggy behaviour in the catalogue, and I have no idea what they all are...

                   

                  M

                  • 6. Re: How can I make metadata saved to xmp file stay saved?
                    areohbee Community Member

                    Consider trying ChangeManager's comparison feature, since it will identify all differences between catalog and xmp, and there's a very good chance the problem is due to some unresolvable discrepancy between catalog and xmp, even if it's not changed PV2010 settings (which for the record only causes a problem when you are working in PV2012). Even if the root cause is something else, it may turn up the source... Granted, Adobe should be the one doing this, not you, since it probably won't make much difference to you except for a satisfied curiosity. On ther other hand, theoretically, if you hand Adobe the deal on a silver platter it should make it more likely they'll fix it, albeit, sadly, I've handed them dozens of bugs on silver platters, yet very few have been fixed .

                     

                    Cheers,

                    Rob

                    • 7. Re: How can I make metadata saved to xmp file stay saved?
                      Bob Metzler Community Member

                      Rob, I'm not familiar with ChangeManager.  Where/how do I get it?

                       

                      By the way, I've got all but two files (of 60,000) up-to-date now, mostly by reading Metadata from disk rather than copying to disk.

                      • 8. Re: How can I make metadata saved to xmp file stay saved?
                        areohbee Community Member

                        Bob Metzler wrote:

                         

                        Where/how do I get it?

                        Hi Bob,

                         

                        It's an Lr plugin that you can download from robcole.com.

                         

                        https://www.google.com/search?q=ChangeManager+Lightroom+plugin

                         

                        R

                        • 9. Re: How can I make metadata saved to xmp file stay saved?
                          Christian777777 Community Member

                          I have the same Problem with about 30 images in my catalog:

                          When I save the changes into the jpg file, the file is changed (what can be checked in the explorer) and the date of the metadata in lightroom is adapted to the new time. A minute later the metadata  is marked as changed again with the date of metadata ine minute earlier...

                           

                          I have tried the Change manager and get the error code:

                          Unable to read metadata for ("path:filename.jpg") because read validation timed out (last-edit-time never updated).

                           

                          The last edit time in the file is set. so I have no idea what the problem is with the files...

                          • 10. Re: How can I make metadata saved to xmp file stay saved?
                            Bob Metzler Community Member

                            Though I don't know the root causes, I've found that after I save metadata to file & then some of the images pop up as not current metadata status, if I then select all of them and load metadata from file to LR, everyone is happy.

                            • 11. Re: How can I make metadata saved to xmp file stay saved?
                              web-weaver Community Member

                              Bob Metzler,

                              Yes this seems to work.

                              But the important thing is to realize that the metadata is saved to xmp and stays saved in the xmp irrespective of what the warning says.

                              • 12. Re: How can I make metadata saved to xmp file stay saved?
                                bob frost Community Member

                                I've found that if you manually save out metadata, the 'metadata is changed' status is not changed. You can manually overcome this it seems by reading the saved metadata back into LR, but the whole problem is avoided if you have 'Automatically save metadata to xmp' ON. Then LR seems to record the fact that it has saved out the metadata and cancels the 'metadata is changed' flag.

                                 

                                Bob Frost