channelname = "charts"
then
"#{channelname}.aacp" should return "charts.aacp"


On Thu, May 23, 2013 at 5:48 PM, Alexander Dal Farra <
[email protected]> wrote:

> d
> ear list
>
> once again i need to bug you with a (presumably) beginner's question.
>
> here is my task. I'd like to use a .liq where i at the beginning set some
> string variables that i'd like to use in the output commands later in the
> script. i have a variable called "channelname". this channelname has to be
> used on two encoders as mountpoints, once with an appended ".aacp" (for the
> AAC+ mountpoint) to the channelname string.
>
> here is what i am trying (and greatly failed):
>
> ---snipp----
>
> channelname = "charts"
>
> monosource=mean(s)
>
>
> output.icecast(%mp3(msg="",mono=true,bitrate=64),fallible=true,description=channelid,mount=channelname,host="
> live-server.com",port=8080,password="foo",monosource)
>
> output.icecast(%aacplus(channels=2,bitrate=64),fallible=true,description=channelid,mount=channelname".aacp",host="
> live-server.com",port=8080,password="foo",s)
> ---/snipp----
>
> how can it be done that channelname and ".aacp" eventually turn out
> channelname.aacp?
>
> thanks in advance for your help! i am quite sure this can be done, still i
> might have failed because of a wrong syntax.
>
> alex
>
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>


-- 
Open source radio in the cloud. Get yours now! ---> http://airtime.pro

Martin Konecny
Software Developer, Sourcefabric
[email protected]

720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420
Skype: martin.konecny15

http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to