mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
add option to read (online) xmltv epg
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -67,6 +67,8 @@ struct sectionsd
|
||||
|
||||
setConfig, // commandSetConfig
|
||||
|
||||
readSIfromIPTVXML, // commandReadSIfromIPTVXML
|
||||
|
||||
numberOfCommands // <- no actual command, end of command marker
|
||||
};
|
||||
|
||||
|
@@ -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));
|
||||
|
@@ -200,6 +200,8 @@ class CSectionsdClient : private CBasicClient
|
||||
|
||||
void readSIfromXML(const char * epgxmlname);
|
||||
|
||||
void readSIfromIPTVXML(const char * url);
|
||||
|
||||
void writeSI2XML(const char * epgxmlname);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user