hi all,
i did post this around 3 days ago, synce i did not get a reply, i don't think
it got throu.
here is what i get:
Line 15, char 78 before "]": Parse error
i think i am rite in saying, that is the part with the swich clock.
the script is:
#!/usr/local/bin/liquidsoap
# welcome to a script made by josh stirland
# we need to log things if anything goes rong we can check them.
set('log.file.path','/tmp/blind-lightradio.log')
# lets turn screen loging off.
set('log.stdout',true)
#lets add the music sorces
# pop music
pop = playlist(mode='randomize', reload=7200, '/home/blradio/radio/music/pop')
# dance/club/techno
techno = playlist(mode='randomize', reload=7200,
'/home/blradio/radio/music/techno')
# smooth morning music
smooth = playlist(mode='randomize', reload=7200,
'/home/blradio/radio/music/smooth')
# lets make this play at diffrent times of the day
music = fallback([switch([({3h-12h},smooth),({12h-21h},pop),({21h-3h},techno])])
# Adding normalization and compression
nrj(music)
# Adding smart_crossfade transitions
smart_crossfade(music)
# add some thing to make sure that it doesnt fail when loding.
mksafe(music)
# Add the ability to relay live shows
live=input.http('http://s2.blind-light.net:8000/live')
full= fallback(track_sensitive=false,[live,music])
# time to stream all this to a server so people can listen
# MP3 icecast output
o = output.icecast(%mp3, host='localhost',
password='hahayournothavingit', name='BL Radio', genre='pop,
other.',
url='http://www.blind-light.net',description='blind light
radio playing from 2008 pop to
moddon pop.',
restart=true, mount='/blradio.mp3', port=8000,
full)
# again, but in ogg format.
o = output.icecast(%vorbis, host='localhost',
password='hahayournothavingmypw', name='BL Radio',
genre='pop, other.',
url='http://www.blind-light.net',description='blind light
radio playing from 2008 pop to
moddon pop.',
restart=true, mount='/blradio.ogg', port=8000,
full)
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users