Update MediaBrowser.Providers/TV/SeriesMetadataService.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
a496da24e3
commit
198b9aa530
|
@ -76,10 +76,9 @@ namespace MediaBrowser.Providers.TV
|
|||
}
|
||||
else if (targetSeasonNames.Count != sourceSeasonNames.Count || !sourceSeasonNames.Keys.All(targetSeasonNames.ContainsKey))
|
||||
{
|
||||
foreach (var season in sourceSeasonNames)
|
||||
foreach (var (number, name) in sourceSeasonNames)
|
||||
{
|
||||
var seasonNumber = season.Key;
|
||||
targetSeasonNames.TryAdd(seasonNumber, season.Value);
|
||||
targetSeasonNames.TryAdd(number, name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user