add option to read (online) xmltv epg

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8ad9f2e35c
Author: TangoCash <eric@loxat.de>
Date: 2018-09-01 (Sat, 01 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2018-09-01 14:34:25 +02:00
committed by vanhofen
parent 581c171019
commit 26d32001f6
6 changed files with 193 additions and 2 deletions

View File

@@ -67,6 +67,8 @@ struct sectionsd
setConfig, // commandSetConfig
readSIfromIPTVXML, // commandReadSIfromIPTVXML
numberOfCommands // <- no actual command, end of command marker
};

View File

@@ -194,6 +194,14 @@ void CSectionsdClient::readSIfromXML(const char * epgxmlname)
close_connection();
}
void CSectionsdClient::readSIfromIPTVXML(const char * url)
{
send(sectionsd::readSIfromIPTVXML, (char*) url, strlen(url));
readResponse();
close_connection();
}
void CSectionsdClient::writeSI2XML(const char * epgxmlname)
{
send(sectionsd::writeSI2XML, (char*) epgxmlname, strlen(epgxmlname));

View File

@@ -200,6 +200,8 @@ class CSectionsdClient : private CBasicClient
void readSIfromXML(const char * epgxmlname);
void readSIfromIPTVXML(const char * url);
void writeSI2XML(const char * epgxmlname);
/*