Hi Alexander,

2013/2/21 Alexander <truenr...@gmail.com>:
> i've tried to ask in #savonet irc question, but there is a lot of idlers..
> and i unfortunately can't keep my irc client working for a long time :((
> So, i will try to collect all my questions in one letter.
>
> First case i thought aboout - dynamic change of output.icecast(name = ?)
> parameter.
> For example here i have "first name" for output:
>
>> #!/usr/bin/liquidsoap
>> security = single("security.mp3");
>> output.icecast(%mp3, name = "first name", mount = "test", host =
>> "localhost", port = 80, password = "hackme");
>
>
> And then i want to assign "second name" to station here (and to see new
> station name in my winamp after it is being changed, of course)
>
> Second case is to change bitrate same way.. for example i'm streaming mp3
> 128kbps, and then i want to switch to mp3 256kbps.
>
> I've tried to make smth like this:
>
>> name = ref "first name";
>> output.icecast(%mp3, name = !name, mount = "test", host = "localhost",
>> port = 80, password = "hackme");
>
>
> And then to change name var using reference, but it didn't work there.
>
> Also i've tried to pass output as reference:
>>
>> out = ref output.icecast(%mp3, name = "first name", mount = "test", host =
>> "localhost", port = 80, password = "hackme");
>> def change_name() =
>>   out := !out(name = "new name")
>> end
>
>
> But this also does not work...
>
> Is it technically possible or i have to re-create outputs?

It is not technically possible, you have to re-create the outputs.. Sorry!

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_feb
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to