Backport pull request #11739 from jellyfin/release-10.9.z

Do not run trickplay on scan if disabled

Original-merge: 86f5c93434

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
pull/11835/head
Shadowghost 6 months ago committed by Joshua M. Boniface
parent 4430706915
commit c3091b75a3

@ -101,7 +101,7 @@ public class TrickplayProvider : ICustomMetadataProvider<Episode>,
bool? enableDuringScan = libraryOptions?.ExtractTrickplayImagesDuringLibraryScan; bool? enableDuringScan = libraryOptions?.ExtractTrickplayImagesDuringLibraryScan;
bool replace = options.ReplaceAllImages; bool replace = options.ReplaceAllImages;
if (options.IsAutomated && !enableDuringScan.GetValueOrDefault(false)) if (!enableDuringScan.GetValueOrDefault(false))
{ {
return ItemUpdateType.None; return ItemUpdateType.None;
} }

Loading…
Cancel
Save