mirror of https://github.com/jellyfin/jellyfin.git
switch to jquery slim
This commit is contained in:
parent
b01780a9b7
commit
55d556863c
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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"));
|
||||||
|
|
Loading…
Reference in New Issue