mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2025-11-19 04:36:30 +00:00
Replace audio/m4a with audio/mp4 in DASH manifest
This commit is contained in:
parent
761561edec
commit
18b383386f
1 changed files with 2 additions and 0 deletions
2
index.py
2
index.py
|
|
@ -275,6 +275,8 @@ class Second(object):
|
|||
adaptation_sets_dict = {}
|
||||
for f in video["adaptiveFormats"]:
|
||||
mime = f["second__mime"]
|
||||
if mime == "audio/m4a":
|
||||
mime = "audio/mp4"
|
||||
if not mime in adaptation_sets_dict:
|
||||
adaptation_sets_dict[mime] = []
|
||||
ads = adaptation_sets_dict[mime]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue