I noticed the the player state remains playing after the connection
closes.

This patch sends the stop command on close.

Code:
--------------------
    --- Plugin.pm.orig      2014-02-05 16:53:41.000000000 -0500
  +++ Plugin.pm   2014-02-05 16:48:18.000000000 -0500
  @@ -380,6 +380,8 @@
  $resp->header('Connection', 'close');
  close $conn->{decoder_fh};
  
  +            $conn->{player}->execute( [ 'stop' ] );
  +
  last;
  };
  /^SET_PARAMETER$/ && do {
  
--------------------



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
*1*-Squeezeslave, *2*-Squeezeplays, *5*-Squeezelites
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

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

Reply via email to