Sprijin Bază de date filme (The Movie Database)

As title said, you can simply try query="My boss", and change year.

14 răspunsuri (pe pagina 1 din 1)

Jump to last post

Why my discussion close?

If you want help about a query, you need to provide the complete query you have sent as well as the supposed wrong answer you have got.

With this query, you will get all shows that are still in progress in the indicated year.

If you want the shows that have started on a specif year, you should use "first_air_date_year" instead of "year".

Even if I use "year=1000", I still get the same results.

As long as you didn't give us the exact answer you got, as asked above, we can't answer you precisely.

"https://api.themoviedb.org/3/search/tv?query=My%20boss&include_adult=false&language=en-US&page=1&year=1000" still give me the same results with any year. No drama in the list still in progress in year 1000.

@superboy97 said:

If you want the shows that have started on a specif year, you should use "first_air_date_year" instead of "year".

I know that if I want the shows that have started on a specific year, I should use first_air_date_year. But as I see, year parameter seem has bug, it has no effect as my title said: "Year parameter has no effect in https://api.themoviedb.org/3/search/tv"

There was a few things that went wrong here:

  1. Somewhere along the way, year searches got mapped to first_air_date_year internally. A year search is supposed to mimic the behaviour on discover, which is to search all episode air dates. This has been corrected.
  2. A valid year query is any number larger than 1000, and smaller than 9999. Using 1000 as a test value would be equivalent as not entering one at all.

The fix for the first issue has been deployed, and you'll now see searches like this working correctly:

https://api.themoviedb.org/3/search/tv?api_key=###&&query=game+of+thrones&year=2017

But please note, a lot of these pages are cached so you will have to wait up to ~8 hours for everything to purge.

I see it works now.

So to summarize:

  1. year is extracted from first_air_date_year, right?
  2. How about year in /search/movie? is it the same that extracted from primary_release_year?

@ntrnghia said:

So to summarize:

  1. year is extracted from first_air_date_year, right?

No. It's extracted from all of the episode air dates. first_air_date_year is extracted from the s1e1 air date, ie. when it premiered.

  1. How about year in /search/movie? is it the same that extracted from primary_release_year?

No. year is extracted from every release date. primary_release_year would be what to use if all you want to look at is the primary release date.

To summarize:

  • With "first_air_date_year", you get the shows that have started that year (date of the 1st episode of the 1st season).
  • With "year", you get the shows that had at least one episode during that year.

Thank you guys, I totally understand now. Thanks for support.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare