Hi Savonet / Liquidsoap,

I would like to share the Start-up script written for Debian.
It's start, stop or restart the Icecast server and the Liquidsoap
server.
Maybe it's possible to post it on your website:
http://savonet.sourceforge.net/

The script (icecast) can be found in the attachment of this e-mail. I
also want to give an example based on KUDE Radio but without the %-sign
in the *.liq, so it WILL run under Debian. Please check the attachment
radio.liq for more info. Beside that I got a playlist generator! This
script is also attached under the name playlist.sh.

Note:
icecast user & group used to start Icecast server
liquidsoap user & group used to start Liquidsoap server

Thanks in advanced!

-- 
Kind regards,

Melroy van den Berg
[email protected]

Attachments:
-icecast (shell)
-radio.liq
-playlist.sh

Attachment: icecast
Description: application/shellscript

#!/usr/bin/liquidsoap

# Log dir
set("log.file.path","/var/log/liquidsoap.log")

# Music
myplaylist = playlist("/home/*username*/mp3/playlist.m3u")
# Some jingles
#jingles = playlist("~/radio/jingles.m3u")
# If something goes wrong, we'll play this
security = single("/home/*username*/default.ogg")

# Start building the feed with music
radio = myplaylist
# Now add some jingles
# radio = random(weights = [1, 4],[jingles, radio])
# And finally the security
radio = fallback(track_sensitive = false, [radio, security])

# Stream it out
 output.icecast.vorbis(radio,mount="radio.ogg",id="radio_id",
        name="Radio Name",quality=10.,
        host="localhost",port=8000,password="*password*",
        genre="Dance",url="http://your-extern-ip-address:8000/radio.ogg";,
        description="Radio description",
        restart=true)

Attachment: playlist.sh
Description: application/shellscript

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to