fix actor meta loss #10
This commit is contained in:
parent
2958a52ea5
commit
c9b418da70
|
@ -150,9 +150,9 @@ namespace Jellyfin.Plugin.MetaShark.Providers
|
||||||
result.HasMetadata = true;
|
result.HasMetadata = true;
|
||||||
subject.LimitDirectorCelebrities.Take(this.config.MaxCastMembers).ToList().ForEach(c => result.AddPerson(new PersonInfo
|
subject.LimitDirectorCelebrities.Take(this.config.MaxCastMembers).ToList().ForEach(c => result.AddPerson(new PersonInfo
|
||||||
{
|
{
|
||||||
Name = c.Name == "" ? "未知" : c.Name,
|
Name = c.Name,
|
||||||
Type = c.RoleType == "" ? "未知" : c.Name,
|
Type = c.RoleType,
|
||||||
Role = c.Role == "" ? "未知" : c.Name,
|
Role = c.Role,
|
||||||
ImageUrl = c.Img,
|
ImageUrl = c.Img,
|
||||||
ProviderIds = new Dictionary<string, string> { { DoubanProviderId, c.Id } },
|
ProviderIds = new Dictionary<string, string> { { DoubanProviderId, c.Id } },
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in New Issue