move season zero display name to per library settings

This commit is contained in:
Luke Pulverenti
2017-09-24 16:23:56 -04:00
parent f29598283c
commit de5a8d579b
7 changed files with 13 additions and 68 deletions

View File

@@ -55,9 +55,9 @@ namespace Emby.Server.Implementations.Library.Resolvers.TV
if (season.IndexNumber.HasValue)
{
var seasonNumber = season.IndexNumber.Value;
season.Name = seasonNumber == 0 ?
_config.Configuration.SeasonZeroDisplayName :
args.LibraryOptions.SeasonZeroDisplayName :
string.Format(_localization.GetLocalizedString("NameSeasonNumber"), seasonNumber.ToString(UsCulture));
}