Mercurial > epgrec.yaz
comparison recorder.php @ 163:b3095425e613
fix: 録画中にEPGの変更があったときにキャンセルされないよう変更
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Sun, 04 Apr 2010 22:49:13 +0900 |
parents | 84220382fea8 |
children | 68f6b36e7c01 |
comparison
equal
deleted
inserted
replaced
162:c6c6bd734f18 | 163:b3095425e613 |
---|---|
154 | 154 |
155 // 牙脂紮 | 155 // 牙脂紮 |
156 | 156 |
157 $proch = false; | 157 $proch = false; |
158 if( ( $proch = epgrec_exec(DO_RECORD) ) !== false ) { | 158 if( ( $proch = epgrec_exec(DO_RECORD) ) !== false ) { |
159 reclog("recorder:: 牙ID".$rrec->id .":".$rrec->type.$rrec->channel.$rrec->title."牙脂紮" ); | |
159 // 牙糸篋緇 | 160 // 牙糸篋緇 |
160 $rec_cont = true; | 161 $rec_cont = true; |
161 while( $rec_cont ){ | 162 while( $rec_cont ){ |
162 $st = proc_get_status($proch); | 163 $st = proc_get_status($proch); |
163 if(! $st['running'] ) $rec_cont = false; // 牙糸篋 | 164 if(! $st['running'] ) $rec_cont = false; // 牙糸篋 |
193 $rrec->complete = 1; // 腟c | 194 $rrec->complete = 1; // 腟c |
194 throw new RecException("recorder:: 牙祉潟潟絎茵紊掩", EPGREC_ERROR ); | 195 throw new RecException("recorder:: 牙祉潟潟絎茵紊掩", EPGREC_ERROR ); |
195 } | 196 } |
196 | 197 |
197 // 篋絎腟篋憜吾 | 198 // 篋絎腟篋憜吾 |
198 | |
199 if( time() < $endtime ) { | 199 if( time() < $endtime ) { |
200 $rrec->endtime = toDatetime( time() ); | 200 $rrec->endtime = toDatetime( time() ); |
201 } | 201 } |
202 | 202 |
203 // 絎篋違腴 | 203 // 絎篋違腴 |