mod_mp3 request.txt suggestion
Jimmy Blake <[email protected]> Tue, 15 Feb 2005 00:37:18 -0500
| Newsgroups | gmane.comp.apache.mod-mp3 |
|---|---|
| Message-ID | <[email protected]> |
I stumbled across this little project mostly by accident, but I must say I am impressed with it so far. Having had several years of experience running a rather large station that broadcasts through SHOUTcast, I do have one request for your program that I think would allow for it to easily beat out all the remote streaming options many SHOUTcast broadcasters have at this point. What I would love to see as an option for the stream when running in a random rotation mode is the ability to specify a request.txt file containing filenames that should be played as a priority above simply rotating randomly. What I'm guessing happens currently when the stream is on random playlist rotation is that towards the end of the track currently playing, it goes to the playlist and picks a random line and starts to stream that file after the currently playing song is over. The addition I'd like to see would take place just before picking that random song, telling mod_mp3 to check request.txt to see if it contains any lines. If request.txt contains lines, then instead of going selecting a random track for the next song, mod_mp3 would hit use the file contained on the first line of request.txt then remove that first line from the request.txt file after it loads it. If no entries are contained in request.txt then it could just pick a random track through the normal process. Using this in combination with setting up a shoutcast server to act as a relay of the mod_mp3 stream could very well make the most powerful remote DJ control to date.