5 Replies Latest reply on May 14, 2018 12:40 PM by kadajawi2

    Import and EXIF data issues

    kadajawi2 Level 1

      I've had some very strange behaviour with LR 7.3.1 recently.


      A camera I'm currently testing (Sony Xperia XZ2) always resets the file name whenever I remove all photos. As a result, I have lots of files named DSC_0001 etc. Thus I've copied all photos in new folders named "Neuer Ordner (1)" etc. When I tried to import them, I found out that when I dragged all photos from "Neuer Ordner (12)" it would instead import photos from "Neuer Ordner (4)", for example. Weird.


      I also renamed the files with date and time in front of the DSC_????, but found out that supposedly two files called DSC_0181 were taken at the exact same date and time, despite having entirely different content. Checking the EXIF data with Windows 10 and some other apps indeed the photos were taken at the same time, and had other similar infos that didn't make sense for one of the files (for example GPS data). Looking into the EXIF data further with exiftool, I found that there was another tag called "Sony Date Time", which indeed contained the correct data for both files. The damaged file contains information that Lightroom modified the file, I suppose it happened during import.


      I've never noticed this issue before (not even with LR 7.3.1), though I've also never had a camera that keeps resetting the file name counter.


      Now I'm trying to recover at least some of the information... thankfully I've been keeping track of my location regardless in a track log, so I guess the main thing to do is figure out how to recover the date. It is rather annoying.


      Is it just me? Anyone else with such weird issues? Any suggestions? Maybe it's a bug Adobe might want to fix?

        • 1. Re: Import and EXIF data issues
          dj_paige Level 10

          This bug has been reported before, where cameras that always reset to file number 0001 (or people who do that) sometimes run into issues importing the photos, and Lightroom sometimes get the files confused.


          Are you sure this camera ALWAYS resets the file number to 0001?? There's not way to stop it from doing that? Seems to me that is the simplest solution, if it can be done.


          If you have ExifTool, you can copy the Sony Date Time to whatever field is used by Lightroom for date/time. Also, you can have Lightroom NOT write the data to xmp until you get this straightened out, which will maintain the original EXIF.

          • 2. Re: Import and EXIF data issues
            kadajawi2 Level 1

            Unfortunately I don't know of a way to stop this behaviour, though I hope Sony will eventually issue a firmware update to implement a more sensible file naming system. It's an absolute mess, since depending on the capturing mode it will use completely different systems of naming files. Not sure what they were thinking.


            exiftool "-DateTimeOriginal<SonyDateTime" "*.JPG" fixes the date issue, though other issues such as wrong image orientation remain and can't be fixed.


            I'll try to rename the files before importing, that way Lightroom shouldn't be confused. But there's still 6000+ files, some of which are affected and that I can't fix. :-/


            Besides, it's not exactly speaking for Adobe if they can't get this issue fixed.


            May I ask how old the bug is?

            • 3. Re: Import and EXIF data issues
              dj_paige Level 10

              Sure you can ask. However, I have no idea.

              • 4. Re: Import and EXIF data issues
                JimHess Adobe Community Professional & MVP

                I don't know anything at all about your camera. However, in the menu options for my Nikon camera I have a choice to have the numbering reset whenever I remove the card or have the numbering continue on. Are you certain there isn't such an option for your camera as well?

                • 5. Re: Import and EXIF data issues
                  kadajawi2 Level 1

                  It's the latest Sony top of the line smartphone (well, apart from the XZ2 Pro), and Sony sadly wasn't so thoughtful as to give the option. It's a shame, because otherwise it's quite capable, despite the lack of OIS and missing raw support.


                  But regardless this is a bug that deserves fixing, since even if you have a camera that can be fixed, users will run into it the issue and lose some data. I noticed strange behaviour, but until I found out what happened...