From: liberty-developer Date: Sun, 29 Jan 2017 17:34:31 +0000 (+0100) Subject: fix bandwidth calulation X-Git-Url: http://git.code-monkey.de/?p=plugin.video.netflix.git;a=commitdiff_plain;h=07c987a9bb20d1766404669fa945b98764b45c97 fix bandwidth calulation --- diff --git a/resources/lib/MSL.py b/resources/lib/MSL.py index 83ae2e7..bbf0e21 100644 --- a/resources/lib/MSL.py +++ b/resources/lib/MSL.py @@ -233,7 +233,7 @@ class MSL: rep = ET.SubElement(video_adaption_set, 'Representation', width=str(downloadable['width']), height=str(downloadable['height']), - bandwidth=str(downloadable['bitrate']*8*1024), + bandwidth=str(downloadable['bitrate']*1024), codecs='h264', mimeType='video/mp4') @@ -254,7 +254,7 @@ class MSL: for downloadable in audio_track['downloadables']: rep = ET.SubElement(audio_adaption_set, 'Representation', codecs='aac', - bandwidth=str(downloadable['bitrate'] * 8 * 1024), + bandwidth=str(downloadable['bitrate']*1024), mimeType='audio/mp4') #AudioChannel Config