MP3 Webmaster

SourceForge.net Logo

Project Summary | Download Scripts | Download Example | Sample Catalog

This project creates html reports from a collection of mp3 files. An mp3 file contains a tag which contains information about the song such as the track name, artist, album, and lyrics. There are many, many programs which can read this tag information and display it graphically. I wanted to create a report of the files that was separate from the files. I also wanted the report to be intuitive to navigate and aesthetically pleasing.

HTML presents the best means to display a large amount of information in a concise manner. There are a few tools that create HTML code from mp3 files. However, many of these tools are not flexible enough to allow the user to create any style desired. These tools generate HTML for the user with only a few user selectable tweaks. With this tool, the user provides all of the HTML in template files so that the user can design the entire look and feel and organization of the report. These templates contain tags which refer to the song information. The perl scripts simply replace the tags with the information from the songs.

The input to the scripts are the templates and the song files. The song files are text files containing a flat list of tab separated song information. These song lists can be produced with [mp3 - explorer] which is a free program that reads the binary mp3 files. The scripts do not read the binary mp3 files. They only read the flat lists produced by other mp3 file readers.

The scripts also use a command line image resizer to copy cover art into the catalog. Cover art has become ubiquitous on the internet. When the cover art is saved to the album folder in Windows XP and given the file name 'folder.jpg', the folder displays the image. The script copies the 'folder.jpg' image from the mp3 folder into the html catalog and resizes the image so that the images will appear uniform.

Example templates, example song files, example script commands, and an example html catalog have been included to illustrate some of the script's possibilities. A sample catalog has also been placed online.

Copyright (C) 2005 Steve Meadows stevemds0270@gmail.com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Support This Project