Yes, first argument of the script can be retrieved in liquidsoap as
argv(1) (and second argument as argv(2), etc.).

++

Sam.

On Sat, Feb 2, 2013 at 5:14 PM, Alexander <[email protected]> wrote:
> Hello,
>
> is it technically possible to retrieve parameters from console inside .liq
> script? for example:
>
> ./run-station.liq $id
>
> where $id - is id of radiostation i want to run?
> I want to make 3 stations, based on same config, and it's quite not useful
> to keep similar config files (with only one different variable value).
> My config calls php script to retrieve playlists, so if it is possible - it
> would be unbelieveable great :)
>
> Or, perhaps there is another way to tell .liq script which $stationId
> parameter it should define while retrieving songs list from php script?
>
> Thanks in advance!
>
> --
> Kind regards,
> Alexander.
>
> ------------------------------------------------------------------------------
> 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_jan
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>

------------------------------------------------------------------------------
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_jan
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to