mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- usermenu: add read epg to epg function (thx to DboxOldie)
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -155,7 +155,7 @@ int CMiscMenue::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
{
|
||||
return showMiscSettingsSelectWeatherLocation();
|
||||
}
|
||||
else if(actionKey == "epg_read_now")
|
||||
else if(actionKey == "epg_read_now" || actionKey == "epg_read_now_usermenu")
|
||||
{
|
||||
struct stat my_stat;
|
||||
if (stat(g_settings.epg_dir.c_str(), &my_stat) == 0)
|
||||
@@ -170,7 +170,10 @@ int CMiscMenue::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
g_Sectionsd->readSIfromXMLTV((*it).c_str());
|
||||
}
|
||||
|
||||
return menu_return::RETURN_REPAINT;
|
||||
if (actionKey == "epg_read_now_usermenu")
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
else
|
||||
return menu_return::RETURN_REPAINT;
|
||||
}
|
||||
|
||||
return showMiscSettingsMenu();
|
||||
|
Reference in New Issue
Block a user