refactor: clean up unused variables and improve error handling in getStream function

This commit is contained in:
himanshu8443
2025-06-18 13:39:39 +05:30
parent dc009266be
commit a70757312e

View File

@@ -1,4 +1,4 @@
import { Stream, ProviderContext, TextTracks, TextTrackType } from "../types";
import { Stream, ProviderContext, TextTracks } from "../types";
export const getStream = async function ({
link: url,
@@ -133,7 +133,7 @@ export const getStream = async function ({
subtitles.push({
language: lang,
uri: sub,
type: TextTrackType.VTT,
type: "text/vtt",
title: lang,
});
});