comparison getepg.php @ 7:6d334d32b657

modified: getepg.php
author Sushi-k <epgrec@park.mda.or.jp>
date Thu, 09 Jul 2009 19:15:46 +0900
parents f5a9f0eb4858
children e5f9aa34d06f
comparison
equal deleted inserted replaced
6:3037002b8c23 7:6d334d32b657
89 $rec->type = $type; 89 $rec->type = $type;
90 $rec->channel = $map["$disc"]; 90 $rec->channel = $map["$disc"];
91 $rec->channel_disc = $disc; 91 $rec->channel_disc = $disc;
92 $rec->name = $ch->{'display-name'}; 92 $rec->name = $ch->{'display-name'};
93 } 93 }
94 else {
95 // 存在した場合も、とりあえずチャンネル名は更新する
96 $rec = new DBRecord(TBL_PREFIX.CHANNEL_TBL, "channel_disc", $disc );
97 $rec->name = $ch->{'display-name'};
98 }
94 } 99 }
95 catch( Exception $e ) { 100 catch( Exception $e ) {
96 exit( "ChannelUpdater::". $e->getMessage() ); 101 // 無視
97 } 102 }
98 } 103 }
99 // channel 終了 104 // channel 終了
100 105
101 // programme 取得 106 // programme 取得