Skip to content

Commit

Permalink
Fix emby compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyRacer1337 committed Dec 4, 2020
1 parent 2e90d14 commit 7a1429f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jellyfin.Plugin.PhoenixAdult/Helpers/Actors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ public static List<PersonInfo> Cleanup(MetadataResult<Movie> scene)
ImageUrl = people.ImageUrl,
};

#if __EMBY__
#else
if (string.IsNullOrEmpty(newPeople.Type))
{
newPeople.Type = PersonType.Actor;
}
#endif

newPeople.Name = WebUtility.HtmlDecode(newPeople.Name);
newPeople.Name = CultureInfo.InvariantCulture.TextInfo.ToTitleCase(people.Name);
Expand Down

0 comments on commit 7a1429f

Please sign in to comment.