Dash gen fix
This commit is contained in:
1 parent
edb9ae1135
commit
f5e715a782
2 files changed
+5
-3
No files matched your search
+3
-1
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- Nothing worth mentioning yet.
|
### Fixed
|
||||||
|
|
||||||
|
- Bug in dash generation
|
||||||
|
|
||||||
## [0.41.7] - 2025-09-06
|
## [0.41.7] - 2025-09-06
|
||||||
|
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ class DashManifest
|
|||||||
|
|
||||||
if stream.url = invalid
|
if stream.url = invalid
|
||||||
xml.Comment(`[ERROR] Stream.url is invalid for itag: ${stream.itag}`)
|
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}`)
|
xml.Comment(`[WARN] Stream URL indicates a live broadcast for itag: ${stream.itag}`)
|
||||||
end if
|
end if
|
||||||
xml.TextNode("BaseURL", ValidString(stream.url))
|
xml.TextNode("BaseURL", ValidString(stream.url))
|
||||||
@@ -184,7 +184,7 @@ class DashManifest
|
|||||||
|
|
||||||
if stream.url = invalid
|
if stream.url = invalid
|
||||||
xml.Comment(`[ERROR] Stream.url is invalid for itag: ${stream.itag}`)
|
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}`)
|
xml.Comment(`[WARN] Stream URL indicates a live broadcast for itag: ${stream.itag}`)
|
||||||
end if
|
end if
|
||||||
xml.TextNode("BaseURL", ValidString(stream.url))
|
xml.TextNode("BaseURL", ValidString(stream.url))
|
||||||
|
|||||||
Reference in new issue
Block a user