Re: getid3

From: Date: Fri, 28 Jan 2005 17:18:50 +0000
Subject: Re: getid3
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-207613@lists.php.net to get a copy of this message
Daniel Lahey wrote: > I found a really great utility for getting info on music files that I > thought I'd share. Here's the info: > > ///////////////////////////////////////////////////////////////// > /// getID3() by James Heinrich <info@getid3.org> // > // available at http://getid3.sourceforge.net > // > // or http://www.getid3.org > /// > ///////////////////////////////////////////////////////////////// > > Very cool stuff. What I found even more cool, at least for me, was that one could create the ID3 data independent of the actual MP3 and then smush them together on-the-fly. So, like, I have this database on-line of who played which night at a music venue, and then I have their MP3s encoded, but not tagged. When you ask to hear a file, I snag the artist/title stuff and make the ID3 tag, then push that out right before the MP3 stream. Why? Because I've got NO IDEA what the song titles are when I make the MP3 (the night of the show) and the artists log in and input song titles later. So I'd have to re-encode the MP3 from .wav every time an artist gets around to logging in and giving me the Title. But the .wav isn't even available at that point -- It's off-line on CDR only by then. Oh yeah. You can also throw in a small thumbnail of the artist before the stream, which is pretty cool. http://uncommonground.com/ has a radio station with files composed this way. None of the MP3 files have any ID3 info in them, really. PHP/getID3 just lets me make it LOOK like they have it. NOTE: WinAmp doesn't support ID3 in streaming MP3s, only local. Grrrr. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#207613) next »