Hi, I noticed that some movies have a green tick next to the release date, some others don't. What does this indicate? Also, is it available in the API? Thanks, C
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 6 de noviembre de 2014 a las 10:51
Hi expntly,
When you're editing the release dates, the green check indicates a "primary release date". More about what we consider to be the primary release date can be found here.
The release date that shows for a movie is the primary release date (if one is chosen). If it is not chosen, we grab the earliest date that has been added to a movie.
Contestado por Damien Haynes
el 27 de noviembre de 2014 a las 00:54
It may be worth having a 'primary' field in the /movie/{id}/releases method response.
Does the first result in the array represent the primary? e.g.
{ "id": 550, "countries": [ { "iso_3166_1": "US", "certification": "R", "release_date": "1999-10-15" }, { "iso_3166_1": "DE", "certification": "18", "release_date": "1999-11-11" }, { "iso_3166_1": "GB", "certification": "18", "release_date": "1999-11-12" }, { "iso_3166_1": "FR", "certification": "16", "release_date": "1999-11-10" }, { "iso_3166_1": "TR", "certification": "", "release_date": "1999-12-10" }, { "iso_3166_1": "BR", "certification": "feibris", "release_date": "1999-07-12" }, { "iso_3166_1": "FI", "certification": "K-18", "release_date": "1999-11-12" }, { "iso_3166_1": "BG", "certification": "c", "release_date": "2012-08-28" } ] }
Is US the primary in this example because its the first result? If not, how do you determine the primary if there are multiple countries with the same release date set e.g.
{ "id": 550, "countries": [ { "iso_3166_1": "US", "certification": "R", "release_date": "1999-10-15" }, { "iso_3166_1": "DE", "certification": "18", "release_date": "1999-10-15" }, ] }
Contestado por Travis Bell
el 4 de diciembre de 2014 a las 14:22
Hey Damien,
Sorry for the late reply. No, I don't think the first one returned on the API is the "primary". The
primary
field is not available on the releases method right now. I've created a new ticket for this here and will take a look at it soon.Contestado por Damien Haynes
el 4 de diciembre de 2014 a las 15:17
Thanks Travis.
Contestado por expntly
el 6 de diciembre de 2014 a las 22:13
Would the primary release date be a good signal to tell whether a release date is accurate? E.g. the software I wrote using the API indicates to the user that the movie "American ultra" is going to be released on 2015-01-01, but my searches indicate that there isn't a date yet. Thanks!
Contestado por Travis Bell
el 7 de diciembre de 2014 a las 10:12
Hi expntly,
No, probably not.
In this case, for some reason the user who added American Ultra to our db added what looks like a bogus release date.
Contestado por expntly
el 13 de diciembre de 2014 a las 02:42
OK.
What are my options? I'd rather not have to pulll from other sources in addition to tmdb in order to make my signal more accurate :-)
How about relying on how far in the future the release date is? I'm thinking in this case it wouldn't have helped since that release date is less than a month from now and my threshold would probably have been something like 3 months. But maybe it covers the majority of the cases? Do you kind of have an idea when (how long before) the release date starts being reliable on tmdb?
Thanks again!
Contestado por Travis Bell
el 25 de febrero de 2015 a las 11:12
Hey guys,
Ticket #434 was just pushed live on the API. You'll have to wait ~6 hours for the cached items to expire but the
primary
field now available.Cheers.