mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
Neutrino timer list: always show correct infos in EPG viewer
if the EPG ID of a timer list entry is 0 or the corresponding EPG data can't be found, then you see wrong infos in EPG viewer Signed-off-by: Christian Schuett <Gaucho316@hotmail.com>
This commit is contained in:
committed by
Jacek Jendrzej
parent
78d9d97a82
commit
5964aa7ad4
@@ -642,7 +642,10 @@ int CTimerList::show()
|
|||||||
if (timer->eventType == CTimerd::TIMER_RECORD || timer->eventType == CTimerd::TIMER_ZAPTO)
|
if (timer->eventType == CTimerd::TIMER_RECORD || timer->eventType == CTimerd::TIMER_ZAPTO)
|
||||||
{
|
{
|
||||||
hide();
|
hide();
|
||||||
res = g_EpgData->show(timer->channel_id, timer->epgID, &timer->epg_starttime);
|
if (timer->epgID != 0)
|
||||||
|
res = g_EpgData->show(timer->channel_id, timer->epgID, &timer->epg_starttime);
|
||||||
|
else
|
||||||
|
ShowLocalizedHint(LOCALE_MESSAGEBOX_INFO, LOCALE_EPGVIEWER_NOTFOUND);
|
||||||
if (res==menu_return::RETURN_EXIT_ALL)
|
if (res==menu_return::RETURN_EXIT_ALL)
|
||||||
loop=false;
|
loop=false;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user