mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 12:43:25 +00:00
fix bug where runAll() doesn't work for embed based returns
This commit is contained in:
@@ -80,7 +80,7 @@ export async function runAllProviders(list: ProviderList, ops: ProviderRunnerOpt
|
||||
...contextBase,
|
||||
media: ops.media,
|
||||
});
|
||||
if (!isValidStream(output?.stream)) {
|
||||
if (output?.stream && !isValidStream(output?.stream)) {
|
||||
throw new NotFoundError('stream is incomplete');
|
||||
}
|
||||
if (output?.stream && !flagsAllowedInFeatures(ops.features, output.stream.flags)) {
|
||||
|
Reference in New Issue
Block a user