From 05c5339e3becec9224549e5aae5e2f77716fc86d Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Thu, 25 Sep 2008 02:09:48 -0700 Subject: Import version 1.0.2 into git history. --- omptagger | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/omptagger b/omptagger index 6281360..d5df810 100755 --- a/omptagger +++ b/omptagger @@ -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 +# Copyright 2007-2008 David Shakaryan # 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 -- cgit v1.2.3-70-g09d2