File tree 1 file changed +3
-3
lines changed
server/src/domain/metadata
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { AssetEntity , AssetType , ExifEntity } from '@app/infra/entities' ;
2
2
import { ImmichLogger } from '@app/infra/logger' ;
3
3
import { Inject , Injectable } from '@nestjs/common' ;
4
- import { ExifDateTime , Tags , exiftool } from 'exiftool-vendored' ;
4
+ import { ExifDateTime , Tags } from 'exiftool-vendored' ;
5
5
import { firstDateTime } from 'exiftool-vendored/dist/FirstDateTime' ;
6
6
import { constants } from 'fs/promises' ;
7
7
import _ from 'lodash' ;
@@ -389,11 +389,11 @@ export class MetadataService {
389
389
// Samsung MotionPhoto video extraction
390
390
// JPEG-encoded
391
391
if ( tags . EmbeddedVideoType === 'MotionPhoto_Data' && tags . EmbeddedVideo ) {
392
- video = await this . repository . extractBinaryTag ( 'EmbeddedVideo' , asset . originalPath ) ;
392
+ video = await this . repository . extractBinaryTag ( asset . originalPath , 'EmbeddedVideo' ) ;
393
393
}
394
394
// HEIC-encoded
395
395
else if ( tags . MotionPhotoVideo ) {
396
- video = await this . repository . extractBinaryTag ( 'MotionPhotoVideo' , asset . originalPath ) ;
396
+ video = await this . repository . extractBinaryTag ( asset . originalPath , 'MotionPhotoVideo' ) ;
397
397
}
398
398
// Default video extraction
399
399
else {
You can’t perform that action at this time.
0 commit comments