2014-10-13, 20:58
(2014-10-13, 20:49)juggie Wrote: Carb0, are you going to add the new 5000kb/s bitrate? (Not that there is going to be a huge difference)
I believe he is already using the 5k streams
Code:
#Quality settings
if QUALITY == 4 or 'bestquality' in url:
if "live" in url:#fix needed to download the key below
m3u8URL = m3u8URL.replace('_ced.', '_5000_ced.')
elif QUALITY == 3 or '5000K' in url:
m3u8URL = m3u8URL.replace('_ced.', '_5000_ced.')
elif QUALITY == 2 or '3000K' in url:
m3u8URL = m3u8URL.replace('_ced.', '_3000_ced.')
elif QUALITY == 1 or '1600K' in url:
m3u8URL = m3u8URL.replace('_ced.', '_1600_ced.')
else:
m3u8URL = m3u8URL.replace('_ced.', '_800_ced.')