The Movie Database -tuki

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 vastausta (sivulla 1, sivuja yhteensä 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.

Etkö löydä elokuvaa tai TV-ohjelmaa? Kirjaudu sisään lisätäksesi se.

Koko sivustolla

s keskitä hakukenttään
p avaa profiilivalikko
esc sulje avoin ikkuna
? avaa pikanäppäinikkuna

Mediasivuilla

b palaa takaisin (tai hakemistoon mikäli mahdollista)
e siirry editoimaan sivua

TV-sarjan kausien sivuilla

(oikea nuolinäppäin) siirry seuraavaan kauteen
(vasen nuolinäppäin) siirry edelliseen kauteen

TV-sarjan jaksojen sivuilla

(oikea nuolinäppäin) siirry seuraavaan jaksoon
(vasen nuolinäppäin) siirry edelliseen jaksoon

Kaikilla kuvasivustoilla

a avaa "lisää kuva" ikkuna

Kaikilla muokkaus-sivuilla

t avaa kielivalinta
ctrl+ s Lähetä lomake

Keskustelu sivuilla

n luo uusi keskustelu
w vaihda seurannan asetus
p vaihda julkinen/yksityinen asetus
c vaihda avaa/sulje asetus
a avaa viimeaikainen toiminta
r vastaa keskusteluun
l siirry viimeisimpään vastaukseen
ctrl+ enter Lähetä viesti
(oikea nuolinäppäin) seuraava sivu
(vasen nuolinäppäin) edellinen sivu

Asetukset

Haluatko pisteyttää vai lisätä tämän nimikkeen listaan?

Kirjaudu

Ei rekisteröitynyt jäsen?

Rekisteröidy ja liity mukaan yhteisöön