Rojiraan said:Hi all !
I just started to use Airtime for an independent radio project. I love the concept, the interface is very intuitive and simple to use, I think this is the best thing I could use for my project. I tried various thing like Rivendell, or Liquidsoap standalone, but Airtime looks really like the final solution. So big thanks to the team !
Do you think that I could do something similar despite the fact that Liquidsoap is tied to the Airtime software ? Does ls_script.liq is the file to edit ? I imagine that in this case I shouldn't program Airtime shows in the same schedule than my "hacked" playlists or serious bugs could happen...#!/usr/bin/liquidsoap
# Log dir
set("log.file.path","/home/radiotest/Documents/MYRADIO/log/basic-radio.log")
# If something goes wrong, we'll play this
security = single("/home/radiotest/Documents/MYRADIO/crashtest.mp3")
# Music
GLOBALMIX = playlist("/home/radiotest/Documents/MYRADIO/globalmixplaylist.m3u")
# Music number 2
GLOBALMIX2nd = playlist("/home/radiotest/Documents/MYRADIO/globalmixplaylist2nd.m3u")
# Start building the feed with music
radio = fallback([
switch([({ 18h-18h02 }, GLOBALMIX),
({ 18h03-18h05 }, GLOBALMIX2nd)])
])
# And finally the security
radio = fallback(track_sensitive = false, [radio, security])
# Transition
radio = crossfade(start_next=1.,fade_out=2.,fade_in=2.,radio)
# Stream it out
output.icecast(%mp3(bitrate=128),
host = "localhost", port = 8000,
password = "admin", mount = "MYRADIO.mp3",
radio)
Thanks again for the help !
It looks like you're new here. If you want to get involved, click one of these buttons!