Merge pull request #11739 from Shadowghost/fix-trickplay

Do not run trickplay on scan if disabled
This commit is contained in:
Bond-009 2024-05-21 13:57:41 +02:00 committed by GitHub
commit 86f5c93434
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}