neutrino: enable screensaver for mode_webradio

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

Origin message was:
------------------
- neutrino: enable screensaver for mode_webradio

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-25 09:58:55 +01:00
parent 38807b8fc2
commit 8da02eefab

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;