diff --git a/playlet-lib/src/components/Services/Dash/DashManifest.bs b/playlet-lib/src/components/Services/Dash/DashManifest.bs index b5661402..47740d74 100644 --- a/playlet-lib/src/components/Services/Dash/DashManifest.bs +++ b/playlet-lib/src/components/Services/Dash/DashManifest.bs @@ -185,8 +185,8 @@ class DashManifest if xml.Node("Representation", representationAttributes) m.AddColorInfo(stream, xml) - if stream.url = invalid - xml.Comment(`[ERROR] Stream.url is invalid for itag: ${stream.itag}`) + 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 xml.Comment(`[WARN] Stream URL indicates a live broadcast for itag: ${stream.itag}`) end if