[PATCH] Read Album Artist from ID3v2 TPE2 tag when Importing Audio File Metadata (MP3 only)

Robby Stephenson robby at periapsis.org
Tue Mar 10 08:05:12 MDT 2009


Nice, thanks. Just applied it.

On Sunday 08 March 2009, Cyril DANGERVILLE wrote:
> 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




More information about the tellico-users mailing list