Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyRacer1337 committed Dec 4, 2020
1 parent 99c8d5e commit 2e90d14
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Jellyfin.Plugin.PhoenixAdult/Helpers/Actors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ public static List<PersonInfo> Cleanup(MetadataResult<Movie> scene)
{
var newPeople = new PersonInfo
{
Type = people.Type,
ImageUrl = people.ImageUrl,
};

if (newPeople.Type != null)
{
newPeople.Type = people.Type;
}
else
if (string.IsNullOrEmpty(newPeople.Type))
{
newPeople.Type = PersonType.Actor;
}
Expand Down

0 comments on commit 2e90d14

Please sign in to comment.