# HG changeset patch # User yoneda # Date 1257231684 -32400 # Node ID 1363ac0561978597e5c25e890a38c9c15074bd43 # Parent 1033324d7ecc965a377e743d8c70fd1878c9706c fix: getepg get program information duaring CS/BS recording. diff -r 1033324d7ecc -r 1363ac056197 getepg.php --- a/getepg.php Tue Nov 03 14:54:40 2009 +0900 +++ b/getepg.php Tue Nov 03 16:01:24 2009 +0900 @@ -14,7 +14,7 @@ // BSを処理する if( $settings->bs_tuners != 0 ) { // 録画重複チェック - $num = DBRecord::countRecords( RESERVE_TBL, "WHERE complete = '0' AND type = 'BS' AND endtime > now() AND starttime < addtime( now(), '00:03:05')" ); + $num = DBRecord::countRecords( RESERVE_TBL, "WHERE complete = '0' AND (type = 'BS' OR type = 'CS') AND endtime > now() AND starttime < addtime( now(), '00:03:05')" ); if( $num == 0 ) { $cmdline = "CHANNEL=211 DURATION=180 TYPE=BS TUNER=0 MODE=0 OUTPUT=".$settings->temp_data." ".DO_RECORD . " >/dev/null 2>&1"; exec( $cmdline );