actually download 128kbps instead of 320

This commit is contained in:
uh_wot 2020-03-01 14:45:25 +01:00
parent 354d665140
commit 4509b809cb
1 changed files with 3 additions and 3 deletions

View File

@ -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