fix error

This commit is contained in:
Pas 2025-03-29 14:47:12 -06:00
parent b9752147db
commit cc0d8340ea

View file

@ -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');
}