Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS metadata mess #544

Open
terrancewong opened this issue Oct 13, 2022 · 1 comment
Open

iOS metadata mess #544

terrancewong opened this issue Oct 13, 2022 · 1 comment
Assignees

Comments

@terrancewong
Copy link

Describe the bug

iOS uses CreationDate as original date time, but gphoto2 reads other date.

Name the camera

% gphoto2 --auto-detect
Model                          Port                                            
----------------------------------------------------------
Apple iPhone 5 (PTP mode)      usb:001,017    

actually iPhone8 with iOS 16.0.3 (20A392)

libgphoto2 and gphoto2 version

gphoto2 2.5.28

Copyright (c) 2000-2021 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.28         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.29         standard camlibs, gcc, no ltdl, EXIF
libgphoto2_port 0.12.0         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

To Reproduce

when getting file or all-files with --filename="%Y%m%d/%f.%C", iOS uses CreationDate as original date time of a photo/video, but gphoto2 uses other tag as date.

@msmeissn
Copy link
Contributor

We currently use the CaptureDate or ( if set ModificationDate ) from the PTP Object Info.

We do not look at MTP object properties currently for the date.

can you get the debuglog and extract 1 image objectinfo debugoutput ?
(e.g.
gphoto2 -L --debug --debug-logfile=list.log
and check list.log for the ObjectInfo output)

@msmeissn msmeissn self-assigned this Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants