Liquidsoap is a self-documented application,
which means that it can provide help about several of its aspects.
You will learn here how to get help by yourself, by asking liquidsoap.
If you do not succeed in asking the tool, you can of course get help from
humans, preferably on the mailing list
When scripting in liquidsoap, one uses functions that are either builtin
or defined in the script library (e.g
All these functions come with a documentation, that you can access by
liquidsoap -h FUNCTION on the command-line. For example:
Of course if you do not know what function you need, you'd better go through the API reference.
The server (cf. the server tutorial)
offers some help about its commands.
Once connected (either via a TCP or UNIX socket) the
gives you a list of available commands together with a short usage line.
You can then get more detailed information about a specific command
Liquidsoap scripts contain expression like
These are settings, global variables affecting the behaviour of the
Here, the first parameter identifies a setting its path,
and the second one specifies its new value.
You can have a list of available settings, with their documentation,
If you are interested in a particular settings section,
for example server-related stuff, use
liquidsoap --conf-descr-key server.
The output of these commands is a valid liquidsoap script, which you can edit to set the values that you want, and load it (implicitly or not) before you other scripts.
You can browse online the list of available settings.
Several aspects of liquidsoap work with a notion of plugin: builtin scripting functions, audio decoders for files and streams, metadata decoders, protocols, etc. The list of plugins can be used to check that your build of liquidsoap has such or such feature, or simply to browse available functions – actually, the reference is built from that output.
You can get the pretty hairy list of all available plugins from the
liquidsoap --list-plugins, or
liquidsoap --list-plugins-xml for a
more parsable XML output.