From: Vincent Date: Sat, 20 Feb 2021 10:22:33 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=71c491913e00c790dcd0492420fb66e86cb58d54;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e9ab19b..aa442fa 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,7 @@ - - + diff --git a/scripts/lib/off.php b/scripts/lib/off.php index 2c14264..4791505 100644 --- a/scripts/lib/off.php +++ b/scripts/lib/off.php @@ -19,13 +19,16 @@ function off($device = null) function commonOff($device) { - remoteCmdMedia('stop', $device); + $novlc = ['bureau', 'salon']; + if (!in_array($device, $novlc)) { + remoteCmdMedia('stop', $device); + } stopPlayersIn($device); } function offSalon() { - epson(false,true); + epson(false, true); denonAVROff(); shieldKillAll('salon'); shieldSleep('salon');