Code Monkey home page Code Monkey logo

Comments (9)

holgerbrandl avatar holgerbrandl commented on August 30, 2024

Hmm, the unit-tests run through without a problem. Could you provide an example movie ID?

from themoviedbapi.

naritaya avatar naritaya commented on August 30, 2024

I've tryed with id 246655 (The last X-Men) and with id 984, both send me null lists.
If it matters, I use the api with "fr" argument for language.

from themoviedbapi.

hurragutter avatar hurragutter commented on August 30, 2024

Getting this as well, on a wide variety of movies that has cast-information if queried directly including 550 (fight club), 293660 (deadpool) and 269149 (zootopia)

from themoviedbapi.

chandakvishal avatar chandakvishal commented on August 30, 2024

And UserRating() also returns null tried for Deadpool, Zootopia, Now You See Me 2 etc.

from themoviedbapi.

chandakvishal avatar chandakvishal commented on August 30, 2024

It can be because user_rating is attributed to "vote_average" in JSON Response and not as "rating". Can you please comment on that.

from themoviedbapi.

holgerbrandl avatar holgerbrandl commented on August 30, 2024

concerning the null-cast @naritaya @chandakvishal . Do you fetch the movie with credits?

MovieDb movie = movies.getMovie(293660, "en",  MovieMethod.credits); // ie. TmdbMovies.MovieMethod.credits
List<PersonCast> cast = movie.getCast();

This reports back the correct cast to me. Both for "fr" and "en". Not sure if the language matters for the cast anyway.

from themoviedbapi.

holgerbrandl avatar holgerbrandl commented on August 30, 2024

@chandakvishal concerning the rating which is actually a completely unrelated issue:
Since it's account-related it won't be fetched via movies.getMovie() but only when using the account api tmdb.getAccount().getRatedMovies. For an example see the unit test info.movito.themoviedbapi.AccountApiTest#testMovieRating.

Does this make sense to you or do you still think the json mapping is wrong?

from themoviedbapi.

holgerbrandl avatar holgerbrandl commented on August 30, 2024

I can not reproduce the case that the genres are null. Could you provide a code-snippet/example?

from themoviedbapi.

hurragutter avatar hurragutter commented on August 30, 2024

My mistake, works with the MovieMethods-params included.

from themoviedbapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.