diff --git a/CHANGELOG.md b/CHANGELOG.md index d480d6b6..0b898c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- All audio track names are shown as "Other" in multi audio track videos + ## [0.44.5] - 2026-01-17 ### Fixed diff --git a/playlet-lib/src/components/Services/Dash/DashManifest.bs b/playlet-lib/src/components/Services/Dash/DashManifest.bs index 33507e18..7c1e5b6b 100644 --- a/playlet-lib/src/components/Services/Dash/DashManifest.bs +++ b/playlet-lib/src/components/Services/Dash/DashManifest.bs @@ -289,8 +289,13 @@ class DashManifest "contentType": "audio" } - if IsAssociativeArray(firstFormat.audioTrack) and IsString(firstFormat.audioTrack.languageCode) - adaptationSetAttributes["lang"] = firstFormat.audioTrack.languageCode + if IsAssociativeArray(firstFormat.audioTrack) + if IsString(firstFormat.audioTrack.languageCode) + adaptationSetAttributes["lang"] = firstFormat.audioTrack.languageCode + else if IsString(firstFormat.audioTrack.id) + ' ID is in the format "CODE.DIGIT" e.g. "en.4" + adaptationSetAttributes["lang"] = firstFormat.audioTrack.id.split(".")[0] + end if end if ' Hoist common attributes