From a9594cd8b47bece2e9732cc7addb6b118dd130a4 Mon Sep 17 00:00:00 2001 From: Nick <20588554+nicknsy@users.noreply.github.com> Date: Thu, 18 May 2023 15:32:15 -0700 Subject: [PATCH] Minor code change --- MediaBrowser.Providers/Trickplay/TrickplayManager.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/MediaBrowser.Providers/Trickplay/TrickplayManager.cs b/MediaBrowser.Providers/Trickplay/TrickplayManager.cs index d377d2d802..2304f803ec 100644 --- a/MediaBrowser.Providers/Trickplay/TrickplayManager.cs +++ b/MediaBrowser.Providers/Trickplay/TrickplayManager.cs @@ -317,14 +317,7 @@ public class TrickplayManager : ITrickplayManager } var libraryOptions = _libraryManager.GetLibraryOptions(video); - if (libraryOptions is not null) - { - if (!libraryOptions.EnableTrickplayImageExtraction) - { - return false; - } - } - else + if (libraryOptions is null || !libraryOptions.EnableTrickplayImageExtraction) { return false; }