Axuda de The Movie Database

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

14 respostas (na páxina 1 de 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.

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión