mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-20 17:16:42 +00:00
move season zero display name to per library settings
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
/// <value>The metadata country code.</value>
|
||||
public string MetadataCountryCode { get; set; }
|
||||
|
||||
public string SeasonZeroDisplayName { get; set; }
|
||||
|
||||
public LibraryOptions()
|
||||
{
|
||||
EnablePhotos = true;
|
||||
@@ -37,6 +39,7 @@
|
||||
PathInfos = new MediaPathInfo[] { };
|
||||
EnableInternetProviders = true;
|
||||
EnableAutomaticSeriesGrouping = true;
|
||||
SeasonZeroDisplayName = "Specials";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -77,12 +77,6 @@ namespace MediaBrowser.Model.Configuration
|
||||
public string MetadataPath { get; set; }
|
||||
public string MetadataNetworkPath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the display name of the season zero.
|
||||
/// </summary>
|
||||
/// <value>The display name of the season zero.</value>
|
||||
public string SeasonZeroDisplayName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the preferred metadata language.
|
||||
/// </summary>
|
||||
@@ -239,8 +233,6 @@ namespace MediaBrowser.Model.Configuration
|
||||
SortRemoveCharacters = new[] { ",", "&", "-", "{", "}", "'" };
|
||||
SortRemoveWords = new[] { "the", "a", "an" };
|
||||
|
||||
SeasonZeroDisplayName = "Specials";
|
||||
|
||||
UICulture = "en-us";
|
||||
|
||||
MetadataOptions = new[]
|
||||
|
||||
@@ -794,7 +794,8 @@ namespace MediaBrowser.Model.Dlna
|
||||
|
||||
if (applyConditions)
|
||||
{
|
||||
foreach (var transcodingVideoCodec in ContainerProfile.SplitValue(transcodingProfile.VideoCodec))
|
||||
var transcodingVideoCodecs = ContainerProfile.SplitValue(transcodingProfile.VideoCodec);
|
||||
foreach (var transcodingVideoCodec in transcodingVideoCodecs)
|
||||
{
|
||||
if (i.ContainsCodec(transcodingVideoCodec, transcodingProfile.Container))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user