]> _ Git - tortuga-home.git/commitdiff
.
authorvincent <vincent@enhydra.fr>
Sun, 19 Dec 2021 12:08:52 +0000 (13:08 +0100)
committervincent <vincent@enhydra.fr>
Sun, 19 Dec 2021 12:08:52 +0000 (13:08 +0100)
.idea/workspace.xml
config/tv.php
scripts/lib/kodi.php
scripts/lib/scenes.php
scripts/lib/wol.php
scripts/tmdb.php

index b702e1076808c886ff98bc6483c4db49aaa89930..dee1b9d8dc6c3b9188d5c11bf31c8fca998b0c86 100644 (file)
@@ -2,10 +2,12 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
-      <change afterPath="$PROJECT_DIR$/scripts/wcvmc.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/config/tv.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/tv.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" />
       <change beforePath="$PROJECT_DIR$/scripts/lib/wol.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/wol.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/scripts/tmdb.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/tmdb.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1638959846647" duration="5250000" />
       <workItem from="1638973361360" duration="1389000" />
       <workItem from="1639125380760" duration="7979000" />
-      <workItem from="1639836343662" duration="1578000" />
-    </task>
-    <task id="LOCAL-00445" summary=".">
-      <created>1612123146249</created>
-      <option name="number" value="00445" />
-      <option name="presentableId" value="LOCAL-00445" />
-      <option name="project" value="LOCAL" />
-      <updated>1612123146249</updated>
+      <workItem from="1639836343662" duration="4068000" />
+      <workItem from="1639842733236" duration="629000" />
+      <workItem from="1639915626705" duration="56000" />
     </task>
     <task id="LOCAL-00446" summary=".">
       <created>1612199517377</created>
       <option name="project" value="LOCAL" />
       <updated>1639302540067</updated>
     </task>
-    <option name="localTasksCounter" value="494" />
+    <task id="LOCAL-00494" summary=".">
+      <created>1639837981727</created>
+      <option name="number" value="00494" />
+      <option name="presentableId" value="LOCAL-00494" />
+      <option name="project" value="LOCAL" />
+      <updated>1639837981727</updated>
+    </task>
+    <option name="localTasksCounter" value="495" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
     <option name="version" value="3" />
   </component>
-  <component name="Vcs.Log.History.Properties">
-    <option name="COLUMN_ORDER">
-      <list>
-        <option value="0" />
-        <option value="2" />
-        <option value="3" />
-        <option value="1" />
-      </list>
-    </option>
-  </component>
   <component name="Vcs.Log.Tabs.Properties">
     <option name="TAB_STATES">
       <map>
index 76d345302ac51a9abdadee14f9890928b8b2c46e..fda8ca8b60b22ef2babf5060991a6c2c78f5d21a 100644 (file)
@@ -141,4 +141,4 @@ foreach ($tv as $name => $service) {
     }
 }
 
-profile('Got DVB Channels', __FILE__, __LINE__);
\ No newline at end of file
+profile('Got DVB and TV Channels', __FILE__, __LINE__);
\ No newline at end of file
index 4290178efd7f6252e79b4f41ca8e84a17cc2959f..1101de4999808a4bd16aed4c154a074a2dfec506 100644 (file)
@@ -6,7 +6,7 @@ $_koditotmdb = null;
 
 function getKodiDBConnection()
 {
-    return mysqli_connect('kodidb.home.tortuga.enhydra.fr', "kodi", "atacama", "MyVideos119");
+    return mysqli_connect('kodidb.home.tortuga.enhydra.fr', "kodi", "4xNkxCDAyWrp5VVthtgS", "MyVideos119");
 }
 
 function kodiGetAllKodiToTmdb($force = false)
index d48b855584526b31884e6e7328695cad921db956..e513067f2be4cee7f883f06b46fe97dd61bee9ad 100644 (file)
@@ -1213,8 +1213,6 @@ function checkWCVMC()
 {
     $offtime = getState('wcVMCOff', -1);
     $time = time();
-    echo 'on : ' . getState('lastVMCOn') . '<br>';
-    echo 'off : ' . $offtime . '<br>now :  ' . $time . ' ';
     if ($offtime == -1 || $offtime > $time || getState('lastVMCOn') > $offtime) {
         return;
     }
@@ -1240,7 +1238,7 @@ function alert()
     if (getNightMode()) {
         return;
     }
-
+    
     execScene('home/doalert');
 
     $rep = 1 * 2;
index 97c207e79f40f3c2b849a6a358f78e4ae8a1ee5a..7da3ebaa13f72ddcdb68eb383c4cc46a297c8f0b 100644 (file)
@@ -9,7 +9,7 @@ function wol($device)
 
     try {
         freeboxWOL($mac);
-    }catch (Exception $e){
+    } catch (Exception $e) {
 
     }
 
index f72824ce620aaa1067a69b72b1bc2b0c0d851e8c..f6c3c00726489ec8958e913321e04992bdb5ce35 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 ob_start();
 require_once 'import.php';
+set_time_limit(0);
 kodiGetTVShowAllStatus(true);
 kodiGetAllKodiToTmdb(true);
 _getTVShows(true, false);