From cc0d8340eafff07a833864f5ef1250d6486e3f2e Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Sat, 29 Mar 2025 14:47:12 -0600 Subject: [PATCH] fix error --- src/providers/embeds/fedapi.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/providers/embeds/fedapi.ts b/src/providers/embeds/fedapi.ts index 8b41589..0137b3e 100644 --- a/src/providers/embeds/fedapi.ts +++ b/src/providers/embeds/fedapi.ts @@ -128,6 +128,9 @@ function embed(provider: { if (data?.error && data.error.startsWith('No results found in MovieBox search')) { throw new NotFoundError('No stream found'); } + if (data?.error === 'No cached data found for this episode') { + throw new NotFoundError('No stream found'); + } if (data?.error === 'No cached data found for this ID') { throw new NotFoundError('No stream found'); }