I want to use an external program to feed a stream using LiquidSoap.
In http://savonet.sourceforge.net/wiki/LiqExamples I have read that
this can be done using request.dynamic or a program such as bubble.

In principle, these calls must return a song ( and its remote path,
e.g. http://remotepath/song.ogg ). In addition, whenever liquidsoap
stream a song remotely, it *caches* the song in a temporary directory
before playing it.

So, the idea is that liquidsoap calls the remote program and retrieves
the first song in a local cache. Then while this is been played, it
calls the remote program and retrieve and cache other songs, and so
on.

Does this mean that once a (remote) song has been retrieved and
cached, it is considered as *scheduled* and it cannot be removed from
its position in the schedule?
Or still I can use some LiquidSoap code on these cached songs so that,
for instance, I can:
- decide I want to push a jingle before them?
- skip one of these cached songs and play the next one in cache?
- completely erase this cache and request fresh new songs from the
remote service?

Thanks
.claudio

Reply via email to