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

Does the API support being able to choose only 3x2 poster size with the highest rating, if no 3x2 choose highest rated. Kodi should add this into there scraper

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

Jump to last post

Hi yvne,

It doesn't support an explicit 2:3 ratio selector but, if Kodi were to use the poster_path field that gets returned in the primary movie/tv object, they would get to use the "primary" image feature that we support on the website (the requirements to be picked as primary mean that it would be a perfect 2:3).

To clarify, this won't always mean a perfect ratio poster since not all items have a primary set but our rules for choosing the the poster that gets returned in the poster_path are pretty decent. We go down, hunting for the best image in this order:

  1. requested_language_primary
  2. requested_language
  3. en_primary
  4. en
  5. fallback (highest rated if none of the above conditions are met)

So this has 2 main benefits, first, by using the poster_path field you'll get the same results as the website. Secondly, we've already down all the work trying to find the best image so the client doesn't need to worry about it.

Cheers.

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

Global

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

در صفحات مدیا

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

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

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

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

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

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

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

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

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

در صفحات بحث

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

تنظیمات

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

ورود