Adrian Sampson
6115fba765
replaygain: calculate when any file needs calculation
...
This ensures accurate album-level data. It also fixes a problem with the old way
of doing things where the MediaFiles and tool results would become misaligned if
a subset of the tracks needed recalculation.
2012-10-15 14:54:06 -07:00
Adrian Sampson
672ac78e76
replaygain: write album-level tags
2012-10-15 14:42:28 -07:00
Adrian Sampson
9afaed534c
refactor output parsing code to use a dictionary
2012-10-15 14:31:31 -07:00
Adrian Sampson
8de8777b7e
replaygain: use log messages instead of prints
2012-10-15 12:19:14 -07:00
Adrian Sampson
4adc896a86
replaygain: consolidate command invocation code
...
Invocations of the mp3gain/aacgain commands are now wrapped in a centralized
function that takes care of output capture and error handling. This avoids code
duplication for the various sites at which the tool needs to be invoked.
This change also avoids unintentionally modifying tags via the command-line
tool. The "-s s" option makes the tool *just* calculate RG values rather than
toying with tags at all.
2012-10-15 12:14:35 -07:00
Adrian Sampson
df6c244381
replaygain: fix some spacing and error messages
2012-10-15 09:57:44 -07:00
Jakob Schnitzer
4ebc5237d0
replaygain: Fix TypeError if command option is not set
2012-10-15 16:23:03 +02:00
Fabrice Laporte
375137bc57
replaygain: fix aacgain waiting for user input by using -c switch to ignore clipping warnings
2012-10-13 11:35:24 +02:00
Adrian Sampson
b9e2beddec
replaygain: changelog & doc enhancements for GH-55
2012-10-12 22:42:08 -07:00
Fabrice Laporte
ca6fd2ccf5
rgain: unclutter stdout
2012-10-12 08:54:35 +02:00
Fabrice Laporte
17842b8d0d
rgain: fix computation on singleton import
2012-10-12 08:53:14 +02:00
kraymer
6208c453c6
add apply_gain option (was default)
2012-10-12 08:52:12 +02:00
kraymer
7265119aad
change replaygain plugin backend: it now invokes a command line tool (mp3gain or aacgain)
2012-10-12 08:51:36 +02:00
Adrian Sampson
760fff3ace
use new "except ... as ...:" syntax
...
This replaces the older "except ..., ...:" syntax.
2012-05-13 21:18:50 -07:00
Adrian Sampson
93678307ef
lastgenre now writes tags to files ( #279 )
...
This was accomplished by adding a new "config" parameter to the *_imported
events so that the handlers can check whether writing is enabled.
2011-12-20 17:49:11 -08:00
Adrian Sampson
1219c9c0fb
remove some dead code from replaygain
2011-11-13 15:54:08 -08:00
Peter B
6b3365303a
-moved replaygain plugin from Lugoues/beets-replaygain into beets core
...
-moved output to debug messages
2011-11-13 17:15:32 -05:00