Add Cover Art to Your Digital Music Collection

Add cover art back into your music experience with MP3 Piranha.

If you’ve moved from listening to CDs to listening to MP3 files on your computer, you’re probably missing some of the fun of CDs. MP3 files don’t provide the original album cover art or release date information. Using Amazon’s Web Services, a tool from CapeScience (http://www.capescience.com) can add some extra information while you’re browsing your MP3 files.

MP3 Piranha (http://www.capescience.com/piranha/) is a Java application that queries Amazon for information about your digital music files. MP3s store metadata in ID3 tags (at the end of the MP3 file) that contain a file’s title, artist, album name, release date, genre, track number, and so on. This is the way that many MP3 players automatically know the track name, artist name, and other information about the song.

The first step in developing Piranha was to generate a Java client from the Amazon WSDL file using Cape Clear Studio. WSDL files are machine-readable XML files that describe all of the SOAP methods available at a particular service. This provided the skeleton code, which was then modified to incorporate a graphical user interface. The client uses Amazon’s SOAP interface to invoke Web Service methods.

Tip

In addition to AWS, MP3 Piranha relies on an open source Java library called Java MP3Info. MP3Info is a set of Java classes that can read from and write ID3 tags. More information on this library can be found ...

Get Amazon Hacks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.