As a radio station owner I’m sure you have plans for some elaborate station programming. Liquidsoap comes with some great built in tools for scheduling when certain sources should play
For example, here is how you would schedule a different playlist for different times during the week, using the switch command
The syntax for times should be simple enough to understand. The days of the week are numbered 1w - 7w, starting with Sunday. You can use XhXX for hours and minutes. Then just use any source as the second argument. Here I’m using playlist sources.
As usual personally I’m using a combination of ruby and redis to implement a
more custom solution. I will perhaps share the details of this in a further
post.
Modern Online Radio with Liquidsoap Book - Free Sample
Need more help with liquidsoap?
Can’t get your script to work?
I wrote a book to help you learn Liquidsoap. The book covers all aspects of liquidsoap, from getting started, to making dynamic streams, audio processing, video, customizing metadata, authentication, and more. The book is available for purchase now here!
You can get a free sample chapter of my book! Just enter your email address to subscribe to my mailing list and I'll send you a free PDF sample of the book in return.