Cannot edit year tag with YYYY-MM-DD format

shadowsandflames at gmail.com shadowsandflames at gmail.com
Fri Sep 6 05:12:27 UTC 2013


I have a problems with the file in attach [1]:

When I open it:

TagLib::MPEG::File.open(file_name) do |mp3_file|
 puts mp3_file.id3v2_tag..frame_list('TDRC').first.field_list.first # ==>
1940
  end

It returns 1940 only. Which is strange since in Mp3tag I can see the whole
date: 1940-12-04.

Even worse, when I try to edit the date with taglib:

TagLib::MPEG::File.open(file_name) do |mp3_file|
mp3_file.id3v2_tag..frame_list('TDRC').first.field_list[0] = "1940-12-04"
    mp3_file.save()
  end

and then read it.

I have the same - 1940 - result.

Any idea what might be happening?

thanks!



[1]
https://dl.dropboxusercontent.com/u/1583971/passar_e_apagar/07-Rodolfo%20Biagi%20-%20A%20M%C3%AD%20No%20Me%20Interesa-Andres%20Falgas.mp3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20130906/0f125597/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07-Rodolfo Biagi - A M? No Me Interesa-Andres Falgas.mp3
Type: audio/mpeg
Size: 3132000 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20130906/0f125597/attachment-0001.mp3>


More information about the taglib-devel mailing list