mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
add support for embedded epg-url in m3u
Origin commit data
------------------
Commit: 8a3dc3a6c4
Author: TangoCash <eric@loxat.de>
Date: 2021-09-09 (Thu, 09 Sep 2021)
This commit is contained in:
@@ -968,6 +968,8 @@ int CNeutrinoApp::loadSetup(const char *fname)
|
||||
}
|
||||
}
|
||||
|
||||
g_settings.xmltv_xml_m3u.clear();
|
||||
|
||||
g_settings.livestreamResolution = configfile.getInt32("livestreamResolution", 1920);
|
||||
g_settings.livestreamScriptPath = configfile.getString("livestreamScriptPath", WEBTVDIR);
|
||||
|
||||
@@ -3325,8 +3327,8 @@ TIMER_STOP("################################## after all #######################
|
||||
CUpdateCheckPackages::getInstance()->startThread();
|
||||
#endif
|
||||
|
||||
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());
|
||||
xmltv_xml_readepg();
|
||||
xmltv_xml_m3u_readepg();
|
||||
|
||||
RealRun();
|
||||
ExitRun(g_info.hw_caps->can_shutdown);
|
||||
@@ -4727,6 +4729,11 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
||||
printf("CNeutrinoApp::handleMsg: Reading xmltv epg from %s ...\n", (*it).c_str());
|
||||
g_Sectionsd->readSIfromXMLTV((*it).c_str());
|
||||
}
|
||||
for (std::list<std::string>::iterator it_tmp = g_settings.xmltv_xml_m3u.begin(); it_tmp != g_settings.xmltv_xml_m3u.end(); it_tmp++)
|
||||
{
|
||||
printf("CNeutrinoApp::handleMsg: Reading xmltv epg from %s ...\n", (*it_tmp).c_str());
|
||||
g_Sectionsd->readSIfromXMLTV((*it_tmp).c_str());
|
||||
}
|
||||
return messages_return::handled;
|
||||
}
|
||||
if ((msg >= CRCInput::RC_WithData) && (msg < CRCInput::RC_WithData + 0x10000000)) {
|
||||
|
Reference in New Issue
Block a user