about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-01-11 22:50:15 +0000
committerEric Wong <e@80x24.org>2017-01-11 23:00:42 +0000
commit97fd0a17aafcf342757829798aa5c8c1b8d562ca (patch)
tree77cff2436a62f735406f1ae8097cd0f35b844d9b /lib
parentbe14891fd17aa9c4c8e8b18c6c761c79cac99b05 (diff)
downloaddtas-97fd0a17aafcf342757829798aa5c8c1b8d562ca.tar.gz
This is needed for the "ALBUM ARTIST" tag which has a space in
the name.  This is looser than
<http://www.xiph.org/vorbis/doc/v-comment.html>, but probably
good enough for practical purposes.
Diffstat (limited to 'lib')
-rw-r--r--lib/dtas/source/sox.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/source/sox.rb b/lib/dtas/source/sox.rb
index 9f3cd9b..7f55c5d 100644
--- a/lib/dtas/source/sox.rb
+++ b/lib/dtas/source/sox.rb
@@ -56,7 +56,7 @@ class DTAS::Source::Sox # :nodoc:
         # take advantage of the VM-wide dedupe in MRI (rb_fstring):
         key = nil
         $1.split(/\n/n).each do |line|
-          if line.sub!(/^([a-z]\w*)=/i, '')
+          if line.sub!(/^([^=]+)=/ni, '')
             key = $1.upcase
             key = eval "#{key.inspect}.freeze"
           end