From a70757312e156e550c3ed20c3f95860c84f98866 Mon Sep 17 00:00:00 2001 From: himanshu8443 Date: Wed, 18 Jun 2025 13:39:39 +0530 Subject: [PATCH] refactor: clean up unused variables and improve error handling in getStream function --- providers/multi/stream.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/multi/stream.ts b/providers/multi/stream.ts index a4767f2..a5eeb65 100644 --- a/providers/multi/stream.ts +++ b/providers/multi/stream.ts @@ -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, }); });