1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

fix(server): use preview path for person thumbnails from videos (#18419)

use preview path for person thumbnails from videos
This commit is contained in:
Mert
2025-05-21 12:15:30 -04:00
committed by GitHub
parent 188188a844
commit 493b9b7a54
3 changed files with 57 additions and 4 deletions

View File

@ -246,4 +246,17 @@ export const personThumbnailStub = {
exifOrientation: '1',
previewPath: previewFile.path,
}),
videoThumbnail: Object.freeze({
ownerId: userStub.admin.id,
x1: 100,
y1: 100,
x2: 200,
y2: 200,
oldHeight: 500,
oldWidth: 400,
type: AssetType.VIDEO,
originalPath: '/original/path.mp4',
exifOrientation: '1',
previewPath: previewFile.path,
}),
};