Unique debug messages for R128 functions

This commit is contained in:
Michal Koutenský 2018-02-18 20:09:58 +01:00
parent 3d9fba399f
commit 8350ed6baf

View file

@ -904,7 +904,7 @@ class ReplayGainPlugin(BeetsPlugin):
item.r128_track_gain = int(round(track_gain.gain * pow(2, 8)))
item.store()
self._log.debug(u'applied track gain {0}', item.r128_track_gain)
self._log.debug(u'applied r128 track gain {0}', item.r128_track_gain)
def store_album_gain(self, album, album_gain):
album.rg_album_gain = album_gain.gain
@ -918,7 +918,7 @@ class ReplayGainPlugin(BeetsPlugin):
album.r128_album_gain = int(round(album_gain.gain * pow(2, 8)))
album.store()
self._log.debug(u'applied album gain {0}', album.r128_album_gain)
self._log.debug(u'applied r128 album gain {0}', album.r128_album_gain)
def handle_album(self, album, write, force=False):
"""Compute album and track replay gain store it in all of the