musicfix

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

commit d97b9443701b60e4b4ebce9f231a7b84e65c8981
parent d492d646311fed1ea7700741958a03c2adc8f02c
Author: lostd <lostd@2f30.org>
Date:   Sun, 12 Jan 2014 13:02:22 +0000

Document the release metadata saving functionality

Diffstat:
README | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -36,6 +36,11 @@ your needs, and then use it for tagging and renaming. The fake prefix on all commands results in no files to be copied/written and no cover artwork to be downloaded. +The release metadata is saved together with the music files by default, +and the load command looks for any YAML files in the current directory +(if there is no relfile specified and `release.yaml' does not exist). +This is useful for renaming files again using a new naming scheme. + # Configuration @@ -46,11 +51,12 @@ containing: mdir: ~/music/fixed -Furthermore, templates are used for the naming of music files -and the cover artwork image. The defaults are: +Furthermore, templates are used for the naming of music files, the +cover artwork image and the release metadata file. The defaults are: track: '"#{mdir}/#{fba}-#{my}-#{fb}-#{fv}/#{d}#{fn}-#{fa}-#{ft}.#{x}"' image: '"#{mdir}/#{fba}-#{my}-#{fb}-#{fv}/#{zz}-#{fba}-#{fb}_cover.jpg"' + rdata: '"#{mdir}/#{fba}-#{my}-#{fb}-#{fv}/#{zz}-#{fba}-#{fb}_release.yaml"' To run a shell command upon completion use the `after` attribute. For example, to update the MPD database: @@ -78,7 +84,7 @@ Only for track naming: tn: track number counter x: file extension in lowercase -Only for image naming: +Only for image and rdata naming: zz: zeros that match d + n width