dever 6 years ago
parent
commit
32046b0dbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      live/lib/Cron.php

+ 1 - 1
live/lib/Cron.php

@@ -43,7 +43,7 @@ class Cron
                 if ($v[$video['url_m3u8']]) {
                     $url = explode('/', $v[$video['url_m3u8']]);
                     $index = count($url)-1;
-                    $date = explode('_', $url[$index]);
+                    $date = explode('_', str_replace('.m3u8', '', $url[$index]));
                     print_r($date);
                     print_r($v);
                     if ($date[0] != $v[$video['sdate']]) {