2
0
Эх сурвалжийг харах

Only run ffprobe on local content

Eric Reed 12 жил өмнө
parent
commit
51e11eb3e3

+ 5 - 0
MediaBrowser.Controller/Providers/MediaInfo/FFProbeVideoInfoProvider.cs

@@ -85,6 +85,11 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
         /// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
         /// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
         public override bool Supports(BaseItem item)
         public override bool Supports(BaseItem item)
         {
         {
+            if (item.LocationType != LocationType.FileSystem)
+            {
+                return false;
+            }
+
             var video = item as Video;
             var video = item as Video;
 
 
             if (video != null)
             if (video != null)