پشتیبانی پایگاه داده‌ فیلم

What is the best way of identifying whether a movie or tv show is rateable? For instance, upcoming movies or TV shows should not be ratable. I can see the API allows you to rate it, but it doesn't take effect (from what I can see).

If a movie has not been released, its status property is not "Released". Should I be using that? And if so, what about TV shows?

Or is there another approach, like looking at the release date?

3 پاسخ (در صفحه 1 از 1)

Jump to last post

Hi @FlixDB,

Items become rateable 7 days before their premiere date. Until then, ratings are not accepted.

Hi @travisbell ,

Thanks for getting back to me.

From the API's..i.e. https://developer.themoviedb.org/reference/movie-details or https://developer.themoviedb.org/reference/tv-series-details

What property or properties (or other API) can I use to identify if it's rateable? Are you saying we just need to look at the release date, and it's rateable 7 days prior to that date? Is this what the TMDB website does? or is there anything else that is more efficient?

In essence, yes. We look for the earliest release date and if it's 7 or less days from now, it's accepted.

For movies, you can use the /release_dates method. For TV, it's either the premiere (first air date) which is the air date of season 1, episode 1, or for TV episodes, simply the air date.

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود