[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: Cannot edit year tag with YYYY-MM-DD format
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2013-09-06 7:17:02
Message-ID: 05F94E90-E754-40ED-AA71-A22921803201 () kde ! org
[Download RAW message or body]

This appears to be a problem with the Ruby bindings -- you might try contacting their \
author.  This works fine in C++:

https://gist.github.com/scotchi/6460510

-Scott

On Sep 6, 2013, at 7:12 AM, shadowsandflames@gmail.com wrote:

> 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
>  <07-Rodolfo Biagi - A Mí No Me Interesa-Andres \
> Falgas.mp3>_______________________________________________ taglib-devel mailing \
> list taglib-devel@kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel

_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic