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

Get popular people refactor #401

Merged

Conversation

angyanmark
Copy link
Contributor

There is no need for PersonListType.cs and PersonResult.cs.
Get popular people method renamed and language parameter added.

Now it matches the get popular movies and get popular tv shows methods, they all return a SearchContainer<SearchBase>.

@angyanmark
Copy link
Contributor Author

angyanmark commented Jan 4, 2023

Hi, @LordMike!

Could you take a look at this PR?

  • I changed the get popular people method's name and return value, now it is consistent with the other get popular methods (GetMoviePopularListAsync, GetTvShowPopularAsync).
  • I added the language parameter to the method.
  • I also removed the PersonResult class, it is the same as SearchPerson, and was only used here. Now all get popular methods return a SearchContainer<SearchBase>.

Thanks!

@LordMike LordMike merged commit fe50e09 into jellyfin:master Jan 9, 2023
@angyanmark angyanmark deleted the features/get-popular-people-refactor branch January 11, 2023 14:56
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.

None yet

2 participants