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
|
||||
bitrate = 1
|
||||
if int(bitrate) == 1:
|
||||
selectedFormat = 3
|
||||
selectedFilesize = filesize['mp3_320']
|
||||
if filesize['mp3_320'] > 0:
|
||||
selectedFormat = 1
|
||||
selectedFilesize = filesize['mp3_128']
|
||||
if filesize['mp3_128'] > 0:
|
||||
bitrateFound = True
|
||||
else:
|
||||
bitrateFound = False
|
||||
|
|
Loading…
Reference in New Issue