Compare commits

...

1 commit

Author SHA1 Message Date
Jason Rasmussen
0861e5aae9
fix(server): override sub sec date time via xmp 2023-10-16 14:48:28 -04:00

View file

@ -331,6 +331,11 @@ export class MetadataService {
const sidecarTags = asset.sidecarPath ? await this.repository.getExifTags(asset.sidecarPath) : null;
const tags = { ...mediaTags, ...sidecarTags };
// No known way to override `SubSecDateTimeOriginal` via xmp
if (sidecarTags?.DateTimeOriginal && tags?.SubSecDateTimeOriginal) {
delete tags.SubSecDateTimeOriginal;
}
this.logger.verbose('Exif Tags', tags);
return {