Hello Davit,

What I do for the moment is using a string with a separator character to 
identify each value like this

command uri|param1|param2|param3  ....

Then from the liquidsoap script, I am using:

         param = string.split(separator="\|",uri)
         uri = list.nth(param,0)
         param1 = list.nth(param,1)
         param2 = list.nth(param,2)
         param3 = list.nth(param,3)

Not as clean as it could be, but... it works :)


Le 17/05/2011 16:21, Davit Barbakadze a écrit :
> Our implementation makes a heavy use of request.dynamic, but sometimes
> we need to pass into the liquidsoap script not only a url of the next
> song, but some additional values as well. Is it possible to pass them
> in simultaneously somehow in a form of array, list or splittable
> string?
>
> Davit Barbakadze
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to