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:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 4:54 PM
To: [EMAIL PROTECTED]; 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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to