musicfix

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

commit f523ade72bd474b25b52296a1100919df6b69e23
parent 303db0205185b17f19d016ac570e46203ba4f55c
Author: lostd <lostd@2f30.org>
Date:   Sat, 13 Sep 2014 17:29:59 +0100

Show output of the "after" command

Diffstat:
Mbin/musicfix | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/musicfix b/bin/musicfix @@ -73,7 +73,8 @@ def getimgurl rel return nil unless rel['images'] img = rel['images'].select {|i| i['type'] == 'primary'}.first || rel['images'].first - img['uri'].gsub 'api.discogs.com/images/R-90', 's.pixogs.com/image/R' + img['uri'].gsub! 'api.discogs.com/images/R-90', 's.pixogs.com/image/R' + img['uri'].gsub! 'api.discogs.com/images/', 's.pixogs.com/image/' end # Construct position list from tracks filter @@ -452,7 +453,7 @@ if cfg['after'] then run = eval cfg['after'] STDERR.puts "Executing #{run}" unless fake - `#{run}` + puts `#{run}` end end