Tv.php
authorAlan Knowles <alan@akbkhome.com>
Sat, 29 Oct 2011 11:31:38 +0000 (19:31 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 29 Oct 2011 11:31:38 +0000 (19:31 +0800)
Tv.php

diff --git a/Tv.php b/Tv.php
index 00116f8..0215c4f 100644 (file)
--- a/Tv.php
+++ b/Tv.php
@@ -414,12 +414,13 @@ class XML_Tv
                     continue;
                 }
                 foreach($sched as $item) {
-                    //print_r($item);
+                    $this->debug(print_r($item, true));
                     $bits = explode(':', $item['hour']);
                     if ($bits[0] < $last) {
                         $hoffset +=12;
                     }
                     $last = $bits[0];
+                    
                     //var_dump($bits[0] + $hoffset);
                     $start = mktime(/*hmsmdy  */
                             $bits[0] + $hoffset,