diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2008-09-25 02:09:48 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2010-10-05 22:05:57 -0700 |
commit | 05c5339e3becec9224549e5aae5e2f77716fc86d (patch) | |
tree | acf54c99e9d55c800b65d47a6e17f1d065cac891 | |
parent | 0e478c7448795e50de4ed30924d3e81baae59433 (diff) | |
download | omptagger-05c5339e3becec9224549e5aae5e2f77716fc86d.tar.gz omptagger-05c5339e3becec9224549e5aae5e2f77716fc86d.tar.xz |
Import version 1.0.2 into git history.
-rwxr-xr-x | omptagger | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ #!/usr/bin/env ruby # -# omptagger [version 1.0.1] +# omptagger [version 1.0.2] # http://dev.gentoo.org/~omp/omptagger/ # -# Copyright 2007 David Shakaryan <omp@gentoo.org> +# Copyright 2007-2008 David Shakaryan <omp@gentoo.org> # Distributed under the terms of the GNU General Public License v3. # See http://www.gnu.org/licenses/gpl.txt for the full license text. # @@ -278,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 -i '^#{tag}=').chomp + %x(vorbiscomment -l -- '#{esc(@origfile)}').scan(/#{tag}=.*/i).join("\n") end def clear_tags |