fix(server): override sub sec date time via xmp
This commit is contained in:
parent
1890c0ab6b
commit
0861e5aae9
1 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue