Streaming to Shoutcast

Although LiquidSoap is primarily aimed at streaming to Icecast servers (that provide much more features than Shoutcast), it is also able to stream to Shoutcast, thanks to libshout.

output.shoutcast.mp3

You can use the function output.shoutcast.mp3 to feed your server with audio data:

source = single("audiofile.ogg")

output.shoutcast.mp3(host="shoutcast.example?xml version="1.0"?>



  
  Liquidsoap :: Sources using requests
  
  


Playing files is the most common way to build an audio stream. In liquidsoap, files are accessed through requests, which combine the retrieval of a possibly remote file, and its decoding.

Liquidsoap provides several operators for playing requests: single, playlist and playlist.safe, request.dynamic, request.queue and request.equeue. In a few cases (single with a local file, or playlist.safe) a request operator will know that it can always get a ready