]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Fri, 23 Aug 2019 08:16:49 +0000 (10:16 +0200)
committerVincent <vincent@enhydra.fr>
Fri, 23 Aug 2019 08:16:49 +0000 (10:16 +0200)
.idea/workspace.xml
scripts/lib/lib.php
scripts/lib/tmdb.php
style/style.css
style/style.less

index cfee25974925ceba21c61d62447a377d2934d047..f5e408388371ff44b079f6a83be9846a1f5001f5 100644 (file)
@@ -3,9 +3,10 @@
   <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/domoticz.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/domoticz.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/squeezebox.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/squeezebox.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/ssh.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/ssh.php" 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/tmdb.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/tmdb.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/style/style.css" beforeDir="false" afterPath="$PROJECT_DIR$/style/style.css" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/style/style.less" beforeDir="false" afterPath="$PROJECT_DIR$/style/style.less" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
       <workItem from="1566371220982" duration="598000" />
       <workItem from="1566376145799" duration="4963000" />
       <workItem from="1566402117063" duration="1534000" />
-      <workItem from="1566458804773" duration="6055000" />
-    </task>
-    <task id="LOCAL-00161" summary=".">
-      <created>1551084971602</created>
-      <option name="number" value="00161" />
-      <option name="presentableId" value="LOCAL-00161" />
-      <option name="project" value="LOCAL" />
-      <updated>1551084971602</updated>
+      <workItem from="1566458804773" duration="6134000" />
+      <workItem from="1566546848697" duration="1228000" />
     </task>
     <task id="LOCAL-00162" summary=".">
       <created>1551086052431</created>
       <option name="project" value="LOCAL" />
       <updated>1566545980051</updated>
     </task>
-    <option name="localTasksCounter" value="210" />
+    <task id="LOCAL-00210" summary=".">
+      <created>1566546729894</created>
+      <option name="number" value="00210" />
+      <option name="presentableId" value="LOCAL-00210" />
+      <option name="project" value="LOCAL" />
+      <updated>1566546729894</updated>
+    </task>
+    <option name="localTasksCounter" value="211" />
     <servers />
   </component>
   <component name="TodoView">
index 8aeacf9d6c03f3ed533fb60a83f9967e731714e6..c43a57f6a5ba70fd10848a4a6ddff40b4eaa4401 100644 (file)
@@ -303,12 +303,13 @@ function shortcut($s, $hash)
     if (isset($s['seen']) && $s['seen']) {
         $attrs['data-seen'] = '1';
     }
-//    if (isset($s['srt']) && count($s['srt'])) {
-//        $langtoemoji = ['fr' => 'πŸ‡«πŸ‡·', 'en' => 'πŸ‡ΊπŸ‡Έ'];
-//        foreach ($s['srt'] as $item) {
-//            $swcorner .= '<span>' . $langtoemoji[$item] . '</span>';
-//        }
-//    }
+
+    if (isset($s['srt']) && count($s['srt'])) {
+        $langtoemoji = ['fr' => 'πŸ‡«πŸ‡·', 'en' => 'πŸ‡ΊπŸ‡Έ'];
+        foreach ($s['srt'] as $item) {
+            $swcorner .= '<span>' . $langtoemoji[$item] . '</span>';
+        }
+    }
 
 
     if (isset($s['poster'])) {
index 9321c24d944f420ef66662c622d1969041b227e8..784b87286248a9aed16a13c10076fc3c5db688dc 100644 (file)
@@ -265,7 +265,7 @@ class tvShowLibrary extends mediaLibrary
         usort($m, function ($a, $b) {
             return $b['mtime'] - $a['mtime'];
         });
-        return array_slice($m, 0, 10);
+        return array_slice($m, 0, 20);
     }
 }
 
@@ -366,7 +366,7 @@ class moviesLibrary extends mediaLibrary
         usort($m, function ($a, $b) {
             return $b['mtime'] - $a['mtime'];
         });
-        return array_slice($m, 0, 30);
+        return array_slice($m, 0, 60);
     }
 
     function getShortcuts()
index c3768fe50caa5ed8d7d1f9be7149debfb7ed5222..43bf31046f5b8ffae3ad619d13c508e15b7a53b8 100644 (file)
@@ -150,11 +150,20 @@ section .col > * {
   overflow: hidden;
   position: relative;
 }
+section .col > * .sw-corner {
+  position: absolute;
+  left: 0.7em;
+  bottom: 0.6em;
+}
+section .col > * .sw-corner span {
+  margin-right: 0.05em;
+}
 section .col > *.poster {
   background-size: 100% 100%;
   background-position: 50% 50%;
 }
-section .col > *.poster:after {
+section .col > *.poster:after,
+section .col > *.poster:before {
   mix-blend-mode: exclusion;
   color: #fff;
 }
index 5039b2d59b5b55732f277e0c89080acb1d30e247..5322e4809cb55cf16ad7e8913fb9d7a888f1b90b 100644 (file)
@@ -173,11 +173,22 @@ section {
       overflow: hidden;
       position: relative;
 
+      .sw-corner {
+        position: absolute;
+        left: 0.7em;
+        bottom: 0.6em;
+
+        span {
+          margin-right: 0.05em;
+        }
+
+      }
+
       &.poster {
         background-size: 100% 100%;
         background-position: 50% 50%;
 
-        &:after {
+        &:after,&:before {
           mix-blend-mode: exclusion;
           color: #fff;
         }