Fix a bug when generating dash manifest with missing stream url

This commit is contained in:
Brahim Hadriche committed 2025-09-03 12:18:42 -04:00
1 parent 30cc2b5323
commit 964e8a54ac
2 files changed
+7 -2

No files matched your search

+3 -1
View File
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Nothing worth mentioning yet.
### Fixed
- A bug when generating dash manifest with missing stream url
## [0.41.2] - 2025-09-03
@@ -417,8 +417,11 @@ class DashManifest
return combos
end function
function ParseAudioLanguage(url as string) as object
function ParseAudioLanguage(url as dynamic) as object
result = { lang: "", acont: "" }
if StringUtils.IsNullOrEmpty(url)
return result
end if
queryParams = UrlUtils.ParseQueryComponents(url)
if StringUtils.IsNullOrEmpty(queryParams["xtags"])
return result