From: Vincent Date: Mon, 16 Mar 2020 12:16:53 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7810090f588717ca6259cad9fce57190ed1d6493;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b9a126b..42d5a69 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,13 +3,8 @@ - - - - - - + @@ -1213,10 +1209,6 @@ - - - - @@ -1226,12 +1218,12 @@ - + - + @@ -1241,22 +1233,22 @@ - + - - + + - - + + - + diff --git a/scripts/lib/mediarasp.php b/scripts/lib/mediarasp.php index 69b956d..e6af88e 100644 --- a/scripts/lib/mediarasp.php +++ b/scripts/lib/mediarasp.php @@ -325,7 +325,7 @@ function mediaRaspCommons($device) sleep(60); } irsend('bureau', 'Projector', 'PowerOn'); - sshRunCommand('/usr/local/bin/soundtohdmi', 'bureau'); + sshRunCommand('/usr/local/bin/soundtohdmi', 'bureau', true, true); } else if ($device == 'sdb') { execScene('sdb/ampli/on'); } diff --git a/scripts/lib/squeezebox.php b/scripts/lib/squeezebox.php index 28987b4..155cc70 100644 --- a/scripts/lib/squeezebox.php +++ b/scripts/lib/squeezebox.php @@ -87,6 +87,9 @@ function squeezePlayByName($musicName, $player, $volume = null, $playIfSync = tr if ($player == $squeezeboxPlayers['Salle de bains']) { execScene('sdb/ampli/on'); } + if ($player == $squeezeboxPlayers['Bureau']) { + sshCommand('/usr/local/bin/soundtojack', 'bureau', true, true); + } squeezeRequest('pause', $player); if (null !== $volume) { if (config('VOLUME_DEVICE') == 'SqueezeboxPlayer') {