Pārlūkot izejas kodu

Minor code change

Nick 2 gadi atpakaļ
vecāks
revīzija
a9594cd8b4

+ 1 - 8
MediaBrowser.Providers/Trickplay/TrickplayManager.cs

@@ -317,14 +317,7 @@ public class TrickplayManager : ITrickplayManager
         }
         }
 
 
         var libraryOptions = _libraryManager.GetLibraryOptions(video);
         var libraryOptions = _libraryManager.GetLibraryOptions(video);
-        if (libraryOptions is not null)
-        {
-            if (!libraryOptions.EnableTrickplayImageExtraction)
-            {
-                return false;
-            }
-        }
-        else
+        if (libraryOptions is null || !libraryOptions.EnableTrickplayImageExtraction)
         {
         {
             return false;
             return false;
         }
         }