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

getGenres() doesn't work on MovieResultsPage #150

Closed
swagdecon opened this issue Dec 11, 2023 · 2 comments
Closed

getGenres() doesn't work on MovieResultsPage #150

swagdecon opened this issue Dec 11, 2023 · 2 comments
Labels

Comments

@swagdecon
Copy link

Hiya,
Great work on this project!

Was wondering if it would be possible to fix getGenres() not working on some of the movie list endpoints, example:

` List results = tmdbApi.getMovies().getNowPlayingMovies("en-US", page, "").getResults();

for (MovieDb movie : results ) {
MovieDb film = new MovieDb();
film.setGenres(movie.getGenres());
movieResults.add(film);
}
`
movie.getGenres() returns null here

Thanks :)

@c-eg
Copy link
Owner

c-eg commented Dec 12, 2023

Hey, thank you.

I am in the process of updating the entire library, so this will be fixed when that update is released. When it is finished, I will be releasing an entirely new version (2.0.0) because there are many breaking changes, I doubt the current version (1.15.1) will be remotely similar to the new version because of how much their api has changed over the years.

So, within the next month or so, you can expect a new release where this will be implemented.

Thanks for your interest :)

@c-eg
Copy link
Owner

c-eg commented Mar 22, 2024

Hi, this has been fixed in #175 :)

@c-eg c-eg closed this as completed Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants