diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2008-04-20 23:50:56 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2010-10-05 22:04:53 -0700 |
commit | 0e478c7448795e50de4ed30924d3e81baae59433 (patch) | |
tree | 65e3e2c014dcb78fa61f04575721d94a05b2a81e /omptagger | |
parent | ce4c14971ecbff7ba7718b00764ee623765ab014 (diff) | |
download | omptagger-0e478c7448795e50de4ed30924d3e81baae59433.tar.gz omptagger-0e478c7448795e50de4ed30924d3e81baae59433.tar.xz |
Import version 1.0.1 into git history.
Diffstat (limited to 'omptagger')
-rwxr-xr-x | omptagger | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 <omp@gentoo.org> @@ -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 |