From f9df89abcf9b1c17583e6e5bd39ad218e7b31b71 Mon Sep 17 00:00:00 2001 From: chrisk325 Date: Wed, 18 Mar 2026 19:14:04 +0530 Subject: [PATCH] remove isvalidid hardgate --- src/services/catalog/content-details.ts | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/services/catalog/content-details.ts b/src/services/catalog/content-details.ts index c30fb6e7..df3c5840 100644 --- a/src/services/catalog/content-details.ts +++ b/src/services/catalog/content-details.ts @@ -38,11 +38,8 @@ export async function getContentDetails( for (let attempt = 0; attempt < 2; attempt += 1) { try { - const isValidId = await stremioService.isValidContentId(type, id); - - if (!isValidId) { - break; - } + // isValidContentId gate removed — getMetaDetails uses addonCanServeId() + // for per-addon prefix matching, avoiding false negatives for custom ID types. meta = await stremioService.getMetaDetails(type, id, preferredAddonId); if (meta) { @@ -102,10 +99,8 @@ export async function getBasicContentDetails( for (let attempt = 0; attempt < 3; attempt += 1) { try { - if (!(await stremioService.isValidContentId(type, id))) { - break; - } - + // isValidContentId gate removed — getMetaDetails uses addonCanServeId() + // for per-addon prefix matching, avoiding false negatives for custom ID types. meta = await stremioService.getMetaDetails(type, id, preferredAddonId); if (meta) { break;