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 Runtime #68

Closed
vicenrico opened this issue Nov 4, 2017 · 5 comments
Closed

get Runtime #68

vicenrico opened this issue Nov 4, 2017 · 5 comments

Comments

@vicenrico
Copy link

When I try to getRuntime in any language (not English) I get 0. When I swith language to English, it does well. Can this be fixed? Thanks in advance.

@holgerbrandl
Copy link
Collaborator

For a particular movie or for all? Could you post a code example?

@vicenrico
Copy link
Author

result = api.getMovies().getMovie(339964, "es", TmdbMovies.MovieMethod.values());

result.getRuntime()==0

If I switch from "es" (spanish language) to "en" (english), everything is fine. Now, what I'm doing is duplicate the line. I mean...

result = api.getMovies().getMovie(339964, "es", TmdbMovies.MovieMethod.values());

This, to get all data in Spanish. And....

result1 = api.getMovies().getMovie(339964, "en", TmdbMovies.MovieMethod.values());

...Only to get the runtime

@vicenrico
Copy link
Author

vicenrico commented Nov 5, 2017

I forget. Is for all the movies I tried. I could write the code from the previous message, but I'm making two connections for every movie and I don't want to waste such connections, because I download cast, and pictures. And everything multiplied for every user my program has.

@holgerbrandl
Copy link
Collaborator

That's strange, I've tried your first example and seems to return the correct result:
image

@vicenrico
Copy link
Author

You're right. A week ago it didn't work. I don't know why, but now it's working. Thanks!. Sorry for the inconvenence.

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

2 participants