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 svar (på sida 1 av 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.

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus på sökrutan
p öppna profilmenyn
esc stäng ett öppet fönster
? öppna tangentbordsgenväg fönstret

På mediasidor

b gå tillbaka (eller till förälder när det är tillämpligt)
e gå till redigerings sidan

På tv-säsongssidor

(höger pil) gå till nästa säsong
(vänster pil) gå till den föregående säsongen

På tv-avsnittssidor

(höger pil) gå till nästa avsnitt
(vänster pil) gå till föregående avsnitt

På alla bildsidor

a öppna lägg till bild fönstret

På alla redigeringssidor

t öppna översättnings väljaren
ctrl+ s skicka förmulär

På diskussionssidor

n skapa ny diskussion
w växla sedd-status
p växla offentligt/privat
c växla stäng/öppna
a öppna aktivitet
r svara på diskussionen
l gå till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nästa sida
(vänster pil) föregående sida

Inställningar

Vill du betygsätta denna artikel eller lägga till den i en lista?

Logga in