From 0e478c7448795e50de4ed30924d3e81baae59433 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 20 Apr 2008 23:50:56 -0700 Subject: Import version 1.0.1 into git history. --- omptagger | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'omptagger') diff --git a/omptagger b/omptagger index 6bf28b0..6281360 100755 --- a/omptagger +++ b/omptagger @@ -1,6 +1,6 @@ #!/usr/bin/env ruby # -# omptagger [version 1.0] +# omptagger [version 1.0.1] # http://dev.gentoo.org/~omp/omptagger/ # # Copyright 2007 David Shakaryan @@ -74,8 +74,7 @@ def help ['--pretend -p', 'Do not make any actual changes'], ['--no-colour -c', 'Disable use of colour in output'], ['--list -l', 'Display list of available tags'], - ['--help -h', 'Display help information'], - ['--rename -m', 'Generate filename based on tags']] + ['--help -h', 'Display help information']] notes = ['The default file naming scheme is Artist - Title.', 'Schemes must be specified prior to actions that use them.', 'Underscores in filenames are converted to spaces in tags.'] @@ -279,7 +278,7 @@ end # Subclass of VorbisComments containing methods unique to Vorbis files. class Vorbis < VorbisComments def read_tag(tag) - %x(vorbiscomment -l -- '#{esc(@origfile)}' | grep '^#{tag}=').chomp + %x(vorbiscomment -l -- '#{esc(@origfile)}' | grep -i '^#{tag}=').chomp end def clear_tags -- cgit v1.2.3-70-g09d2