Liquidsoap dev : Protocol reference

Liquidsoap protocol reference

Annotate

Add metadata to a request

Ffmpeg2wav

Decode any file to wave using ffmpeg

Ftp

Download files using curl

Http

Download files using curl

Https

Download files using curl

Mpd

Finds all files with a tag equal to a given value using mpd.

Polly

Generate speech synthesis using AWS polly service. Result might be mono, needs aws binary in the path.

Process

Resolve a request using an arbitrary process. <cmd> is interpolated with: [("input",<input>),("output",<output>),("colon",":")]. uri is an optional child request, <output> is the name of a fresh temporary file and has extension .<extname>. <input> is an optional input file name as returned while resolving uri.

Replay_gain

Compute replaygain value using the extract-replaygain script. Adds returned value as "replay_gain" metadata

S3

Fetch files from s3 using the AWS CLI

Say

Generate speech synthesis using text2wave and sox. Result is always stereo.

Text2wave

Generate speech synthesis using text2wave. Result may be mono.

Tmp

Mark the given uri as temporary. Useful when chaining protocols

Youtube-dl

Resolve a request using youtube-dl.