TagLib and disc number

Thomas Post post at equinux.com
Thu Feb 25 15:53:13 CET 2010


Most of the stuff is in the 01 patch. It adds setter/getters for lyrics, albumArtist, grouping, composer, totalTracks, CDNr, totalCDs, BPM and Compilation. But they work only for mp4 and id3v2 headers. The patch 05 contains some fixes for track numbers and album numbers. You should apply that one too, but I don't know if it works without applying patch 02 to 04.
Maybe this helps you doing your tool.

Thomas

On 25.02.2010, at 12:52, Anonymous bin ich wrote:

> @Sander: Thanks for the link :) I looked at that googlesmm and thought
> it was doing something different, so didn't look too deep.
> 
> @Thomas: It would be very nice of you. I am trying to write a free
> software which can organize tracks based on its tags - quite simple
> and probably done a million times. Currently a shell script and
> tagreader are doing this job for me, but I want to write a simple
> command line program (with optional Qt based GUI).
> 
> Regards
> 
> On Thu, Feb 25, 2010 at 9:14 AM, Thomas Post <post at equinux.com> wrote:
>> Hi
>> We made a few patches to the taglib to fit our needs. We added some more
>> convenience for id3v2 and mp4 tags (e.g. disc number and total discs) and we
>> did a few other things to make the lib more iTunes compatible. Maybe if
>> you're interested I can send them to you. We have to publish them anyway
>> when we release our software.
>> On 25.02.2010, at 02:41, Sander Jansen wrote:
>> 
>> Here's a example of reading custom tags (including disc number) through
>> taglib:
>> 
>> http://code.google.com/p/gogglesmm/source/browse/branches/release-0.10/src/GMTag.cpp#413
>> 
>> Hope this helps,
>> 
>> Sander
>> 
>> On Wed, Feb 24, 2010 at 7:17 PM, Anonymous bin ich <ichbinanon at gmail.com>
>> wrote:
>> 
>> Hi!
>> 
>> I actually have already looked at api (specifically
>> 
>> http://developer.kde.org/~wheeler/taglib/api/classTagLib_1_1Tag.html )
>> 
>> and tagreader example, but I didn't find any mention of disk.
>> 
>> 
>> On Wed, Feb 24, 2010 at 11:46 PM, Jeff Mitchell <mitchell at kde.org> wrote:
>> 
>> On 2/24/2010 10:55 AM, Anonymous bin ich wrote:
>> 
>> Hi!
>> 
>> I am sure this question has been asked before, but googling about it
>> 
>> shows me no result, so I will just ask:
>> 
>> Yes, but it's format dependent. For MP3, you want the TPOS frame. For
>> 
>> XiphComments you want DISCNUMBER. Etc.
>> 
>> Is there a way to get disc number via TagLib? Is there a way to list
>> 
>> all existing tags in a file?
>> 
>> Look at the API: http://developer.kde.org/~wheeler/taglib/api/
>> 
>> --Jeff
>> 
>> 
>> _______________________________________________
>> 
>> taglib-devel mailing list
>> 
>> taglib-devel at kde.org
>> 
>> https://mail.kde.org/mailman/listinfo/taglib-devel
>> 
>> 
>> 
>> 
>> 
>> --
>> 
>> Regards,
>> 
>> _______________________________________________
>> 
>> taglib-devel mailing list
>> 
>> taglib-devel at kde.org
>> 
>> https://mail.kde.org/mailman/listinfo/taglib-devel
>> 
>> 
>> 
>> 
>> --
>> "The sands of time were eroded by
>> The river of constant change."
>> _______________________________________________
>> taglib-devel mailing list
>> taglib-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/taglib-devel
>> 
>> 
>> Thomas Post
>> -----------------------------------------------------------------------------------------------------------
>> equinux Aktiengesellschaft
>> Informationstechnologien
>> Kirschstraße 35
>> 80999 München - Germany
>> Tel. +49-89-520465-339
>> Fax +49-89-520465-299
>> mailto:post at equinux.de
>> http://www.equinux.com/de
>> -----------------------------------------------------------------------------------------------------------
>> Vorstand: Till Schadde  -  Aufsichtsrat: Stefan Neuenhahn
>> USt-IdNr.: DE206360115  -  Sitz München  -  HRB München 129700
>> -----------------------------------------------------------------------------------------------------------
>> equinux USA, Inc.
>> 100 Produce Ave. Suite L, South San Francisco, CA 94080
>> Toll free: 1-888-equinux (1-888-3784689)
>> http://www.equinux.com
>> -----------------------------------------------------------------------------------------------------------
>> Stay updated what's going on at equinux
>> equinux Blog | equinux @ Twitter | equinux @ Facebook
>> 
>> _______________________________________________
>> taglib-devel mailing list
>> taglib-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/taglib-devel
>> 
>> 
> 
> 
> 
> -- 
> Regards,
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel

Thomas Post
-----------------------------------------------------------------------------------------------------------

equinux Aktiengesellschaft
Informationstechnologien
Kirschstraße 35
80999 München - Germany
Tel. +49-89-520465-339
Fax +49-89-520465-299
mailto:post at equinux.de
http://www.equinux.com/de
-----------------------------------------------------------------------------------------------------------
Vorstand: Till Schadde  -  Aufsichtsrat: Stefan Neuenhahn
USt-IdNr.: DE206360115  -  Sitz München  -  HRB München 129700
-----------------------------------------------------------------------------------------------------------

equinux USA, Inc.
100 Produce Ave. Suite L, South San Francisco, CA 94080 
Toll free: 1-888-equinux (1-888-3784689)
http://www.equinux.com
-----------------------------------------------------------------------------------------------------------

Stay updated what's going on at equinux
equinux Blog | equinux @ Twitter | equinux @ Facebook

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20100225/649d1249/attachment-0002.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: taglib-patches.zip
Type: application/zip
Size: 10658 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/taglib-devel/attachments/20100225/649d1249/attachment-0001.zip 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20100225/649d1249/attachment-0003.htm 


More information about the taglib-devel mailing list