fix(server): exif gps decoding (#6138)

This commit is contained in:
waclaw66
2024-01-10 13:36:54 +01:00
committed by GitHub
parent 08fcce9e90
commit 902977f165
3 changed files with 43 additions and 43 deletions

View File

@@ -457,7 +457,7 @@ export class MetadataService {
fileSizeInByte: stats.size,
fNumber: validate(tags.FNumber),
focalLength: validate(tags.FocalLength),
fps: validate(tags.VideoFrameRate),
fps: validate(parseFloat(tags.VideoFrameRate!)),
iso: validate(tags.ISO),
latitude: validate(tags.GPSLatitude),
lensModel: tags.LensModel ?? null,