RE: [PHP] PHP/M3U Questions!!!

From: Date: Tue, 17 Apr 2001 21:59:31 +0000
Subject: RE: [PHP] PHP/M3U Questions!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49069@lists.php.net to get a copy of this message
nevermind! I'm all set I believe. I took a look at an m3u file in notepad that had stream files(as in I told it to play a URL). Apparently the number after the #EXTINF is always -1 for a streamed file. So thanks for all the help. --Chris -----Original Message----- From: Kurth Bemis [mailto:kurth@usaexpress.net] Sent: Tuesday, April 17, 2001 5:21 PM To: cuzo@mediaone.net; PHP General List (E-mail) Subject: RE: [PHP] PHP/M3U Questions!!! At 05:12 PM 4/17/2001, Chris Cocuzzo wrote: theres a formula for figuring out how many frames based on file size and time....however if your making a playlist with 20 or so entries the EXTINF's aren't really nessary ~kurth >Ok that makes sense definitely. I guess I wonder. How would I code something >so I could find out the number of frames in a particular mp3 so I could >generate the m3u file? I've seen a lot of this stuff implemented in PERL, >however I'm not familiar with PERL that much, so it wouldn't matter. >PHP-wise, any ideas on how to find that number of frames? > >--chris > > >-----Original Message----- >From: Kurth Bemis [mailto:kurth@usaexpress.net] >Sent: Tuesday, April 17, 2001 4:54 PM >To: cuzo@mediaone.net; PHP General List (E-mail) >Subject: Re: [PHP] PHP/M3U Questions!!! > > >At 04:43 PM 4/17/2001, Chris Cocuzzo wrote: > >as far as I know the EXTINF is just data that win amp puts in play >lists. its just the number of frames i believe then teh song title. this >allows winamps play list editor to read the data for the files in the play >list without opening them all...on a large (450) or so that can take a long >time.... > >hope this helps.. > >~kurth > > >Hey, > > > >First I'll ask my OT question. I've been thinking lately of implementing a > >system on my band's website where people can log in, and maintain a >playlist > >of all the mp3's I have on the site. Obviously when they want to play it, >or > >a single file, they can hit play and the m3u file will automatically > >download to whatever mp3 player their using. If you used winamp, you > >probably know the idea I'm getting at. Anyways...I'm confused on one part. > > > >this is what the m3u file looks like: > >#EXTM3U > >#EXTINF:183,Greyboy Allstars - Jack Rabbit > >\\Cocuzzo2\cocuzzo dr d\nap\Greyboy Allstars - Jack Rabbit.mp3 > >#EXTINF:96,Greyboy Allstars - Let the music take your mind > >\\Cocuzzo2\cocuzzo dr d\nap\Greyboy Allstars - Let the music take your > >mind.mp3 > >#EXTINF:184,Greyboy Allstars - Soul Dream > >\\Cocuzzo2\cocuzzo dr d\nap\Greyboy Allstars - Soul Dream.mp3 > >#EXTINF:105,Greyboy Allstars - Fried grease > >\\Cocuzzo2\cocuzzo dr d\nap\Greyboy Allstars - Fried grease.mp3 > >#EXTINF:119,Greyboy Allstars Who's Gonna Be The Junkie > >\\Cocuzzo2\cocuzzo dr d\nap\Greyboy Allstars Who's Gonna Be The Junkie.mp3 > >#EXTINF:117,Greyboy Allstars - Gravee > >\\Cocuzzo2\cocuzzo dr d\nap\Greyboy Allstars - Gravee.mp3 > > > >I understand all of this except for those numbers after the #EXTINF. Does > >anyone know what they mean? > > > >my php question is, what functions might I use to do something like this. > >I've been checking out some code, and I've seen things like people using > >buffers and http functions to get the whole thing working. Any ideas? > > > >--Chris > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > >For additional commands, e-mail: php-general-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#49069) next »