add option to read (online) xmltv epg

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
TangoCash
2018-08-31 20:49:47 +02:00
committed by Thilo Graf
parent 04f1219a1e
commit a9bb08df0d
6 changed files with 193 additions and 2 deletions

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));