fix(server): exif duration with scale (#4541)

This commit is contained in:
Jason Rasmussen
2023-10-19 14:51:56 -04:00
committed by GitHub
parent 5a7ef02387
commit 29182cfc9a
3 changed files with 62 additions and 3 deletions
@@ -14,7 +14,12 @@ export interface ReverseGeocodeResult {
city: string | null;
}
export interface ImmichTags extends Omit<Tags, 'FocalLength'> {
export interface ExifDuration {
Value: number;
Scale?: number;
}
export interface ImmichTags extends Omit<Tags, 'FocalLength' | 'Duration'> {
ContentIdentifier?: string;
MotionPhoto?: number;
MotionPhotoVersion?: number;
@@ -22,6 +27,7 @@ export interface ImmichTags extends Omit<Tags, 'FocalLength'> {
MediaGroupUUID?: string;
ImagePixelDepth?: string;
FocalLength?: number;
Duration?: number | ExifDuration;
}
export interface IMetadataRepository {