diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-06-24 20:11:05 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-06-24 20:11:05 -0700 |
commit | 39e880334914c1b6574a84a36081cb6c8e631963 (patch) | |
tree | 775bd9f4f10cdc98ae31b6ac87b7b5158c6253a6 | |
parent | 3e3910189dbdda38728f2ec9ad2831052575908e (diff) | |
download | omptagger-39e880334914c1b6574a84a36081cb6c8e631963.tar.gz omptagger-39e880334914c1b6574a84a36081cb6c8e631963.tar.xz |
Fix writing MP3 tags.
-rwxr-xr-x | omptagger | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |