musicfix

music file renamer and tagger
git clone git://git.2f30.org/musicfix
Log | Files | Refs | README | LICENSE

commit 3292e5a3a5c307e6a6dead9977f222a53c012245
parent a65c221b07db359900561190dbbd7060e462b128
Author: lostd <lostd@2f30.org>
Date:   Sun, 13 Jan 2013 16:53:13 +0000

Configuration file naming

Diffstat:
MREADME | 2+-
Mbin/musicfix | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -35,7 +35,7 @@ your needs, and then use it for tagging and renaming. # Configuration -The simplest `~/.musicfix` configuration file only contains: +The simplest `~/.musicfixrc` configuration file only contains: mdir: ~/music diff --git a/bin/musicfix b/bin/musicfix @@ -108,7 +108,7 @@ cfg['image'] = '"#{mdir}/#{fba}-#{my}-#{fb}-#{fv}/#{zz}-#{fba}-#{fb}_cover.jpg"' #cfg['after'] = '"mpc update #{fba}-#{my}-#{fb}-#{fv}"' # User configuration overrides -cfgpath = File.expand_path('~/.musicfix') +cfgpath = File.expand_path('~/.musicfixrc') if File.exists? cfgpath new = YAML.load File.open(cfgpath, 'r') cfg.merge! new