دعم الموقع

I am retrieving all results sorting by popularity using the discover movie end for each page and concatenating them for all pages in subsequent order like this:

allResults += response.json()['results'] 

However, when I look at

allResults

the ordering is not quite respected. It is for the most part, but then I see a 2.0 after a 0.6, and similar instances. What could be the cause of this? Thanks.

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

Jump to last post

The objects returned on lists like discover and search are cached and when it comes to popularity, only refreshed once a day. Other events can however trigger items to get refreshed in the discover service and that happens outside of what data is actually returned in the response.

Short(er) reply, we make no guarantees that the data returned is 100% fresh and in sync. This is just the nature of the service given there is multiple layers of cached data being returned.

Thanks, that makes sense. I can sort the values a posteriori.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول