Archive of UserLand's first discussion group, started October 5, 1998.

Re: A scriptable streaming MP3 server

Author:Tom Clifton
Posted:7/8/2000; 1:15:40 PM
Topic:scriptingNews outline for 7/8/2000
Msg #:18395 (In response to 18393)
Prev/Next:18394 / 18396

There is nothing really to show, since there isn't an interface to it yet.

The responder is pretty simple. Inside a loop, it reads the top file from the playlist into a string, then sends chunks of the string out using webserver.sendPartial until the string is empty. It then deletes the top line of outline and then repeats the loop.

Oh, and the responder can also work with tables, so XML should also be easy to support.

As far as how this works, it is important to remember that this is a server, not a player. Your player, WinAmp?, would be listening to the stream. All your script would have to do is to replace the current playlist with your list of 5 songs. Seems to me that you could do this with XML-RPC or a web interface.

I will try to work on the interface a little so it isn't faceless.


There are responses to this message:


This page was archived on 6/13/2001; 4:55:36 PM.

© Copyright 1998-2001 UserLand Software, Inc.