Merge branch 'master' of uh_wot/deemix into master

This commit is contained in:
RemixDev 2020-03-01 13:49:29 +00:00 committed by Gogs
commit 48f105796c
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