1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
# HTTP input
Liquidsoap can create a source that pulls its data from an HTTP location. This location can
be a distant file or playlist, or an icecast or shoutcast stream.
To use it in your script, simply create a source that way:
```{.liquidsoap include="http-input.liq" from="BEGIN" to="END"}
```
This operator will pull regularly the given location for its data, so it should be used for
locations that are assumed to be available most of the time. If not, it might generate unnecessary
traffic and pollute the logs. In this case, it is perhaps better to inverse the paradigm and
use the [input.harbor](harbor.html) operator.
|