Wsparcie The Movie Database

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

14 odpowiedzi (strona 1 z 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.

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj