Step 1: make a directory for the songs to be stored
in. (for me this is a sub folder I made in mine in the airtime storage
folder) this can be completed in the command line or in GUI, the command
for what I (there is no GUI on the box I am using) did is listed below.
In command line:
mkdir /srv/airtime/downtime
Step 2: Move songs to this location (this can again be done through the GUI, I did mine using the move commands in command line)
mv /file/location/for/song /srv/airtime/downtime
Step 3: Locate the Liquidsoap file that sets up the stream using the find function(this is easiest though the command line
find -name ls_script.liq
Should return a path to this file eg.
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq
Step 4: Open the file as a super user for editing
sudo nano /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq
Step 5: Save a back up copy
Keystroke Ctrl+o
Step 6: Delete the lines that say
default = amplify(0.00001, noise())
default = rewrite_metadata([("artist","Airtime"), ("title", "offline")],default)
Replace with (you could run have a script play here, but for now we will just have it play random things)
default = playlist(mode='random', "/srv/airtime/stor/downtime")
Step 7: Close and Save the flie
Keystroke Ctrl+o
Name= ls_script.liq
Key stroke Ctrl+x
Step 8: Restart the Airtime stream using
If you are running Airtime 2.x.x
sudo service airtime-playout restart
If you are running Airtime1.9.x
sudo service airtime-playout stop
sudo service airtime-playout start
If you are running Airtime1.8.x
sudo /usr/lib/airtime/pypo/bin/airtime-pypo-stop
sudo /usr/lib/airtime/pypo/bin/airtime-pypo-start
Now your airtime server should play songs out of the folder /srv/airtime/stor/downtime when the server is down.
From: http://myassradio.com/index.php/software/airtime/5-fallback-folder
the first problem is under working :D
It looks like you're new here. If you want to get involved, click one of these buttons!