From e698db592a0af11a824a898219c0f886a4b3d841 Mon Sep 17 00:00:00 2001 From: Killer069 <65385476+killer069@users.noreply.github.com> Date: Sat, 6 Nov 2021 18:26:29 +0530 Subject: [PATCH] Update stream.ts --- play-dl/YouTube/stream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play-dl/YouTube/stream.ts b/play-dl/YouTube/stream.ts index 14d0e2e..67af17b 100644 --- a/play-dl/YouTube/stream.ts +++ b/play-dl/YouTube/stream.ts @@ -96,7 +96,7 @@ export async function stream_from_info(info: InfoData, options: StreamOptions = if ( info.LiveStreamData.isLive === true && info.LiveStreamData.hlsManifestUrl !== null && - info.video_details.durationInSec === '0' + info.video_details.durationInSec === 0 ) { return new LiveStreaming( info.LiveStreamData.dashManifestUrl,