The Movie Database Support

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

14 replies (on page 1 of 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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login