Update epg2xml.php
This commit is contained in:
parent
a422a6f8a1
commit
09aa603d93
@ -368,6 +368,7 @@ function GetEPGFromEPG($ChannelInfo) {
|
||||
);
|
||||
$params = http_build_query($params);
|
||||
$url = $url."?".$params;
|
||||
$epginfo = array();
|
||||
try {
|
||||
$response = @file_get_contents($url, False, $context);
|
||||
if ($response === False) :
|
||||
@ -476,6 +477,7 @@ function GetEPGFromKT($ChannelInfo) {
|
||||
);
|
||||
$params = http_build_query($params);
|
||||
$url = $url."?".$params;
|
||||
$epginfo = array();
|
||||
try {
|
||||
$response = @file_get_contents($url, False, $context);
|
||||
if ($response === False) :
|
||||
@ -527,6 +529,7 @@ function GetEPGFromKT($ChannelInfo) {
|
||||
'rebroadcast' => $rebroadcast,
|
||||
'rating' => $rating
|
||||
);
|
||||
|
||||
writeProgram($programdata);
|
||||
endforeach;
|
||||
endif;
|
||||
@ -555,7 +558,7 @@ function GetEPGFromLG($ChannelInfo) {
|
||||
);
|
||||
$params = http_build_query($params);
|
||||
$url = $url."?".$params;
|
||||
|
||||
$epginfo = array();
|
||||
try {
|
||||
$response = @file_get_contents($url, False, $context);
|
||||
if ($response === False) :
|
||||
|
Loading…
x
Reference in New Issue
Block a user