I am successfully using "getVoteAverage" for movies.
According to this page: https://developers.themoviedb.org/3/tv/get-tv-details
a vote_average field exists in tv series at the same level as it does in movies.
But I can't find a getVoteAverage method as exists for movies. What am I missing?
Thanks for your kind assistance.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by motobojo
on December 8, 2022 at 2:48 PM
I probably should mention I'm using: https://github.com/holgerbrandl/themoviedbapi/
It's been working great in my application for LOTS of stuff. So, on average, I'm using the tools correctly.
According to a search of the git project there is a method defined in the TvSeries portion of the project. I'm successfully using lots of other methods in the TvSeries part.
So I'm stumped.
Reply by Travis Bell
on December 8, 2022 at 5:06 PM
I've never used this library before but it looks like he's defining the property properly.
Reply by motobojo
on December 9, 2022 at 2:45 PM
I'm coming to the conclusion that something odd is going on with my IDE's (IntelliJ Idea) handling of this library in that it is flagging my attempt to use the getVoteAverage method on my instance of TmdbSeriesInfo (out of "import info.movito.themoviedbapi.model.tv.TvSeries" from themoviedbapi-1.12.jar) as "Cannot resolve method 'getVoteAverage' in 'TmdbSeriesInfo'". I thought maybe the jar was corrupt, so I downloaded a fresh copy (same version (the latest). That didn't help.
I realize this problem might be outside the purview of this group, but it is adjacent and I can't seem to find any support for the API wrapper itself.
Reply by motobojo
on December 17, 2022 at 6:24 PM
I figured it out. It was such a long time ago that I started using this library. I had forgotten that I was the one to define the TmdbSeriesInfo class and in doing so I had not defined the necessary support for the getVoteAverage method as I had done for the Movie side of things. Sorry to bother you with this. Mods: feel free to delete if you'd this discussion if you'd like.