actually download 128kbps instead of 320
This commit is contained in:
parent
354d665140
commit
4509b809cb
|
@ -59,9 +59,9 @@ def getPreferredBitrate(filesize, bitrate):
|
||||||
bitrateFound = False
|
bitrateFound = False
|
||||||
bitrate = 1
|
bitrate = 1
|
||||||
if int(bitrate) == 1:
|
if int(bitrate) == 1:
|
||||||
selectedFormat = 3
|
selectedFormat = 1
|
||||||
selectedFilesize = filesize['mp3_320']
|
selectedFilesize = filesize['mp3_128']
|
||||||
if filesize['mp3_320'] > 0:
|
if filesize['mp3_128'] > 0:
|
||||||
bitrateFound = True
|
bitrateFound = True
|
||||||
else:
|
else:
|
||||||
bitrateFound = False
|
bitrateFound = False
|
||||||
|
|
Loading…
Reference in New Issue