mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-17 02:13:41 +02:00
- bouquets: allow xmltv directly from webtv xml file
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -242,13 +242,35 @@ public:
|
||||
|
||||
void g_settings_video_Mode(int value) { g_settings.video_Mode = value; }
|
||||
|
||||
void g_settings_xmltv_xml_m3u_clear() { g_settings.xmltv_xml_m3u.clear(); }
|
||||
void g_settings_xmltv_xml_m3u_pushback(std::string _epg_url) {g_settings.xmltv_xml_m3u.push_back(_epg_url); }
|
||||
void xmltv_xml_readepg() { for (std::list<std::string>::iterator it = g_settings.xmltv_xml.begin(); it != g_settings.xmltv_xml.end(); it++)
|
||||
g_Sectionsd->readSIfromXMLTV((*it).c_str()); }
|
||||
void xmltv_xml_m3u_readepg() { for (std::list<std::string>::iterator it = g_settings.xmltv_xml_m3u.begin(); it != g_settings.xmltv_xml_m3u.end(); it++)
|
||||
g_Sectionsd->readSIfromXMLTV((*it).c_str()); }
|
||||
void g_settings_xmltv_xml_auto_clear()
|
||||
{
|
||||
g_settings.xmltv_xml_auto.clear();
|
||||
}
|
||||
void g_settings_xmltv_xml_auto_pushback(std::string _xmltv_url)
|
||||
{
|
||||
if (find(g_settings.xmltv_xml_auto.begin(), g_settings.xmltv_xml_auto.end(), _xmltv_url) == g_settings.xmltv_xml_auto.end())
|
||||
g_settings.xmltv_xml_auto.push_back(_xmltv_url);
|
||||
}
|
||||
void xmltv_xml_readepg()
|
||||
{
|
||||
for (std::list<std::string>::iterator it = g_settings.xmltv_xml.begin(); it != g_settings.xmltv_xml.end(); it++)
|
||||
g_Sectionsd->readSIfromXMLTV((*it).c_str());
|
||||
for (std::list<std::string>::iterator it = g_settings.xmltv_xml_auto.begin(); it != g_settings.xmltv_xml_auto.end(); it++)
|
||||
g_Sectionsd->readSIfromXMLTV((*it).c_str());
|
||||
}
|
||||
|
||||
void g_settings_xmltv_xml_m3u_clear()
|
||||
{
|
||||
g_settings.xmltv_xml_m3u.clear();
|
||||
}
|
||||
void g_settings_xmltv_xml_m3u_pushback(std::string _epg_url)
|
||||
{
|
||||
g_settings.xmltv_xml_m3u.push_back(_epg_url);
|
||||
}
|
||||
void xmltv_xml_m3u_readepg()
|
||||
{
|
||||
for (std::list<std::string>::iterator it = g_settings.xmltv_xml_m3u.begin(); it != g_settings.xmltv_xml_m3u.end(); it++)
|
||||
g_Sectionsd->readSIfromXMLTV((*it).c_str());
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user