This is something you’d do in a callback function, yes?  Where are all the 
available callback hooks documented?

From: Romain Beauxis [mailto:[email protected]]
Sent: Thursday, May 26, 2016 1:18 PM
To: savonet-users <[email protected]>
Subject: Re: [Savonet-users] rest server

Hi,

You should be able to execute any external process of your choice using for 
instance system(). Also, you should be able to use http.get and http.post 
functions. See: 
http://liquidsoap.fm/doc-svn/reference.html#http_get<https://urldefense.proofpoint.com/v2/url?u=http-3A__liquidsoap.fm_doc-2Dsvn_reference.html-23http-5Fget&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=gPhgF-sIe8fE6JDQzJ_1KqzzWxctU74BqGenuJhL6OQ&s=Fg71bR7-8u_suxhjPbMejv8fbTjqvkc3QzpaBB91_xE&e=>

Romain

2016-05-26 4:07 GMT-05:00 Feiko 
<[email protected]<mailto:[email protected]>>:
Hai Lars,

how liquidsoap can send a command to the Rest Server within RadioDJ.

I know how it works in RadioDJ, I have made a PHP remote for it, but now
liquidsoap.

Tnx,
Feiko

Op 26-5-2016 om 2:49 schreef Lars Kruse:
> Hello Feiko,
>
>
> Am Wed, 25 May 2016 17:51:21 +0200
> schrieb Feiko <[email protected]<mailto:[email protected]>>:
>
>> I have RadioDJ which runs a RESTserver and I want liquidsoap trigger
>> some functions.
>>
>> Can somebody tell me how I can do this in liquidsoap???
> which part of these two problems are you looking for?
> The triggering of external commands or the HTTP request?
> The latter is probably possible with liquidsoap's "system" function combined
> with curl.
> The triggering probably depends on your events of interest.
>
> Lars
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j<https://urldefense.proofpoint.com/v2/url?u=https-3A__ad.doubleclick.net_ddm_clk_304595813-3B131938128-3Bj&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=gPhgF-sIe8fE6JDQzJ_1KqzzWxctU74BqGenuJhL6OQ&s=rj0_jJVQmgyMq8QlPSj5ewfNPlrM7omtte0SBbRO73c&e=>
> _______________________________________________
> Savonet-users mailing list
> [email protected]<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/savonet-users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=gPhgF-sIe8fE6JDQzJ_1KqzzWxctU74BqGenuJhL6OQ&s=3DpJ1pVPYStyNcGrW5zJov6z1tlWhgkXyXj4203k4Cc&e=>


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j<https://urldefense.proofpoint.com/v2/url?u=https-3A__ad.doubleclick.net_ddm_clk_304595813-3B131938128-3Bj&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=gPhgF-sIe8fE6JDQzJ_1KqzzWxctU74BqGenuJhL6OQ&s=rj0_jJVQmgyMq8QlPSj5ewfNPlrM7omtte0SBbRO73c&e=>
_______________________________________________
Savonet-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/savonet-users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=gPhgF-sIe8fE6JDQzJ_1KqzzWxctU74BqGenuJhL6OQ&s=3DpJ1pVPYStyNcGrW5zJov6z1tlWhgkXyXj4203k4Cc&e=>

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to