Skip to content

Commit

Permalink
Implement impaired key for audio tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed Aug 24, 2017
1 parent cf165e8 commit e6eac6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.netflix" name="Netflix" version="0.11.21" provider-name="libdev + jojo + asciidisco">
<addon id="plugin.video.netflix" name="Netflix" version="0.11.22" provider-name="libdev + jojo + asciidisco">
<requires>
<import addon="xbmc.python" version="2.24.0"/>
<import addon="script.module.beautifulsoup4" version="4.3.2"/>
Expand Down
3 changes: 2 additions & 1 deletion resources/lib/MSL.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ def __tranform_to_dash(self, manifest):
audio_adaption_set = ET.SubElement(period, 'AdaptationSet',
lang=audio_track['bcp47'],
contentType='audio',
mimeType='audio/mp4')
mimeType='audio/mp4',
impaired='true' if audio_track['trackType'] == 'ASSISTIVE' else 'false')
for downloadable in audio_track['downloadables']:
codec = 'aac'
print downloadable
Expand Down

0 comments on commit e6eac6e

Please sign in to comment.