OSDN Git Service

mod: キーワード予約のログの位置を変えた
authorepgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
Mon, 22 Mar 2010 06:11:31 +0000 (15:11 +0900)
committerepgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
Mon, 22 Mar 2010 06:11:31 +0000 (15:11 +0900)
Keyword.class.php
storeProgram.inc.php

index b8955a7..fad6193 100755 (executable)
@@ -4,6 +4,7 @@ include_once( INSTALL_PATH . "/DBRecord.class.php" );
 include_once( INSTALL_PATH . "/reclib.php" );
 include_once( INSTALL_PATH . "/Reservation.class.php" );
 include_once( INSTALL_PATH . '/Settings.class.php' );
+include_once( INSTALL_PATH . '/recLog.inc.php' );
 
 class Keyword extends DBRecord {
        
@@ -115,6 +116,7 @@ class Keyword extends DBRecord {
                        try {
                                if( $rec->autorec ) {
                                        Reservation::simple( $rec->id, $this->id, $this->autorec_mode );
+                                       reclog( "Keyword.class::キーワードID".$this->id."の録画が予約された");
                                        usleep( 100 );          // あんまり時間を空けないのもどう?
                                }
                        }
index a26d253..b31715a 100755 (executable)
@@ -25,7 +25,7 @@ function doKeywordReservation() {
        foreach( $arr as $val ) {
                try {
                        $val->reservation();
-                       reclog( "getepg::キーワードID".$val->id."の録画が予約された");
+//                     reclog( "getepg::キーワードID".$val->id."の録画が予約された");
                }
                catch( Exception $e ) {
                        // 無視