Do not run trickplay on scan if disabled

This commit is contained in:
Shadowghost 2024-05-19 16:52:59 +02:00
parent 76854b5eff
commit 2cebd5e05f

View File

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