mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 21:02:24 +01:00
Fix replaygain analysis bug
This commit is contained in:
@ -19,9 +19,8 @@ def song_to_dict(song, hash=False, user=False, replaygain=False):
|
||||
data['uploader_name'] = song.user.name
|
||||
|
||||
if replaygain:
|
||||
data['rg_gain'] = song.rg_gain,
|
||||
data['rg_peak'] = song.rg_peak,
|
||||
|
||||
data['rg_gain'] = song.rg_gain
|
||||
data['rg_peak'] = song.rg_peak
|
||||
|
||||
return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user