دعم الموقع

Doing an api call like:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THEAPIKEY&language=en-US&append_to_response=images

always seems to return an empty array of posters.
I've tried a few different tv series and all of them seem to have the same behavior.
It looks like the /tv/{tv_id}/season/{season_number} responds the same, also returning an empty list of posters.

Am I doing something wrong here, or is fetching season images currently broken?

2 ردود (على هذه الصفحة 1 من 1)

Jump to last post

I just tested it.
It seems to me that all the images came.

Your API Request is this:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THEAPIKEY&language=en-US&append_to_response=images

Mine is this

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&language=en-US&append_to_response=images

EDIT
OK. Understand.
In fact, it does not return the images.
I do not know why.
Let's wait for Travis Bell to come by and tell us what the problem is.


EDIT 2
Apparently if you do not specify language-REGION the images will return.

https://api.themoviedb.org/3/tv/71912/season/1/images?api_key=THE_KEY  
https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&append_to_response=images

EDIT 3
If you want to keep the language-REGION specification, then you need to specify the language of the images you want using the parameter &include_image_language =

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&language=en-US&append_to_response=images&include_image_language=en,pt,hu,null  

More information about this parameter, read here:
https://developers.themoviedb.org/3/getting-started/image-languages

Yes, the solution is to add include_image_language:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=###&language=en-US&append_to_response=images&include_image_language=en,null

If you wanted the images that haven't been tagged, and those tagged as English. This is all outlined in the docs here.

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول