fix(manifests): decode audio channels by scheme in dash, hls and ism

DASH reads the AudioChannelConfiguration scheme (Dolby mask, CICP index incl. immersive layouts, channel count); HLS and ISM counts map 6/7/8 to 5.1/6.1/7.1.
This commit is contained in:
imSp4rky
2026-10-30 23:22:47 -06:00
parent 23545b6c92
commit 97711e799c
7 changed files with 160 additions and 21 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ class HLS:
joc = int(count)
media.channels = "5.1"
else:
media.channels = count
media.channels = Audio.channels_from_count(count)
else:
track_type = Subtitle
codec = Subtitle.Codec.WebVTT # assuming WebVTT, codec info isn't shown