[PATCH] Read Album Artist from ID3v2 TPE2 tag when Importing Audio
File Metadata (MP3 only)
Cyril DANGERVILLE
cyril.dangerville at gmail.com
Sun Mar 8 11:38:59 MDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I was missing the possibility to get the album artist from a specific
tag (TPE2) when importing audio file metadata into Tellico, as Amarok
does with MP3 files. Therefore, I attached a *patch* for Tellico to
provide this feature. This patch is a svn diff against repository
https://forgesvn1.novell.com/svn/tellico/branches/tellico-1.3.x. I
realized you were moving to the KDE SVN, so I am not sure this is
still right.
For info, TPE2 is defined in ID3v2. See
http://www.id3.org/id3v2.4.0-frames for the official description.
Although this is not standard in ID3, using a specific frame for album
artist is a solution to the problem of tagging albums that feature
various artists but still have an identified Album Artist, such as
Remix and DJ albums.
Example:
Album title: Some Title;
Album artist: Some DJ;
Track 1: Some Track Title - Some Artist(s);
Track 2: Some Other Track Title - Some Other Artist(s)
etc.
I make Tellico read the Album Artist from the TPE2 frame to be
compatible with Amarok as the most popular music player for KDE, but
also Apple (iTunes), Microsoft (Windows Media Player) and others which
use this frame to read/write the album artist too. See Amarok source
file src/collectionscanner/CollectionScanner.cpp, method AttributeHash
CollectionScanner::readTags(...).
I hope this proves to be useful for other Tellico users.
Regards,
Cyril Dangerville
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFJtAJA7Ag6wSDbrdURAq71AJ42B7DBqXtEHyNMIxZsjWPWWjyQKwCfV0F+
WlJJkRew6h+VZK4PhhayZAE=
=dw3e
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tellico_albumartist_from_TPE2_audiofileimporter.diff
Type: text/x-diff
Size: 3627 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/tellico-users/attachments/20090308/51e5c25c/tellico_albumartist_from_TPE2_audiofileimporter.bin
More information about the tellico-users
mailing list