diff --git a/playlet-lib/src/components/Services/Dash/DashManifest.bs b/playlet-lib/src/components/Services/Dash/DashManifest.bs index e562fba7..ab643d94 100644 --- a/playlet-lib/src/components/Services/Dash/DashManifest.bs +++ b/playlet-lib/src/components/Services/Dash/DashManifest.bs @@ -118,7 +118,7 @@ class DashManifest if StringUtils.IsNullOrEmpty(stream.url) xml.Comment(`[ERROR] Stream.url is null or empty for itag: ${stream.itag}`) - else if stream.url.InStr("source=yt_live_broadcast") <> -1 + else if stream.url.InStr("yt_live_broadcast") <> -1 or stream.url.InStr("yt_premiere_broadcast") <> -1 xml.Comment(`[WARN] Stream URL indicates a live broadcast for itag: ${stream.itag}`) end if xml.TextNode("BaseURL", ValidString(stream.url)) @@ -187,7 +187,7 @@ class DashManifest if StringUtils.IsNullOrEmpty(stream.url) xml.Comment(`[ERROR] Stream.url is null or empty for itag: ${stream.itag}`) - else if stream.url.InStr("source=yt_live_broadcast") <> -1 + else if stream.url.InStr("yt_live_broadcast") <> -1 or stream.url.InStr("yt_premiere_broadcast") <> -1 xml.Comment(`[WARN] Stream URL indicates a live broadcast for itag: ${stream.itag}`) end if xml.TextNode("BaseURL", ValidString(stream.url))