fixed "getPreferredBitrare" typo

This commit is contained in:
uh_wot 2020-02-29 20:54:47 +01:00
parent 1a1883fabb
commit e9167ccc54
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ extensions = {
13: '.mp4'
}
def getPreferredBitrare(filesize, bitrate):
def getPreferredBitrate(filesize, bitrate):
bitrateFound = False
selectedFormat = 0
selectedFilesize = 0
@ -249,7 +249,7 @@ def downloadTrackObj(trackAPI, settings, overwriteBitrate=False, extraTrack=None
# Get the selected bitrate
bitrate = overwriteBitrate if overwriteBitrate else settings['maxBitrate']
(format, filesize) = getPreferredBitrare(track['filesize'], bitrate)
(format, filesize) = getPreferredBitrate(track['filesize'], bitrate)
track['selectedFormat'] = format
track['selectedFilesize'] = filesize
track['album']['bitrate'] = format