mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
commit
11c67d886b
@ -699,6 +699,7 @@ namespace MediaBrowser.Api.Images
|
|||||||
|
|
||||||
private ImageFormat[] GetClientSupportedFormats()
|
private ImageFormat[] GetClientSupportedFormats()
|
||||||
{
|
{
|
||||||
|
//Logger.Debug("Request types: {0}", string.Join(",", Request.AcceptTypes ?? new string[] { }));
|
||||||
var supportsWebP = (Request.AcceptTypes ?? new string[] { }).Contains("image/webp", StringComparer.OrdinalIgnoreCase);
|
var supportsWebP = (Request.AcceptTypes ?? new string[] { }).Contains("image/webp", StringComparer.OrdinalIgnoreCase);
|
||||||
|
|
||||||
var userAgent = Request.UserAgent ?? string.Empty;
|
var userAgent = Request.UserAgent ?? string.Empty;
|
||||||
|
@ -547,7 +547,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
|
|||||||
|
|
||||||
if (series == null)
|
if (series == null)
|
||||||
{
|
{
|
||||||
SmartMatchInfo info = options.SmartMatchInfos.FirstOrDefault(e => e.MatchStrings.Contains(seriesName, StringComparer.OrdinalIgnoreCase));
|
SmartMatchInfo info = options.SmartMatchInfos.FirstOrDefault(e => e.MatchStrings.Contains(nameWithoutYear, StringComparer.OrdinalIgnoreCase));
|
||||||
|
|
||||||
if (info != null)
|
if (info != null)
|
||||||
{
|
{
|
||||||
|
@ -354,6 +354,9 @@ namespace MediaBrowser.WebDashboard.Api
|
|||||||
DeleteFoldersByName(Path.Combine(bowerPath, "Sortable"), "meteor");
|
DeleteFoldersByName(Path.Combine(bowerPath, "Sortable"), "meteor");
|
||||||
DeleteFoldersByName(Path.Combine(bowerPath, "Sortable"), "st");
|
DeleteFoldersByName(Path.Combine(bowerPath, "Sortable"), "st");
|
||||||
DeleteFoldersByName(Path.Combine(bowerPath, "Swiper"), "src");
|
DeleteFoldersByName(Path.Combine(bowerPath, "Swiper"), "src");
|
||||||
|
DeleteFoldersByName(Path.Combine(bowerPath, "material-design-lite"), "src");
|
||||||
|
DeleteFoldersByName(Path.Combine(bowerPath, "material-design-lite"), "utils");
|
||||||
|
_fileSystem.DeleteFile(Path.Combine(bowerPath, "material-design-lite", "gulpfile.babel.js"));
|
||||||
|
|
||||||
_fileSystem.DeleteDirectory(Path.Combine(bowerPath, "marked"), true);
|
_fileSystem.DeleteDirectory(Path.Combine(bowerPath, "marked"), true);
|
||||||
_fileSystem.DeleteDirectory(Path.Combine(bowerPath, "marked-element"), true);
|
_fileSystem.DeleteDirectory(Path.Combine(bowerPath, "marked-element"), true);
|
||||||
|
@ -436,14 +436,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||||||
|
|
||||||
var files = new List<string>();
|
var files = new List<string>();
|
||||||
|
|
||||||
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
|
files.Add("bower_components/requirejs/require.js");
|
||||||
{
|
|
||||||
files.Add("bower_components/requirejs/require.js");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
files.Add("bower_components" + version + "/requirejs/require.js");
|
|
||||||
}
|
|
||||||
|
|
||||||
files.Add("scripts/site.js" + versionString);
|
files.Add("scripts/site.js" + versionString);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user