You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-08 23:07:06 +02: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:
@ -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 => {
|
||||||
|
Reference in New Issue
Block a user