thomasvs / morituri

For those about to RIP - a Unix CD ripper preferring accuracy over speed
GNU General Public License v3.0
301 stars 42 forks source link

improve configuration handling #110

Closed benoit-pierre closed 5 years ago

benoit-pierre commented 9 years ago

Automatically override a command default options with the corresponding configuration file section.

So for example, a valid section for the 'rip cd rip' command would look like this:

[rip.cd.rip]
unknown = True
output_directory = ~/My Music
track_template = new/%%A/%%y - %%d/%%t - %%n
disc_template = %(track_template)s
profile = flac

Note: I also tweaked 'rip cd rip --help' output, and updated the README section about the configuration file syntax.