implemented bitrateFallback and 360 Reality Audio download

This commit is contained in:
RemixDev
2020-03-21 21:13:29 +01:00
parent 9c53444cfa
commit a7d16afa41
3 changed files with 59 additions and 21 deletions

View File

@ -7,8 +7,14 @@ def getBitrateInt(txt):
return 9
elif txt in ['mp3', '320', '3']:
return 3
elif txt in ['128']:
elif txt in ['128', '1']:
return 1
elif txt in ['360', '360_hq', '15']:
return 15
elif txt in ['360_mq', '14']:
return 14
elif txt in ['360_lq', '13']:
return 13
else:
return None