From 406b274d94254a9966e184518ccf4a4fffeddd90 Mon Sep 17 00:00:00 2001 From: Vincent Date: Tue, 16 Mar 2021 09:05:19 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 23 +++++++++++------------ scripts/lib/denon.php | 10 +++++----- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d3812fb..363dd18 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,8 @@ - - - + diff --git a/scripts/lib/denon.php b/scripts/lib/denon.php index 0136cf6..f1d8643 100644 --- a/scripts/lib/denon.php +++ b/scripts/lib/denon.php @@ -56,11 +56,11 @@ function denonAVRInput($input) usleep(1000000 * 0.5); } - $volumes = ['Media Player' => 60, 'HEOS Music' => 50, 'CD' => 30, 'AUX' => 26]; - if (isset($volumes[$input])) { - denonAVRVolume($volumes[$input], ''); - usleep(1000000 * 0.5); - } +// $volumes = ['Media Player' => 60, 'HEOS Music' => 50, 'CD' => 30, 'AUX' => 26]; +// if (isset($volumes[$input])) { +// denonAVRVolume($volumes[$input], ''); +// usleep(1000000 * 0.5); +// } //denonAVRSetSpeakerPreset(1); } -- 2.39.5