neutrino: enable screensaver for mode_webradio

Origin commit data
------------------
Commit: e55fc416f7
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-25 (Sat, 25 Nov 2017)

Origin message was:
------------------
- neutrino: enable screensaver for mode_webradio
This commit is contained in:
vanhofen
2017-11-25 09:58:55 +01:00
parent d85af69bd3
commit 86e6a34a2e

View File

@@ -2795,7 +2795,8 @@ void CNeutrinoApp::RealRun()
continue;
#endif
if (mode == NeutrinoModes::mode_radio) {
if (mode == NeutrinoModes::mode_radio || mode == NeutrinoModes::mode_webradio)
{
bool ignored_msg = (
/* radio screensaver will ignore this msgs */
msg == NeutrinoMessages::EVT_CURRENTEPG
@@ -2807,7 +2808,7 @@ void CNeutrinoApp::RealRun()
|| msg == NeutrinoMessages::EVT_ZAP_GOTAPIDS
|| msg == NeutrinoMessages::EVT_ZAP_GOTPIDS
);
if ( msg == CRCInput::RC_timeout || msg == NeutrinoMessages::EVT_TIMER)
if ( msg == CRCInput::RC_timeout || msg == NeutrinoMessages::EVT_TIMER)
{
int delay = time(NULL) - m_idletime;
int screensaver_delay = g_settings.screensaver_delay;