mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-21 00:32:04 +00:00
remove isvalidid hardgate
This commit is contained in:
parent
c7198f919d
commit
f9df89abcf
1 changed files with 4 additions and 9 deletions
|
|
@ -38,11 +38,8 @@ export async function getContentDetails(
|
||||||
for (let attempt = 0; attempt < 2; attempt += 1) {
|
for (let attempt = 0; attempt < 2; attempt += 1) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
const isValidId = await stremioService.isValidContentId(type, id);
|
// isValidContentId gate removed — getMetaDetails uses addonCanServeId()
|
||||||
|
// for per-addon prefix matching, avoiding false negatives for custom ID types.
|
||||||
if (!isValidId) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
meta = await stremioService.getMetaDetails(type, id, preferredAddonId);
|
meta = await stremioService.getMetaDetails(type, id, preferredAddonId);
|
||||||
|
|
||||||
if (meta) {
|
if (meta) {
|
||||||
|
|
@ -102,10 +99,8 @@ export async function getBasicContentDetails(
|
||||||
|
|
||||||
for (let attempt = 0; attempt < 3; attempt += 1) {
|
for (let attempt = 0; attempt < 3; attempt += 1) {
|
||||||
try {
|
try {
|
||||||
if (!(await stremioService.isValidContentId(type, id))) {
|
// isValidContentId gate removed — getMetaDetails uses addonCanServeId()
|
||||||
break;
|
// for per-addon prefix matching, avoiding false negatives for custom ID types.
|
||||||
}
|
|
||||||
|
|
||||||
meta = await stremioService.getMetaDetails(type, id, preferredAddonId);
|
meta = await stremioService.getMetaDetails(type, id, preferredAddonId);
|
||||||
if (meta) {
|
if (meta) {
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue