I thought this was going to be either the first time the film was ever shown. Or is it meant to be first release per country?
e.g. Finding Nemo has 8 primary releases!
None of which are the US or Canada, which is where it was shown first. Of those 8 countries, none have a non-primary release date.
So at this point, I have no clue what Primary is meant to convey.
I ask as I can't seem to find the field when editing the release dates for a film.
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 6. Oktober 2016 um 19:02
Hi Adi,
Where are you seeing all of these original releases? I'm not sure what method/field you're referencing.
Antwort von Adi
am 6. Oktober 2016 um 20:54
My apologies. I meant the Primary field within Release Dates.
Antwort von Adi
am 6. Oktober 2016 um 20:55
I have edited the original post accordingly.
Antwort von Travis Bell
am 6. Oktober 2016 um 21:17
Ok, now we're on the same page 😉
It sounds like you're using the old
/releases
method which was deprecated back in January. I posted about this on the blog back then, you can read about it here.The newer
/release_dates
method doesn't have any concept of primary at all (in fact the primary data being returned by the /releases method would have been left dormant since January as no edit interface exists for it anymore) and is keyed by country with support for the new types that was introduced at that time. The docs for this are located here.Does that make more sense now?
Antwort von Adi
am 6. Oktober 2016 um 21:59
What was it meant to represent at the time?
Antwort von Travis Bell
am 7. Oktober 2016 um 00:09
Prior to the change in January we allowed a single release to be marked as "primary". Primary was our way of selecting the first wide theatrical release date.
I am curious as to where you're getting the data you mentioned in your original post. Calling /releases on id 12 yields 0 records with primary marked as true, which now that I think about it, is what I changed it to do once the new release system came out. No /releases call will return any primary records any more. They will all be false, this field doesn't exist in the DB anymore.
Antwort von Adi
am 7. Oktober 2016 um 00:23
This was from May. Finding Nemo had 50 release dates, of which 8 were set as Primary. NO, FR, GR, BE, JP, PH, CH, BR.
Antwort von Travis Bell
am 7. Oktober 2016 um 00:36
I modified that model on January 13 which was the last time that file has a commit. I don't know what you grabbed in May but it didn't have any releases set to true ;)
Antwort von Adi
am 7. Oktober 2016 um 00:55
http://api.themoviedb.org/3/movie/12?api_key=xxx&append_to_response=alternative_titles,credits,images,keywords,releases,videos,similar
The field is still there. They are all set to false now, but they weren't at the time.
Antwort von Travis Bell
am 7. Oktober 2016 um 11:11
Guess we'll just have to chalk this one up to, I have no idea. I hardcoded the value to
false
on January 13 so 😕