mherger wrote: 
> > Hi Michael - BTW, I had to do the same on Shairtunes2 with my mDNS
> > processes (one per player). Any idea why sometimes the player deletion
> > callback does not seem to be called? I've had this problem only on
> > Linux, not on Windows (for once ...)
> 
> I think in Spotty's case it's my using pipes in the command: the pid 
> stored in the Proc::Background object isn't spotty's, but the shell's. 
> That shell is killed correctly, but spotty (and pv) stay alive. I'm not 
> sure whether this is expected behaviour or not... Are you using 
> Proc::Background, too?
> 
> -- 
> 
> Michael

Yes I do use Proc::Background but it's a direct launch of the app, not
in a shell so I assume I get the right PID. I handle creation /
destruction by subscription to 


Code:
--------------------
    
  Slim::Control::Request::subscribe( \&playerSubscriptionChange,
  [ ['client'], [ 'new', 'reconnect', 'disconnect' ] ] );
  
--------------------


It seems that the ->die() call does not always kill the process, but
only in Linux



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=108030

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to