Shoutbox

Radio Player random songs... - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Radio Player random songs... (/showthread.php?tid=48372)

Radio Player random songs... by DJeX on 08-01-2005 at 09:40 PM

Would it be possible to make a php script that chooses a random song from a folder then chooses a random place in that song then plays from that place? If it is please post an example here I've been trying to figure it out but no luck.


RE: Radio Player random songs... by Veggie on 08-01-2005 at 09:48 PM

it would just be esactly the same as a random picture script


RE: Radio Player random songs... by DJeX on 08-01-2005 at 09:51 PM

No it wouldn't, the random pic script uses #'s of the pics names to pick the picture. I need it just to pick a random song file from a folder then pick a random place in that song and play it.


RE: Radio Player random songs... by ShawnZ on 08-01-2005 at 09:53 PM

Errrr, yes it would? Random pic scripts get a pic from a list and readfile it, what your talking about would get an audio from a list and readfile it. I say go modify ksmas to output mp3 headers then just fill it with mp3s instead of pictures


RE: Radio Player random songs... by DJeX on 08-01-2005 at 11:32 PM

Ok thanks, but now how do I get it to pick a random postion in the song and play from there?