summaryrefslogtreecommitdiff
path: root/omptagger
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-06-24 20:11:05 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-06-24 20:11:05 -0700
commit39e880334914c1b6574a84a36081cb6c8e631963 (patch)
tree775bd9f4f10cdc98ae31b6ac87b7b5158c6253a6 /omptagger
parent3e3910189dbdda38728f2ec9ad2831052575908e (diff)
downloadomptagger-39e880334914c1b6574a84a36081cb6c8e631963.tar.gz
omptagger-39e880334914c1b6574a84a36081cb6c8e631963.tar.xz
Fix writing MP3 tags.
Diffstat (limited to 'omptagger')
-rwxr-xr-xomptagger6
1 files changed, 5 insertions, 1 deletions
diff --git a/omptagger b/omptagger
index bac926a..7f6d853 100755
--- a/omptagger
+++ b/omptagger
@@ -385,7 +385,11 @@ class MP3 < Metadata
@metadata.each do |field, value|
value.each do |value|
- metadata.add_frame(field, value, false)
+ frame = TagLib::ID3v2::TextIdentificationFrame.new(field,
+ TagLib::String::UTF8)
+ frame.text = value
+
+ metadata.add_frame(frame)
end
end