gh-120 Update EXIF date taken tags to use EXIF:CreateDate and EXIF:ModifyDate
This commit is contained in:
parent
cbfd39a20e
commit
21b7c9fad1
|
@ -219,7 +219,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:DateTime, EXIF:DateTimeDigitized, 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:CreationDate-und-US, QuickTime:MediaCreateDate, 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 |
|
||||||
|
|
|
@ -35,8 +35,8 @@ class Media(Base):
|
||||||
self.exif_map = {
|
self.exif_map = {
|
||||||
'date_taken': [
|
'date_taken': [
|
||||||
'EXIF:DateTimeOriginal',
|
'EXIF:DateTimeOriginal',
|
||||||
'EXIF:DateTime',
|
'EXIF:CreateDate',
|
||||||
'EXIF:DateTimeDigitized'
|
'EXIF:ModifyDate'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
self.album_keys = ['XMP-xmpDM:Album', 'XMP:Album']
|
self.album_keys = ['XMP-xmpDM:Album', 'XMP:Album']
|
||||||
|
|
Loading…
Reference in New Issue