دعم الموقع

Can someone explain to me why I get no result with the following query:

https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US&sort_by=revenue.desc&include_adult=false&include_video=false&page=1&with_companies=3&with_runtime.gte=60

I broke down every step of my code. The problem is with the runtime, like there is no movie from pixar with a runtime greater than 1 hour. What do you think ? Any idea ?

Thank you for your support

Michael

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

Jump to last post

I've edited your post to not include your API key.

As for your question - seems strange to me too. Editing some random Pixar movie and saving it apparently solves the problem. I tried it for the Cars movie and when you make your query with "&with_runtime.gte=60", it is now returned as the only result:

https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US&sort_by=revenue.desc&include_adult=false&include_video=false&page=1&with_companies=3&with_runtime.gte=59

{  
  "page": 1,  
  "total_results": 1,  
  "total_pages": 1,  
  "results": [  
    {  
      "popularity": 109.164,  
      "vote_count": 8057,  
      "video": false,  
      "poster_path": "/jpfkzbIXgKZqCZAkEkFH2VYF63s.jpg",  
      "id": 920,  
      "adult": false,  
      "backdrop_path": "/a1MlbLBk5Sy6YvMbSuKfwGlDVlb.jpg",  
      "original_language": "en",  
      "original_title": "Cars",  
      "genre_ids": [  
        12,  
        16,  
        35,  
        10751  
      ],  
      "title": "Cars",  
      "vote_average": 6.7,  
      "overview": "Lightning McQueen, a hotshot rookie race car driven to succeed, discovers that life is about the journey, not the finish line, when he finds himself unexpectedly detoured in the sleepy Route 66 town of Radiator Springs. On route across the country to the big Piston Cup Championship in California to compete against two seasoned pros, McQueen gets to know the town's offbeat characters.",  
      "release_date": "2006-06-09"  
    }  
  ]  
}  

Perhaps @travisbell would know better thinking.

Hi guys,

Yes, it seems like this is a legitimate bug. I have created a new ticket for me to look into this here. I will update this post when I get the fix pushed.

Cheers.

I believe the runtime query issues have been fixed, please let me know if you find anymore issues.

Cheers.

Hello,

it seems like, the runtime query does not use the region specified in the request, but takes all regions into account to filter by runtime. Is this the desired behavior?

Best regards

Yes, this is the intended behaviour. Querying runtimes does not take the requested translation into account.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول