disable fed subs

This commit is contained in:
Pas 2025-10-12 12:45:46 -06:00
parent 29687ff6c9
commit 5a17ee5f89

View file

@ -309,7 +309,7 @@ export async function scrapeExternalSubtitles(
season, season,
episode, episode,
); );
const febboxPromise = scrapeFebboxCaptions(imdbId, season, episode); // const febboxPromise = scrapeFebboxCaptions(imdbId, season, episode);
// Create timeout promises // Create timeout promises
const timeoutPromise = new Promise<CaptionListItem[]>((resolve) => { const timeoutPromise = new Promise<CaptionListItem[]>((resolve) => {
@ -343,10 +343,10 @@ export async function scrapeExternalSubtitles(
handleSourceCompletion("OpenSubtitles", captions); handleSourceCompletion("OpenSubtitles", captions);
return captions; return captions;
}), }),
Promise.race([febboxPromise, timeoutPromise]).then((captions) => { // Promise.race([febboxPromise, timeoutPromise]).then((captions) => {
handleSourceCompletion("Febbox", captions); // handleSourceCompletion("Febbox", captions);
return captions; // return captions;
}), // }),
]; ];
// Wait for all sources to complete (with timeouts) // Wait for all sources to complete (with timeouts)