]> _ Git - tortuga-home.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Sun, 13 Aug 2023 14:08:23 +0000 (16:08 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Sun, 13 Aug 2023 14:08:23 +0000 (16:08 +0200)
.idea/workspace.xml
scripts/lib/denon.php
scripts/lib/squeezebox.php

index 199e7e566853c93cd34b4520bc8db0800fd58f00..5a57da2fcea76e8a39a959a93718729631e92527 100644 (file)
@@ -6,7 +6,8 @@
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/lib.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/lib.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/scripts/lib/denon.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/denon.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/scripts/lib/squeezebox.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/squeezebox.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1690910375137" duration="580000" />
       <workItem from="1691748561800" duration="1265000" />
       <workItem from="1691844371156" duration="3221000" />
-      <workItem from="1691860551613" duration="828000" />
+      <workItem from="1691860551613" duration="1658000" />
     </task>
     <task id="LOCAL-00502" summary=".">
       <created>1641726946298</created>
       <option name="project" value="LOCAL" />
       <updated>1687259667913</updated>
     </task>
-    <option name="localTasksCounter" value="588" />
+    <option name="localTasksCounter" value="589" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index 871f8223e669d0a4a62f22da62fff65911050f2c..a66038e142b9c633d37514a42591df2992ea0920 100644 (file)
@@ -57,7 +57,7 @@ function denonAVRInput($input, $setvolume = false)
     }
 
     if ($setvolume) {
-        $volumes = ['Media Player' => 60, 'Game' => 50, 'HEOS Music' => 40, 'CD' => 30, 'AUX' => 30];
+        $volumes = ['Media Player' => 60, 'Game' => 50, 'HEOS Music' => 40, 'CD' => 30, 'AUX' => 36];
         if (isset($volumes[$input])) {
             for ($i = 0; $i <= 2; $i++) {
                 denonAVRVolume($volumes[$input], '');
index 94687c883840fa127a95ddb2ee9f8db8f30d70d8..a33f5d35c1a8677c7bf45b1a3334de234303155c 100644 (file)
@@ -161,10 +161,10 @@ function squeezePlayerOn($player)
         $state = denonAVRGetPowerState();
         denonAVROn(DENON_SQUEEZEBOX_INPUT, false);
         sleep(4);
-        if (!$state) {
-            denonAVROff();
-            denonAVROn(DENON_SQUEEZEBOX_INPUT, true);
-        }
+//        if (!$state) {
+//            denonAVROff();
+//            denonAVROn(DENON_SQUEEZEBOX_INPUT, true);
+//        }
     } else if ($player == $squeezeboxPlayers['Salle de bains']) {
         execScene('sdb/ampli/on');
         hotwaterCheckMode();