[Icecast] change playlist
david.baelde at gmail.com
Mon Feb 18 09:37:50 UTC 2008
I think you should look at scripting support for that kind of think.
But you might find that a bit painful for a simple feature like that.
Moving to a more powerful tool might be simpler. In particular,
liquidsoap (available on Debian and Ubuntu) does what you want very
naturally. Here's a liquidsoap script for your need:
The third item is there to warranty that there is always something to
output in your stream. You could also remove it and use
playlist.safe() instead of playlist(), which triggers extra checks
More information about the Icecast