From f91cb39e463a5518e27dd9bd38b7d6b01d2524a0 Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 11 Oct 2013 17:05:42 -0400 Subject: [PATCH] CC-5363 : pushing a file twice, noticeable replaygain switch --- python_apps/pypo/pypoliquidsoap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python_apps/pypo/pypoliquidsoap.py b/python_apps/pypo/pypoliquidsoap.py index 96c0eca0f..93647b3b6 100644 --- a/python_apps/pypo/pypoliquidsoap.py +++ b/python_apps/pypo/pypoliquidsoap.py @@ -140,14 +140,14 @@ class PypoLiquidsoap(): #Iterate over the new files, and compare them to currently scheduled #tracks. If already in liquidsoap queue still need to make sure they don't - #have different attributes such replay_gain etc. + #have different attributes + #if replay gain changes, it shouldn't change the amplification of the currently playing song for i in scheduled_now_files: if i["row_id"] in row_id_map: mi = row_id_map[i["row_id"]] correct = mi['start'] == i['start'] and \ mi['end'] == i['end'] and \ - mi['row_id'] == i['row_id'] and \ - mi['replay_gain'] == i['replay_gain'] + mi['row_id'] == i['row_id'] if not correct: #need to re-add