|
@@ -183,8 +183,8 @@ export class MetadataExtractionProcessor {
|
|
if (newExif.livePhotoCID && !asset.livePhotoVideoId) {
|
|
if (newExif.livePhotoCID && !asset.livePhotoVideoId) {
|
|
const motionAsset = await this.assetRepository.findLivePhotoMatch(
|
|
const motionAsset = await this.assetRepository.findLivePhotoMatch(
|
|
newExif.livePhotoCID,
|
|
newExif.livePhotoCID,
|
|
- AssetType.VIDEO,
|
|
|
|
asset.id,
|
|
asset.id,
|
|
|
|
+ AssetType.VIDEO,
|
|
);
|
|
);
|
|
if (motionAsset) {
|
|
if (motionAsset) {
|
|
await this.assetRepository.save({ id: asset.id, livePhotoVideoId: motionAsset.id });
|
|
await this.assetRepository.save({ id: asset.id, livePhotoVideoId: motionAsset.id });
|
|
@@ -294,8 +294,8 @@ export class MetadataExtractionProcessor {
|
|
if (newExif.livePhotoCID) {
|
|
if (newExif.livePhotoCID) {
|
|
const photoAsset = await this.assetRepository.findLivePhotoMatch(
|
|
const photoAsset = await this.assetRepository.findLivePhotoMatch(
|
|
newExif.livePhotoCID,
|
|
newExif.livePhotoCID,
|
|
- AssetType.IMAGE,
|
|
|
|
asset.id,
|
|
asset.id,
|
|
|
|
+ AssetType.IMAGE,
|
|
);
|
|
);
|
|
if (photoAsset) {
|
|
if (photoAsset) {
|
|
await this.assetRepository.save({ id: photoAsset.id, livePhotoVideoId: asset.id });
|
|
await this.assetRepository.save({ id: photoAsset.id, livePhotoVideoId: asset.id });
|