Hi
Am 06.07.2011 01:26, schrieb Josh:
> hi,
> i have made a script, and keep getting parss problems, and here is my
> script:
> #!/usr/local/bin/liquidsoap
> #log directory
> set("log.file.path","/temp/blradio.log")
> #output of log on the screen
> set("log.stdout",true)
> #set the source
> music = normalize(playlist.save,reload=7200,"/home/blradio/music")
You're missing 2 braces here.
music = normalize(playlist.save(reload=7200,"/home/blradio/music"))
> # Add the ability to relay live shows
> full =
> fallback(track_sensitive=false,
> [input.http("http://localhost:8000/live"),
> music])
I prefer this way:
----------
live=input.http("http://some.url.here")
..
full= fallback(track_sensitive=false,[live,music])
----------
makes the script easier to read end edit later. But this is up to you.
> #stream it out
> output.icecast.mp3
> (samplerate=44100,bitrate=128,host="localhost",port=8000,password="myradiopassword",mount="blradio",name="BL
>
> Radio",url=http://blind-light.net/,description="Blind Light
> Radio.",restart=true,restart_delay=6,music)
>
You should change source "music" to "full" or else our're not playing
the intendet source"full"
> thanks if this script can be fixt, josh.
> using liquidsoap 0.9.0 at leest i think so.
Hope i havent missed any errors...
--Tom
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
>
>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users