From 3227bf38b4743c406088e37e857b7f1fae0eeb72 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Mon, 22 Sep 2025 11:02:19 -0400 Subject: [PATCH] [skip ci] yt_premiere_broadcast is considered live stream --- .../src/components/Services/Innertube/PlayerEndpoint.bs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/playlet-lib/src/components/Services/Innertube/PlayerEndpoint.bs b/playlet-lib/src/components/Services/Innertube/PlayerEndpoint.bs index c89294fa..e6a2c3c2 100644 --- a/playlet-lib/src/components/Services/Innertube/PlayerEndpoint.bs +++ b/playlet-lib/src/components/Services/Innertube/PlayerEndpoint.bs @@ -592,8 +592,7 @@ namespace Innertube end if for each fmt in formats url = fmt["url"] - ' TODO: source=yt_premiere_broadcast - is this considered live? - if IsString(url) and url.InStr("yt_live_broadcast") <> -1 + if IsString(url) and (url.InStr("yt_live_broadcast") <> -1 or url.InStr("source=yt_premiere_broadcast") <> -1) return true end if end for