X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=resources%2Flib%2FMSL.py;fp=resources%2Flib%2FMSL.py;h=bbf0e21d27a4f1cc40db43692e166992f6ecc724;hb=07c987a9bb20d1766404669fa945b98764b45c97;hp=83ae2e7abfe2b34cfff46f67f3fc4bc0ff4ff196;hpb=26c305a4ecab0366fa05d1d4c3bc9ee24d170029;p=plugin.video.netflix.git 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