factor device pixel ratio into downloaded image size

This commit is contained in:
Luke Pulverenti
2014-05-23 19:58:28 -04:00
parent 40836f194b
commit 1e532d4f53
24 changed files with 200 additions and 71 deletions

View File

@@ -609,10 +609,14 @@ namespace MediaBrowser.Providers.TV
var roles = nameGroup.Count() > 1 ? nameGroup[1].Trim() : null;
if (roles != null)
roles = roles.EndsWith(")") ? roles.Substring(0, roles.Length - 1) : roles;
return new PersonInfo { Type = PersonType.GuestStar, Name = name, Role = roles };
}))
{
item.AddPerson(person);
if (!string.IsNullOrWhiteSpace(person.Name))
{
item.AddPerson(person);
}
}
}