I know this has been asked before, and people have had it working in the past, but I am having no luck in getting liquidsoap to play a random playlist from a directory. I am running airtime 2.2 on Ubuntu server 12.04. I am looking to use airtime as a playout system for our local community radio station and its looking promising, except that in the event of there being nothing in the schedule and nothing on any of the other input streams I need a random playlist to go out. We face the prospect of a fine or broadcast licence being taken away if there is dead air.
I hashed out the 2 'default = ' lines in ls_script.liq and replaced them with default=playlist(mode='random',"/srv/airtime/stor") , but it doesn't work - all there is is silence. In previous versions of airtime (according to the forums) it seems to have been working.
Has something been changed in the code in 2.2 that causes this mod to stop working?
Steve
Post edited by Steve Franklin at 2012-11-11 18:53:23
Have you tried using a third party way of doing this ?
Just install a streaming client that can read the contents of a folder, then get that to stream to your master source, it's a work around until the feature is fixed ;)
def crossfade(s) s = fade.in(type="log", duration=0., s) s = fade.out(type="log", duration=0., s) fader = fun (a,b) -> add(normalize=false,[b,a]) cross(fader,s) end
ignore(output.dummy(default, fallible=true))
Post edited by MinistryofSoca at 2012-11-13 14:28:44
I've been trying to get this working - no go. I edited ls_script.lq and restarted airtime-liquidsoap - silence. if I restart just liquidsoap service, I get error
Stopping liquidsoap channels: no script found in /etc/liquidsoap
Starting liquidsoap channels: no script found in /etc/liquidsoap
Hmm... Ubuntu 12.04 and latest Airtime - what am I missing?