Hi list,
With your help i could make a radio station that connect to my icecast and
streams using a jingle every time a client connects. Now i need some help
implementing more advanced functions in order to replace the ices0.4
This is my script:
______________________________________________
#!/usr/local/bin/liquidsoap -v
set log.dir = "/tmp"
set socket = false
#output = ouput.ao
# Output via libao is the most portable and stable option.
# You may also be able to use output.alsa.
# If you have a configured icecast server,
# uncomment the next two lines and edit the parameters
#WORKING
output =
output.icecast.mp3(mount="example.mp3",bitrate=64,host="localhost",port=8002,user="XXX",password="XXX")
output(playlist.safe("/PATH/TO/playlist.txt"))
#TESTING
#LOAD SOMETHING IF THE MOUNT FAILS
#interlude = single("/data/streaming/liquidsoap/zoom___soda_stereo.mp3")
#MOVE LISTENNERS TO ANOTHER MOUNT POINT IF THE MAIN FAILS
#src = fallback(tracksensitive=false,[valid_mount_point_name])
_______________________________________________
QUESTIONS
1) My interlude simply does not work, if the user is listening and i kill the
mount point, the user is disconnected after some seconds without interlude
song. What is wrong in the code?
2)I cannot run the script with the fallback line, my sintax must have a
problem, how should i rewrite it ?
3) the playlist is reproduced by the liquidsoap in random order, what is the
parameter to change it?
Thanks for help
Jorge
-------------------------------------
Saca tu propia cuenta de email gratis en Colombia entrando a
http://mail.conexcol.com