Hi Romain,
I'm running a station on IceCast, what I'm trying to do is change the
"name" field in the icecast.output, this is the part that gets in between (
) when someone listens from Winamp or any other media player that can
output the name from an icecast server. Example:
Artist - Title (BlaBla Radio Station - http://blablaradio.com)
The "BlaBla Radio Station - http://blablaradio.com" is the name field like
output.icecast(%mp3(bitrate=192),host="localhost",port=8080,
password="password",mount="duplex",url="XTRadio.ORG",name="*BlaBla Radio
Station - http://blablaradio.com*",radio)
So I'm trying to change the "name" field based on the currently active
input, for example, if the "dj" source is active, the name field should
change to "Live DJ - BlaBla Radio Statio - http://blablaradio.com". I hope
this was muck easier to understand.
Best regards,
*Ákos Veres*
_____________________________________________
http://akos.me - A little about me.
On Mon, Nov 12, 2012 at 12:55 AM, Romain Beauxis <[email protected]>wrote:
> Hi Akos,
>
> 2012/11/10 Akos Veres <[email protected]>:
> > 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)
>
> I do not really understand what you are trying to implement here.
> Could you describe what streaming system you want to implement?
>
> Thanks,
> Romain
>
------------------------------------------------------------------------------
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