Add Quicktime:CreateDate to list of EXIF fields to check for video files (#375)

This commit is contained in:
auenkind 2020-04-27 01:18:23 +02:00 committed by GitHub
parent 8e95b96e11
commit 7d77d55750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,7 @@ When I organize photos I look at the embedded metadata. Here are the details of
| Dimension | Fields | Notes | | Dimension | Fields | Notes |
|---|---|---| |---|---|---|
| Date Taken (photo) | EXIF:DateTimeOriginal, EXIF:CreateDate, EXIF:ModifyDate, file created, file modified | | | Date Taken (photo) | EXIF:DateTimeOriginal, EXIF:CreateDate, EXIF:ModifyDate, file created, file modified | |
| Date Taken (video, audio) | QuickTime:CreationDate, QuickTime:CreationDate-und-US, QuickTime:MediaCreateDate, file created, file modified | | | Date Taken (video, audio) | QuickTime:CreationDate, QuickTime:CreateDate, QuickTime:CreationDate-und-US, QuickTime:MediaCreateDate, H264:DateTimeOriginal, file created, file modified | |
| Location (photo) | EXIF:GPSLatitude/EXIF:GPSLatitudeRef, EXIF:GPSLongitude/EXIF:GPSLongitudeRef | | | Location (photo) | EXIF:GPSLatitude/EXIF:GPSLatitudeRef, EXIF:GPSLongitude/EXIF:GPSLongitudeRef | |
| Location (video, audio) | XMP:GPSLatitude, Composite:GPSLatitude, XMP:GPSLongitude, Composite:GPSLongitude | Composite tags are read-only | | Location (video, audio) | XMP:GPSLatitude, Composite:GPSLatitude, XMP:GPSLongitude, Composite:GPSLongitude | Composite tags are read-only |
| Title (photo) | XMP:Title | | | Title (photo) | XMP:Title | |

View File

@ -34,6 +34,7 @@ class Video(Media):
super(Video, self).__init__(source) super(Video, self).__init__(source)
self.exif_map['date_taken'] = [ self.exif_map['date_taken'] = [
'QuickTime:CreationDate', 'QuickTime:CreationDate',
'QuickTime:CreateDate',
'QuickTime:CreationDate-und-US', 'QuickTime:CreationDate-und-US',
'QuickTime:MediaCreateDate', 'QuickTime:MediaCreateDate',
'H264:DateTimeOriginal' 'H264:DateTimeOriginal'