Only set season name if it's unset

This commit is contained in:
Shadowghost 2024-05-19 16:50:51 +02:00
parent 99de0ca45f
commit 7fa72260ca

View File

@ -78,7 +78,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.TV
}
}
if (season.IndexNumber.HasValue)
if (season.IndexNumber.HasValue && string.IsNullOrEmpty(season.Name))
{
var seasonNumber = season.IndexNumber.Value;
season.Name = seasonNumber == 0 ?