[skip ci] yt_premiere_broadcast is considered live stream

This commit is contained in:
Brahim Hadriche committed 2025-09-22 11:02:19 -04:00
1 parent ba2fbaa0da
commit 3227bf38b4
1 file changed
+1 -2
@@ -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