From 39e880334914c1b6574a84a36081cb6c8e631963 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Tue, 24 Jun 2014 20:11:05 -0700 Subject: Fix writing MP3 tags. --- omptagger | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2