The Movie Database Support

Can someone explain to me why I get no result with the following query:

https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US&sort_by=revenue.desc&include_adult=false&include_video=false&page=1&with_companies=3&with_runtime.gte=60

I broke down every step of my code. The problem is with the runtime, like there is no movie from pixar with a runtime greater than 1 hour. What do you think ? Any idea ?

Thank you for your support

Michael

5 replies (on page 1 of 1)

Jump to last post

I've edited your post to not include your API key.

As for your question - seems strange to me too. Editing some random Pixar movie and saving it apparently solves the problem. I tried it for the Cars movie and when you make your query with "&with_runtime.gte=60", it is now returned as the only result:

https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US&sort_by=revenue.desc&include_adult=false&include_video=false&page=1&with_companies=3&with_runtime.gte=59

{  
  "page": 1,  
  "total_results": 1,  
  "total_pages": 1,  
  "results": [  
    {  
      "popularity": 109.164,  
      "vote_count": 8057,  
      "video": false,  
      "poster_path": "/jpfkzbIXgKZqCZAkEkFH2VYF63s.jpg",  
      "id": 920,  
      "adult": false,  
      "backdrop_path": "/a1MlbLBk5Sy6YvMbSuKfwGlDVlb.jpg",  
      "original_language": "en",  
      "original_title": "Cars",  
      "genre_ids": [  
        12,  
        16,  
        35,  
        10751  
      ],  
      "title": "Cars",  
      "vote_average": 6.7,  
      "overview": "Lightning McQueen, a hotshot rookie race car driven to succeed, discovers that life is about the journey, not the finish line, when he finds himself unexpectedly detoured in the sleepy Route 66 town of Radiator Springs. On route across the country to the big Piston Cup Championship in California to compete against two seasoned pros, McQueen gets to know the town's offbeat characters.",  
      "release_date": "2006-06-09"  
    }  
  ]  
}  

Perhaps @travisbell would know better thinking.

Hi guys,

Yes, it seems like this is a legitimate bug. I have created a new ticket for me to look into this here. I will update this post when I get the fix pushed.

Cheers.

I believe the runtime query issues have been fixed, please let me know if you find anymore issues.

Cheers.

Hello,

it seems like, the runtime query does not use the region specified in the request, but takes all regions into account to filter by runtime. Is this the desired behavior?

Best regards

Yes, this is the intended behaviour. Querying runtimes does not take the requested translation into account.

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