Mercurial > epgrec.yaz
diff 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 |
line wrap: on
line diff
--- a/getepg.php Wed Jul 08 19:19:16 2009 +0900 +++ b/getepg.php Thu Jul 09 19:15:46 2009 +0900 @@ -91,9 +91,14 @@ $rec->channel_disc = $disc; $rec->name = $ch->{'display-name'}; } + else { + // 存在した場合も、とりあえずチャンネル名は更新する + $rec = new DBRecord(TBL_PREFIX.CHANNEL_TBL, "channel_disc", $disc ); + $rec->name = $ch->{'display-name'}; + } } catch( Exception $e ) { - exit( "ChannelUpdater::". $e->getMessage() ); + // 無視 } } // channel 終了