The Movie Database atbalsts

Hi,

I wonder if I can make an api call for upcoming movies and exclude movies that don't have any trailer?

Thank Bennie

4 replies (on page 1 of 1)

Jump to last post

Hi Bennie,

There's no way to query for that data right now. It could be helpful to know what movies/TV shows don't' have trailers though. I'll give this some thought.

Hey Bennie,

What i've done is just excluded them in my code, when videos array comes back empty, then I ignore that movie (in your case). It is extra info too pull for no reason, but it seems like the most logical situation. Sad to see that so many movies are missing trailers. (from what I've pulled so far)

Thanks for quick reply @travisbell @timothymarois , it is like what timothmarios says, there is alot of movies that don't have trailers or covers. It would be great if there where an option in the api call that can exclude these videos.

@timothymarois I am now ignoring the movies that don't have any trailer, thanks for the info :-) But the negative in this is that we have 40 requests every 10 seconds.

@travisbell Also I have one more question, regarding the upcoming movies, when I pull a request I get movies that have already been released, in my request I have the option religion "us" Am I doing this wrong?

Thanks for the good work Bennie

@travisbell Also I have one more question, regarding the upcoming movies, when I pull a request I get movies that have already been released, in my request I have the option religion "us" Am I doing this wrong?

I would switch to using discover instead of the upcoming method. Upcoming is just a discover qurey behind the scenes, so if you are feeling like you need to make some adjustments, it's the way to go.

Region + release_date + with_release_type should get you where you want to be.

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties