-d, --dr_database command-line argument is intended to turn onLoudness War Database compatibility. But it has store_false, inverting its logic (compatibility is turned off when -d specified).
Checked, in master it outputs compatible logs without -d (in compatible logs, title block is single-line, not two lines, one for artist and one for album).
After this patch:
~/items/dr14_t.meter % ./dr14_tmeter -r ~/Music/l/Lacrimosa/1991\ Angst
...
~/items/dr14_t.meter % head -n 6 ~/Music/l/Lacrimosa/1991\ Angst/dr14.txt
----------------------------------------------------------------------------------------------
Album: Angst
Artist: Lacrimosa
----------------------------------------------------------------------------------------------
DR Peak RMS Duration Title [codec]
----------------------------------------------------------------------------------------------
~/items/dr14_t.meter % ./dr14_tmeter -d -r ~/Music/l/Lacrimosa/1991\ Angst
...
~/items/dr14_t.meter % head -n 6 ~/Music/l/Lacrimosa/1991\ Angst/dr14.txt
----------------------------------------------------------------------------------------------
Analyzed: Angst / Artist: Lacrimosa
----------------------------------------------------------------------------------------------
DR Peak RMS Duration Title [codec]
----------------------------------------------------------------------------------------------
DR13 -1.37 dB -17.49 dB 9:25 01 - Seele in Not [mp3]
29
-d, --dr_database
command-line argument is intended to turn on Loudness War Database compatibility. But it hasstore_false
, inverting its logic (compatibility is turned off when-d
specified).https://github.com/simon-r/dr14_t.meter/blob/ecb431d9a504f9d5d8710303d60ab80a1219ab07/dr14tmeter/parse_args.py#L99-L102
Checked, in
master
it outputs compatible logs without-d
(in compatible logs, title block is single-line, not two lines, one for artist and one for album).After this patch: