chore: cleanup

This commit is contained in:
Adrian Castro
2024-02-12 15:28:12 +01:00
parent 33a62752e2
commit 70d074f386

View File

@@ -3,7 +3,6 @@ import { default as toWebVTT } from "srt-webvtt";
import type {
FileBasedStream,
Qualities,
RunnerOptions,
ScrapeMedia,
Stream,
} from "@movie-web/providers";
@@ -26,11 +25,7 @@ export async function getVideoStream({
consistentIpForRequests: true,
});
const options: RunnerOptions = {
media,
};
const result = await providers.runAll(options);
const result = await providers.runAll({ media });
if (!result) return null;
if (forceVTT) {