Hi everyone,
I'm trying to change the "name" field while outputting to an icecast
instance based on the source, but I don't really know what's the switch.
How do I get the "live" and "dj" icecast.output's to be "out" once the
source comes online? Here's my code for now:
live = playlist(reload=28000,mode="randomize","/MUSIC/BACKUP")
live = icecast.output(name="Backup")
dj = input.http("http://localhost:8080/test")
dj = icecast.output(name="DJ")
# Load the variable radio with the day playlist folder
radio = live
radio = fallback(track_sensitive=false, [dj,radio])
radio = nrj(radio)
radio = mksafe(radio)
out(output.icecast(%mp3(bitrate=192),
host="localhost",port=8080,password="password",mount="duplex",url="XTRadio.ORG",radio)
Best regards,
*Ákos Veres*
_____________________________________________
http://akos.me
- A little about me.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users