Dear Romain,

 

(btw, I did a work-around by using telnet instead of osc; however osc would be 
much more useful for interaction from php in all future projects, if we can get 
to the bottom of this daemon issue)

 

Regarding the script: you can replicate the issue by using the exact script 
code used at the bottom of this tutorial: 
http://savonet.sourceforge.net/doc-svn/metadata.html 

 

When run in interactive mode, osc.on_string_pair is triggered.  When daemonized 
with -d (sudo -u liquidsoap liquidsoap ….liq -d), the script logs no error but 
the osc.on_string_pair is never triggered. 

First I thought it was a permissions issue related to the print debugging 
command, but disabling print does not solve it.

 

I tried it with versions 1.1.0 and 1.2, with the same results.

 

Thank you and best regards,

 

Christo

 

From: Romain Beauxis [mailto:[email protected]] 
Sent: Wednesday, May 11, 2016 5:38 PM
To: savonet-users <[email protected]>
Subject: Re: [Savonet-users] OSC problem when running in daemon mode

 

Hi Christo,

 

I have no knowledge of how OSC works but perhaps I could help spotting the 
potential differences between running in interactive mode and daemon. Could you 
tell us more about your script, how you run it and etc..?

 

Thanks,

Romain

 

2016-05-08 17:01 GMT-05:00 Christo Grozev <[email protected] 
<mailto:[email protected]> >:

Hi all,

 

I am trying to implement osc.on_string_pair, as in:

 

osc.on_string_pair("/metadata",on_meta)

 

The function on_meta is called with no problem when running liquidsoap in 
interactive mode; however when I run it as daemon (with -d), osc no longer is 
triggered.


Any ideas why?

best regards


Christo

 

 


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Savonet-users mailing list
[email protected] 
<mailto:[email protected]> 
https://lists.sourceforge.net/lists/listinfo/savonet-users

 

------------------------------------------------------------------------------
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