From fb68da2b51d22e9ed53d56f8efd13750ead77937 Mon Sep 17 00:00:00 2001 From: Matthew Mirvish <5255209+mincrmatt12@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:36:37 -0400 Subject: [PATCH] fix(server): avoid transcoding thumbnail streams (#11603) Co-authored-by: mincrmatt12 --- server/src/repositories/media.repository.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/repositories/media.repository.ts b/server/src/repositories/media.repository.ts index da1cb7f411..a84ef6f596 100644 --- a/server/src/repositories/media.repository.ts +++ b/server/src/repositories/media.repository.ts @@ -76,6 +76,7 @@ export class MediaRepository implements IMediaRepository { }, videoStreams: results.streams .filter((stream) => stream.codec_type === 'video') + .filter((stream) => !stream.disposition?.attached_pic) .map((stream) => ({ index: stream.index, height: stream.height || 0,