Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use performers disambiguation #36

Open
MikeLund opened this issue Aug 23, 2024 · 0 comments
Open

Use performers disambiguation #36

MikeLund opened this issue Aug 23, 2024 · 0 comments

Comments

@MikeLund
Copy link
Contributor

We could include performers{disambiguation} in the graphql query. Because right now, if a performer has the same name as another, they get merged as if they're the same person -- and thus their display image and search results are inaccurate.

Plex doesn't have any good way to have disambiguations (metadata.roles only has objects for name, photo, and role - with that last option being scene-specific), so it'd probably be best to append the disambiguation after name in parentheses.

Easy fix if someone's bored: simply include disambiguation into the performers block, which is contained in the code id_query. Then go to where we have "Create and populate role with actor's name" in the code. Then check if disambiguation was non-null from the graphql response. If so, append it in parentheses after the actor's name, setting it to role.name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant