チェンジセット 120: trunk/install/perl
- コミット日時:
- 2010/10/04 18:35:03 (14 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/perl/xmltv2foltia.pl
r111 r120 224 224 $foltiaendtime = substr($foltiaendtime,0,12); # 12桁 200508072355 225 225 226 $sth = $dbh->prepare($stmt{'xmltv2foltia.replaceepg.1'}); 227 $sth->execute($foltiastarttime , $foltiaendtime , $ontvepgchannel); 226 #$sth = $dbh->prepare($stmt{'xmltv2foltia.replaceepg.1'}); 227 my $now = &epoch2foldate(time()); 228 $sth = $dbh->prepare( "SELECT * FROM foltia_epg WHERE enddatetime > ? AND startdatetime < ? AND ontvchannel = ? AND startdatetime > ?"); 229 $sth->execute($foltiastarttime , $foltiaendtime , $ontvepgchannel,$now); 228 230 229 231 while (@data = $sth->fetchrow_array()) {