mirror of
https://github.com/immich-app/immich
synced 2025-06-08 06:10:58 +00:00
feat(server): parse EXIF creation time for some insta360 images (#17564)
It seems insta360 stores metadata in XMP GPano tags, with their own non-standard and undocumented addition `SourceImageCreateTime`. For some pictures this is the only EXIF tag containing a creation time.
This commit is contained in:
parent
79d4ce2d6d
commit
7562088fac
@ -42,6 +42,8 @@ const EXIF_DATE_TAGS: Array<keyof Tags> = [
|
|||||||
'SubSecMediaCreateDate',
|
'SubSecMediaCreateDate',
|
||||||
'MediaCreateDate',
|
'MediaCreateDate',
|
||||||
'DateTimeCreated',
|
'DateTimeCreated',
|
||||||
|
// Undocumented, non-standard tag from insta360 in xmp.GPano namespace
|
||||||
|
'SourceImageCreateTime' as keyof Tags,
|
||||||
];
|
];
|
||||||
|
|
||||||
const validate = <T>(value: T): NonNullable<T> | null => {
|
const validate = <T>(value: T): NonNullable<T> | null => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user