diff options
| author | Nick <20588554+nicknsy@users.noreply.github.com> | 2023-05-18 15:32:15 -0700 |
|---|---|---|
| committer | Nick <20588554+nicknsy@users.noreply.github.com> | 2023-06-22 16:23:52 -0700 |
| commit | a9594cd8b47bece2e9732cc7addb6b118dd130a4 (patch) | |
| tree | c64ed7f12e765336c1cbb2269bee8fdac847fae5 | |
| parent | f82af0478122d668294affecd21f89fcec69a61d (diff) | |
Minor code change
| -rw-r--r-- | MediaBrowser.Providers/Trickplay/TrickplayManager.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/MediaBrowser.Providers/Trickplay/TrickplayManager.cs b/MediaBrowser.Providers/Trickplay/TrickplayManager.cs index d377d2d80..2304f803e 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; } |
