Dash gen fix

This commit is contained in:
Brahim Hadriche committed 2025-09-06 20:48:31 -04:00
1 parent edb9ae1135
commit f5e715a782
2 files changed
+5 -3

No files matched your search

@@ -115,7 +115,7 @@ class DashManifest
if stream.url = invalid
xml.Comment(`[ERROR] Stream.url is invalid for itag: ${stream.itag}`)
else stream.url.InStr("source=yt_live_broadcast")
else if stream.url.InStr("source=yt_live_broadcast") <> -1
xml.Comment(`[WARN] Stream URL indicates a live broadcast for itag: ${stream.itag}`)
end if
xml.TextNode("BaseURL", ValidString(stream.url))
@@ -184,7 +184,7 @@ class DashManifest
if stream.url = invalid
xml.Comment(`[ERROR] Stream.url is invalid for itag: ${stream.itag}`)
else stream.url.InStr("source=yt_live_broadcast")
else if stream.url.InStr("source=yt_live_broadcast") <> -1
xml.Comment(`[WARN] Stream URL indicates a live broadcast for itag: ${stream.itag}`)
end if
xml.TextNode("BaseURL", ValidString(stream.url))