mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
1990076df8
commit
07d2ec3401
@ -41,9 +41,10 @@ def get_smil_audio_map(smil_map):
|
||||
if seq.seq:
|
||||
for child in seq.seq:
|
||||
flatten(child)
|
||||
flatten(smil_map)
|
||||
for v in Object.values(audio_map):
|
||||
v.sort(def(a, b): return a.start - b.start;)
|
||||
if smil_map:
|
||||
flatten(smil_map)
|
||||
for v in Object.values(audio_map):
|
||||
v.sort(def(a, b): return a.start - b.start;)
|
||||
return {'audio_files': audio_map}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user