You've already forked immich
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:
13
server/test/fixtures/person.stub.ts
vendored
13
server/test/fixtures/person.stub.ts
vendored
@ -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,
|
||||
}),
|
||||
};
|
||||
|
Reference in New Issue
Block a user