From 11490c06af93e9b7674609b4a7b5cb23f5ebbbc8 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 26 Dec 2021 14:38:57 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 22 ++++++++++++---------- scripts/lib/mediarasp.php | 3 +-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2423c41..4f83735 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,7 @@ - + diff --git a/scripts/lib/mediarasp.php b/scripts/lib/mediarasp.php index 5913a8b..70c5ada 100644 --- a/scripts/lib/mediarasp.php +++ b/scripts/lib/mediarasp.php @@ -4,9 +4,8 @@ $mediaraspclient = null; function _remoteCmd($cmd, $device) { - // We first try to send it to salon raspberry before sending a less robust ir command if (!remoteCmd($cmd, $device)) { - if ($device == 'salon') { + if ($device == 'bureau') { echo 'run ' . $cmd . ' with harmony'; harmonyRequest('commands/' . $cmd, 'POST'); } else { -- 2.39.5