feat(server): read Android and Sony video camera make/model (#16678)

* feat(server): read Android and Sony video camera exif data

* Remove a logger line
This commit is contained in:
Snowknight26
2025-03-09 22:20:11 -05:00
committed by GitHub
parent 9870ad9687
commit 2f8e89c7ec
3 changed files with 28 additions and 2 deletions
+2 -2
View File
@@ -221,8 +221,8 @@ export class MetadataService extends BaseService {
colorspace: exifTags.ColorSpace ?? null,
// camera
make: exifTags.Make ?? null,
model: exifTags.Model ?? null,
make: exifTags.Make ?? exifTags?.Device?.Manufacturer ?? exifTags.AndroidMake ?? null,
model: exifTags.Model ?? exifTags?.Device?.ModelName ?? exifTags.AndroidModel ?? null,
fps: validate(Number.parseFloat(exifTags.VideoFrameRate!)),
iso: validate(exifTags.ISO) as number,
exposureTime: exifTags.ExposureTime ?? null,