tomahawk-player/tomahawk — pull request #49 by teo (2011-11-18 13:22:52+00:00)
Title: Added support for reading album artist, discnumber and composer, storing discnumber and composer in the db and sorting by discnumber.

Commit messages:
Added support for three new metadata elements of a track: Album Artist,
Composer and Disc Number. Since these are not supported in ID3v1 which
TagLib uses as common ground between the different metadata formats, I
had to handle the following cases separately: APE, ASF, ID3v1, ID3v2,
MP4 and OGG.
Modified the DB schema to include composer and discnumber. Provided the
dbmigrate file and bumped the schema version.
Added composer and discnumber data to all relevant queries.
Removed a bogus result->setYear from some queries in dbcmd_resolve.cpp.

Please take special care when reviewing the queries.
To test sorting, use any multi-disc album.