The Movie Database Support

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.

4 replies (on page 1 of 1)

Jump to last post

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.

I've never used this library before but it looks like he's defining the property properly.

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.

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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login