Hello All! I'm new to liquidsoap, installed for the first time last night have been playing around with it for a few hours. I'm working on a project that will require quite a bit of customization, so I'll post a quick overview of what it is I'm wanting to accomplish in hopes that someone can steer me in the right direction:
I'll be running a 24/7 talk station, which will have commercials throughout. Generally, the shows will be anywhere from 1-3 hours in length, and be interrupted for commercials roughly every 15 minutes. A show may be live, or pre-recorded. I have an Icecast2 server setup with multiple mountpoints each password-protected so that show hosts can stream to the mount. Liquidsoap would then pick up the appropriate mount based on a schedule, apply some processing, and stream it to a second Icecast2 server that would be public-facing. If this was a static setup, I could easily tell it to go to one mountpoint from 1h-2h, to the second from 2h-3h, etc, and interrupt every 15 minutes for a playlist. But the shows will change, and in will change in length (two one-hour shows might be replaced with one two-hour show, so I can't have it switching mountpoints on the host). Ideally, I would like to have liquidsoap reference an external script that would tell it which mountpoint to attach to, or which local file to play (as the case may be), and I'd like to have it refresh this every 60 seconds. Something like this (pseudo-code): source = switch([ { 0s }, get_process_output("external_script") ]) It would call "external_script" every 60 seconds, which would return either "/path/to/file.mp3" or "http://host:8000/mount" (or perhaps a playlist of local mp3 files totaling 60 seconds in length). "external_script" would reference a local database to find out what is to be played next. "external_script" has not been written yet, so I can make it do whatever needs to be done. Any direction would be appreciated! -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Website : http://www.nickcoons.com | Location : Tempe, AZ USA -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users