mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #13618 from Lampan-git/fix_people_meta_refresh
Include Role and SortOrder in MergePeople to fix "Search for missing metadata"
This commit is contained in:
commit
fcdef875a2
@ -1167,6 +1167,16 @@ namespace MediaBrowser.Providers.Manager
|
|||||||
{
|
{
|
||||||
person.ImageUrl = personInSource.ImageUrl;
|
person.ImageUrl = personInSource.ImageUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(personInSource.Role) && string.IsNullOrWhiteSpace(person.Role))
|
||||||
|
{
|
||||||
|
person.Role = personInSource.Role;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (personInSource.SortOrder.HasValue && !person.SortOrder.HasValue)
|
||||||
|
{
|
||||||
|
person.SortOrder = personInSource.SortOrder;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user