Stats & More Polish on Metadata Matching (#3538)
This commit is contained in:
parent
6f3ba0948b
commit
5d6a5f0987
34 changed files with 178 additions and 124 deletions
|
@ -382,10 +382,12 @@ public class SeriesService : ISeriesService
|
|||
// Check if the person exists in the dictionary
|
||||
if (existingPeopleDictionary.TryGetValue(normalizedPersonName, out var p))
|
||||
{
|
||||
// TODO: Should I add more controls here to map back?
|
||||
if (personDto.AniListId > 0 && p.AniListId <= 0 && p.AniListId != personDto.AniListId)
|
||||
{
|
||||
p.AniListId = personDto.AniListId;
|
||||
}
|
||||
p.Description = string.IsNullOrEmpty(p.Description) ? personDto.Description : p.Description;
|
||||
continue; // If we ever want to update metadata for existing people, we'd do it here
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue