mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
update dlna profiles
This commit is contained in:
@@ -655,7 +655,17 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
private string CreateSortNameFromCustomValue(string value)
|
||||
{
|
||||
return string.IsNullOrWhiteSpace(value) ? null : ModifySortChunks(value).ToLower();
|
||||
return string.IsNullOrWhiteSpace(value) ? null : NormalizeCustomSortName(value);
|
||||
}
|
||||
|
||||
protected virtual string NormalizeCustomSortName(string value)
|
||||
{
|
||||
if (ConfigurationManager.Configuration.EnableSimpleSortNameHandling)
|
||||
{
|
||||
return value.RemoveDiacritics().ToLower();
|
||||
}
|
||||
|
||||
return ModifySortChunks(value).ToLower();
|
||||
}
|
||||
|
||||
public bool IsSortNameDefault(string value)
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
}
|
||||
}
|
||||
|
||||
return Number + "-" + (Name ?? string.Empty);
|
||||
return (Number ?? string.Empty) + "-" + (Name ?? string.Empty);
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
|
||||
@@ -22,6 +22,8 @@ namespace MediaBrowser.Controller.Net
|
||||
/// <returns>System.Object.</returns>
|
||||
object GetResult(object content, string contentType, IDictionary<string,string> responseHeaders = null);
|
||||
|
||||
object GetRedirectResult(string url);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the optimized result.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user