]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Sat, 27 Mar 2021 09:38:04 +0000 (10:38 +0100)
committerVincent <vincent@enhydra.fr>
Sat, 27 Mar 2021 09:38:04 +0000 (10:38 +0100)
.idea/workspace.xml
scripts/lib/denon.php

index 5d1b19d9432bb76ed155b172ef86fcdf27e93cd3..8d183cfdd00e4f4962ece47a43adf7bc808a626b 100644 (file)
@@ -4,8 +4,6 @@
     <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/denon.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/denon.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/kodi.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/kodi.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/scenes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/scenes.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1615881847886" duration="1242000" />
       <workItem from="1616096372227" duration="1452000" />
       <workItem from="1616413943061" duration="808000" />
-      <workItem from="1616750847432" duration="1134000" />
-    </task>
-    <task id="LOCAL-00410" summary=".">
-      <created>1606074001062</created>
-      <option name="number" value="00410" />
-      <option name="presentableId" value="LOCAL-00410" />
-      <option name="project" value="LOCAL" />
-      <updated>1606074001062</updated>
+      <workItem from="1616750847432" duration="1280000" />
     </task>
     <task id="LOCAL-00411" summary=".">
       <created>1606116203597</created>
       <option name="project" value="LOCAL" />
       <updated>1615883286918</updated>
     </task>
-    <option name="localTasksCounter" value="459" />
+    <task id="LOCAL-00459" summary=".">
+      <created>1616837743511</created>
+      <option name="number" value="00459" />
+      <option name="presentableId" value="LOCAL-00459" />
+      <option name="project" value="LOCAL" />
+      <updated>1616837743512</updated>
+    </task>
+    <option name="localTasksCounter" value="460" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index 0136cf6a3b90ce5c0cef6d6225dc1c4232ea6b3c..5a16719975ce058e06130b4e6562819a9d65a171 100644 (file)
@@ -53,13 +53,13 @@ function denonAVRInput($input)
     $audioMode = ['Media Player' => 'DOLBY DIGITAL', 'AUX' => 'DOLBY DIGITAL', 'CD' => 'DOLBY DIGITAL'];
     if (isset($audioMode[$input])) {
         denonAVRSetAudioMode($audioMode[$input]);
-        usleep(1000000 * 0.5);
+        usleep(1000000 * 1);
     }
 
     $volumes = ['Media Player' => 60, 'HEOS Music' => 50, 'CD' => 30, 'AUX' => 26];
     if (isset($volumes[$input])) {
         denonAVRVolume($volumes[$input], '');
-        usleep(1000000 * 0.5);
+        usleep(1000000 * 1);
     }
 
     //denonAVRSetSpeakerPreset(1);
@@ -145,7 +145,7 @@ function epson($on = true, $force = false)
     sshCommand('/usr/local/bin/ir Epson ' . $cmd, 'salon');
     setState('EpsonPowerState', $on ? '1' : '0');
     if ($currentState !== $on && $on) {
-        sleep(21);
+        sleep(26);
     }
 }