summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2008-09-25 02:09:48 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2010-10-05 22:05:57 -0700
commit05c5339e3becec9224549e5aae5e2f77716fc86d (patch)
treeacf54c99e9d55c800b65d47a6e17f1d065cac891
parent0e478c7448795e50de4ed30924d3e81baae59433 (diff)
downloadomptagger-05c5339e3becec9224549e5aae5e2f77716fc86d.tar.gz
omptagger-05c5339e3becec9224549e5aae5e2f77716fc86d.tar.xz
Import version 1.0.2 into git history.
-rwxr-xr-xomptagger6
1 files 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 <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