summaryrefslogtreecommitdiff
path: root/omptagger
diff options
context:
space:
mode:
Diffstat (limited to 'omptagger')
-rwxr-xr-xomptagger3
1 files changed, 2 insertions, 1 deletions
diff --git a/omptagger b/omptagger
index b5534b7..bec1bf3 100755
--- a/omptagger
+++ b/omptagger
@@ -333,7 +333,8 @@ class VorbisComment < Metadata
field = TagLib::String.new(field, TagLib::String::UTF8)
value.each do |value|
- metadata.addField(field, TagLib::String.new(value, TagLib::String::UTF8), false)
+ value = TagLib::String.new(value, TagLib::String::UTF8)
+ metadata.addField(field, value, false)
end
end