Luke Pulverenti 9 роки тому
батько
коміт
55d556863c

+ 1 - 1
MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

@@ -222,7 +222,7 @@ namespace MediaBrowser.MediaEncoding.Probing
             }
             }
             else if (string.Equals(streamInfo.codec_type, "video", StringComparison.OrdinalIgnoreCase))
             else if (string.Equals(streamInfo.codec_type, "video", StringComparison.OrdinalIgnoreCase))
             {
             {
-                stream.Type = isAudio || string.Equals(stream.Codec, "mjpeg", StringComparison.OrdinalIgnoreCase)
+                stream.Type = isAudio || string.Equals(stream.Codec, "mjpeg", StringComparison.OrdinalIgnoreCase) || string.Equals(stream.Codec, "gif", StringComparison.OrdinalIgnoreCase)
                     ? MediaStreamType.EmbeddedImage
                     ? MediaStreamType.EmbeddedImage
                     : MediaStreamType.Video;
                     : MediaStreamType.Video;
 
 

+ 0 - 1
MediaBrowser.WebDashboard/Api/DashboardService.cs

@@ -345,7 +345,6 @@ namespace MediaBrowser.WebDashboard.Api
             DeleteFoldersByName(bowerPath, "grunt");
             DeleteFoldersByName(bowerPath, "grunt");
             DeleteFoldersByName(bowerPath, "rollups");
             DeleteFoldersByName(bowerPath, "rollups");
 
 
-            _fileSystem.DeleteDirectory(Path.Combine(bowerPath, "jquery", "external"), true);
             _fileSystem.DeleteDirectory(Path.Combine(bowerPath, "jquery", "src"), true);
             _fileSystem.DeleteDirectory(Path.Combine(bowerPath, "jquery", "src"), true);
           
           
             DeleteCryptoFiles(Path.Combine(bowerPath, "cryptojslib", "components"));
             DeleteCryptoFiles(Path.Combine(bowerPath, "cryptojslib", "components"));