Служба підтримки The Movie Database

Strictly speaking in an API Search query, what is the difference between the "year" and "primary_release_year" parameters... What are their definitions? So when would one be used over the other, if not both? I suppose to answer this question we would need to know which was being queried, but not id be in control of that which furthers my question how to use these. I did see the General note in "Editing Movies"

_"Release Dates

The primary release date, if set, is used as the year you will see throughout the site when looking at a movie (page titles, movie summary in lists, etc...) If a primary release data isn't set, we look for the U.S. date next. In the even that a U.S. date hasn't been added, we simply default to the first release entry by date.

If you see a '1900' referenced on a movie, that means that no release date has been added. Head in and add one."__

But that doesn't exactly answer my question.

Perhaps if i actually knew more about movies it would, but i suppose i don't...

Thanks

3 відповідей (на сторінці 1 із 1)

Jump to last post

Hi @axa,

By using the year filter, you are using all of the releases dates that have been added to a movie to search for information about. This means you're including theatrical release dates as well as digital and physical releases. By using the primary_release_year, you are only only using the single release date that we have added as the primary release.

@travisbell Would it be possible to document this in the API? year and primary_release_year fields are missing a description on https://developers.themoviedb.org/3/search/search-movies

I agree, it would be handy to document this, I had to search for it and stumble across this conversation.

Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.

Загальні

s відкрити панель пошуку
p відкрити меню профілю
esc закрити відкрите вікно
? відкрити вікно з гарячими клавішами

На сторінках медіа

b повернутися назад
e перейти до сторінки редагування

На сторінках сезонів шоу

(стрілка вправо) перейти до наступного сезону
(стрілка вліво) перейти до попереднього сезону

На сторінках серій шоу

(стрілка вправо) перейти до наступної серії
(стрілка вліво) перейти до попередньої серії

На всіх сторінках зображень

a відкрити вікно додавання зображення

На всіх сторінках редагування

t відкрити перемикач перекладів
ctrl+ s підтвердити форму

На сторінках обговорення

n створити нове обговорення
w змінити статус стеження
p перемикач публічно/приватно
c перемикач відкрито/закрито
a відкрити активність
r відповісти на обговорення
l перейти до останньої відповіді
ctrl+ enter підтвердити повідомлення
(стрілка вправо) наступна сторінка
(стрілка вліво) попередня сторінка

Налаштування

Хочете оцінити чи додати до списку?

Увійти

Немає облікового запису?

Приєднайтеся до спільноти