Mercurial > epgrec.yaz
diff recorder.php @ 161:84220382fea8
mod: 録画中のキャンセルを可能にした(動作確認、まだ不完全かも)
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Sun, 04 Apr 2010 17:10:17 +0900 |
parents | 4099ae0393eb |
children | b3095425e613 |
line wrap: on
line diff
--- a/recorder.php Tue Mar 30 19:00:39 2010 +0900 +++ b/recorder.php Sun Apr 04 17:10:17 2010 +0900 @@ -14,6 +14,11 @@ define( "RECORDER_CMD", INSTALL_PATH . "/recorder.php" ); } +$settings = Settings::factory(); +$reserve_id = $argv[1]; +$msgh_r = null; // 篆∞<祉若吾潟 +$msgh_w = null; // 篆∞<祉若吾潟 + // 潟潟違<祉若後篆 @@ -54,7 +59,7 @@ function epgrec_childproc( $p ) { $st = proc_get_status( $p ); - $cpids = epgrec_childproc( $st['pid'] ); + $ppid = $st['pid']; // ps 絎茵 $d = array( @@ -104,10 +109,6 @@ ////// 膩 -$settings = Settings::factory(); -$reserve_id = $argv[1]; -$msgh_r = null; // 篆∞<祉若吾潟 -$msgh_w = null; // 篆∞<祉若吾潟 // <祉若吾潟緇 $ipc_key = ftok( RECORDER_CMD, "R" ); @@ -171,6 +172,7 @@ else { epgrec_send_message("success"); reclog("recorder:: 牙ID".$rrec->id .":".$rrec->type.$rrec->channel.$rrec->title."牙祉筝" ); + $rec_cont = false; } break;