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

Show "Actor" when an actor has an empty role #1055

Merged
merged 2 commits into from
Mar 15, 2023
Merged

Show "Actor" when an actor has an empty role #1055

merged 2 commits into from
Mar 15, 2023

Conversation

cewert
Copy link
Member

@cewert cewert commented Feb 27, 2023

For the extras cast and crew section, it appears that some actors have empty "roles".

Changes
Instead of showing "as " when the actor's role is empty, show "Actor" instead.

Issues
Fixes #1032
alternative to #1034

@cewert
Copy link
Member Author

cewert commented Feb 27, 2023

@candry7731 this is what I meant. Can you give it a test and tell me how it works for you?

@candry7731
Copy link
Contributor

I am getting an error.

image

@candry7731
Copy link
Contributor

image

@cewert
Copy link
Member Author

cewert commented Feb 28, 2023

@candry7731 sorry wrong function. It should work now

@cewert
Copy link
Member Author

cewert commented Mar 14, 2023

@candry7731 can you give this a test please?

Copy link
Contributor

@candry7731 candry7731 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better with just "actor" if unknown.

@cewert
Copy link
Member Author

cewert commented Mar 15, 2023

@candry7731 thanks for testing I'm glad it works. Do you want to use this PR instead of #1034?

@candry7731
Copy link
Contributor

Yes, I closed the other PR.

Do you think having the secondary text scroll would be nice? Sometimes the name is cut off or the character name is cut off....

@cewert
Copy link
Member Author

cewert commented Mar 15, 2023

It sounds like a solid idea to me but I'm not able to test at the moment to see for myself. I would recommend making an issue for it so we can get this fix merged for the next release.

@cewert cewert requested review from 1hitsong and neilsb March 15, 2023 18:23
@1hitsong
Copy link
Member

Both the actor's name and the character names scroll for me.

Win.20230315.17.24.32.Pro.mp4

@cewert cewert merged commit d213158 into jellyfin:unstable Mar 15, 2023
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

Successfully merging this pull request may close these issues.

Add "unkown" to cast role if meta is missing
3 participants