Content with Style

Web Technique

PHP and MP3s

by Pascal Opitz on September 11 2006, 08:12

While setting up a media server for the Netaudio Festival next weekend I had not only to set up a dedicated machine with samba shares, Webserver and Web based interface, but also to play around with mp3s and ID3 tags.

First I wanted to use the id3 package . But after getting errors using the PEAR installer (phpize first was missing, then still failed when reading the package) I eventually gave up and went with the fantastic GetID3 script.
Very cool, especially because the MySQL Demo already features a full data structure and recursive indexing of directories.

I’ll keep you updated on this one as I want to make the script I wrote Open Source for everyone to enjoy, but it needs a bit of tidying up.

Comments

  • Please, please!
    I’d love to set that up locally, for cool non-iTunes browsing!!!

    by luxuryluke on October 27 2006, 15:17 #

  • It’s not a player though … just some file browser with ID3 support … and I have to tidy it up.

    If you look for a great full-featured media server with all bells and whistles, check Tunez ...

    A bit of a hassle to install it, but it’s a great piece of software that supports playback on the hosting machine as well as icecast streams.

    by Pascal Opitz on October 28 2006, 12:24 #