Mercurial > epgrec.yaz
comparison Keyword.class.php @ 66:3d6e7c606896
testing: auto record with mode
author | yoneda <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Tue, 03 Nov 2009 14:51:44 +0900 |
parents | 8965ef108821 |
children | cb7da56c4198 |
comparison
equal
deleted
inserted
replaced
65:f8af9716f021 | 66:3d6e7c606896 |
---|---|
70 if( count($precs) < 300 ) { | 70 if( count($precs) < 300 ) { |
71 // 一気に録画予約 | 71 // 一気に録画予約 |
72 foreach( $precs as $rec ) { | 72 foreach( $precs as $rec ) { |
73 try { | 73 try { |
74 if( $rec->autorec ) { | 74 if( $rec->autorec ) { |
75 Reservation::simple( $rec->id, $this->id ); | 75 Reservation::simple( $rec->id, $this->id, $this->settings->autorec_mode ); |
76 usleep( 100 ); // あんまり時間を空けないのもどう? | 76 usleep( 100 ); // あんまり時間を空けないのもどう? |
77 } | 77 } |
78 } | 78 } |
79 catch( Exception $e ) { | 79 catch( Exception $e ) { |
80 // 無視 | 80 // 無視 |