Merge pull request #11647 from Shadowghost/fix-season-names

Fix season names
This commit is contained in:
Joshua M. Boniface
2024-05-17 13:47:24 -04:00
committed by GitHub
4 changed files with 39 additions and 16 deletions

View File

@@ -83,7 +83,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.TV
var seasonNumber = season.IndexNumber.Value;
if (string.IsNullOrEmpty(season.Name))
{
var seasonNames = series.SeasonNames;
var seasonNames = series.GetSeasonNames();
if (seasonNames.TryGetValue(seasonNumber, out var seasonName))
{
season.Name = seasonName;