commit 6a8775575aac0d2354a5c517667168e0b0ecc9c4
parent 883b790d72d1cb008a615c19784435c1ad2f9afb
Author: lostd <lostd@2f30.org>
Date: Thu, 27 Jun 2013 15:30:07 +0000
Change default mdir to ~/music
Diffstat:
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/README b/README
@@ -39,9 +39,12 @@ artwork to be downloaded.
# Configuration
-The simplest `~/.musicfixrc` configuration file only contains:
+In the simplest case no configuration is needed! The music files are
+copied to the ~/music directory, which is created if needed. If you
+want to change that, create a `~/.musicfixrc` configuration file
+containing:
- mdir: ~/music
+ mdir: ~/music/fixed
Furthermore, templates are used for the naming of music files
and the cover artwork image. The defaults are:
diff --git a/bin/musicfix b/bin/musicfix
@@ -131,7 +131,7 @@ end
# Default configuration
cfg = {}
-cfg['mdir'] = '/var/music'
+cfg['mdir'] = '~/music'
cfg['track'] = '"#{mdir}/#{fba}-#{my}-#{fb}-#{fv}/#{d}#{fn}-#{fa}-#{ft}.#{x}"'
cfg['image'] = '"#{mdir}/#{fba}-#{my}-#{fb}-#{fv}/#{zz}-#{fba}-#{fb}_cover.jpg"'
#cfg['after'] = '"mpc update #{fba}-#{my}-#{fb}-#{fv}"'