دعم الموقع

Hi! Is there a way to find a movie or tv show by ID without specifying if it's a movie or a TV show in the request?

Right now we can use https://api.themoviedb.org/3/**movie**/{movie_id} or https://api.themoviedb.org/3/**tv**/{series_id}, but I need to just use the ID, like this https://api.themoviedb.org/3/{movie_or_series_id}

Does something like that exist? Thanks!

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

Jump to last post

This doesn't exist. It wouldn't likely be possible in the way you envision because the id number space for movies and tv series (and people) is different for each one. That is, the same id number can be a movie, tv series, and person, so no way to tell what it is with just the number.

@robbie3999 said:

This doesn't exist. It wouldn't likely be possible in the way you envision because the id number space for movies and tv series (and people) is different for each one. That is, the same id number can be a movie, tv series, and person, so no way to tell what it is with just the number.

Oh, thanks a lot, I thought every ID was unique.

Thank you Alejandro for your clarification regarding IDs for movies, Tv, etc. Nevertheless it unfortunately creates an issue of misidentification within Emby server when trying to update movies or series information with same ID number

@ago1978 said:
Thank you Alejandro for your clarification regarding IDs for movies, Tv, etc.
Nevertheless it unfortunately creates an issue of misidentification within Emby server when trying to update movies or series information with same ID number

Normally, scraping programs work by separating movies and series into different folders on the HD.
KODI, PLEX, MediaElch and similar programs do this.
If I remember correctly, when I used Emby many years ago, it was the same way.

To make it clear to other forum users.
Yes, the IDs are unique. There are no two Movies with the same ID.
But there may be a TV Show with the same Movie ID. Or a person.
The list of IDs are separate, different.

For example, ID 500:
https://www.themoviedb.org/movie/500-reservoir-dogs
https://www.themoviedb.org/tv/500-mad-about-you
https://www.themoviedb.org/person/500-tom-cruise
https://www.themoviedb.org/network/500
https://www.themoviedb.org/company/500

You can discern the difference between each media type
by looking at the media_type field returned with each object.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول