mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- epgview: rework CEPGDataHandler::exec() to get work in movieplayer-mode too
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1702,20 +1702,22 @@ void CEpgData::ResetModules()
|
|||||||
|
|
||||||
int CEPGDataHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/)
|
int CEPGDataHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/)
|
||||||
{
|
{
|
||||||
int res = menu_return::RETURN_EXIT_ALL;
|
int res = menu_return::RETURN_EXIT_ALL;
|
||||||
CChannelList *channelList;
|
|
||||||
CEpgData *e;
|
|
||||||
|
|
||||||
|
if (parent)
|
||||||
if (parent) {
|
|
||||||
parent->hide();
|
parent->hide();
|
||||||
|
|
||||||
|
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts)
|
||||||
|
{
|
||||||
|
CMoviePlayerGui::getInstance().showMovieInfo();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
CEpgData *e;
|
||||||
|
e = new CEpgData;
|
||||||
|
e->show(CNeutrinoApp::getInstance()->channelList->getActiveChannel_ChannelID());
|
||||||
|
delete e;
|
||||||
}
|
}
|
||||||
|
|
||||||
e = new CEpgData;
|
|
||||||
|
|
||||||
channelList = CNeutrinoApp::getInstance()->channelList;
|
|
||||||
e->show( channelList->getActiveChannel_ChannelID() );
|
|
||||||
delete e;
|
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user