From 4509b809cbd973ba75b89378698f1dc45962d97f Mon Sep 17 00:00:00 2001 From: uh_wot <3631986-uh_wot@users.noreply.gitlab.com> Date: Sun, 1 Mar 2020 14:45:25 +0100 Subject: [PATCH] actually download 128kbps instead of 320 --- deemix/app/downloader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deemix/app/downloader.py b/deemix/app/downloader.py index 0bf6ce3..2e3f9d7 100644 --- a/deemix/app/downloader.py +++ b/deemix/app/downloader.py @@ -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