replaygain: Fix obvious typo (fix #1873, I hope)

This commit is contained in:
Adrian Sampson 2016-02-07 14:28:33 -08:00
parent 9fb54b2b30
commit 314521b6ae
2 changed files with 3 additions and 1 deletions

View file

@ -743,7 +743,7 @@ class AudioToolsBackend(Backend):
# Each call to title_gain on a ReplayGain object returns peak and gain
# of the track.
rg_track_gain, rg_track_peak = rg._title_gain(rg, audiofile)
rg_track_gain, rg_track_peak = self._title_gain(rg, audiofile)
self._log.debug(u'ReplayGain for track {0} - {1}: {2:.2f}, {3:.2f}',
item.artist, item.title, rg_track_gain, rg_track_peak)

View file

@ -64,6 +64,8 @@ Fixes:
disabled this time.
* :doc:`/plugins/lastimport`: The plugin now works with the beets api key by
default. This can be overridden in the plugin config.
* :doc:`/plugins/replaygain`: Fix a crash using the Python Audio Tools
backend. :bug:`1873`
.. _beets.io: http://beets.io/
.. _Beetbox: https://github.com/beetbox