mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
neutrino: respect user's infoviewer timeout settings for different modes
Origin commit data
------------------
Commit: f736dfa254
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-05 (Sun, 05 Nov 2017)
Origin message was:
------------------
- neutrino: respect user's infoviewer timeout settings for different modes
This commit is contained in:
@@ -3041,7 +3041,12 @@ void CNeutrinoApp::RealRun()
|
||||
else if( ( msg == CRCInput::RC_help ) || ( msg == CRCInput::RC_info) ||
|
||||
( msg == NeutrinoMessages::SHOW_INFOBAR ) )
|
||||
{
|
||||
bool show_info = ((msg != NeutrinoMessages::SHOW_INFOBAR) || (g_InfoViewer->is_visible || g_settings.timing[SNeutrinoSettings::TIMING_INFOBAR] != 0));
|
||||
bool enabled_by_timing = (
|
||||
((mode == mode_tv || mode == mode_webtv) && g_settings.timing[SNeutrinoSettings::TIMING_INFOBAR] != 0)
|
||||
|| ((mode == mode_radio || mode == mode_webradio) && g_settings.timing[SNeutrinoSettings::TIMING_INFOBAR_RADIO] != 0)
|
||||
);
|
||||
bool show_info = ((msg != NeutrinoMessages::SHOW_INFOBAR) || (g_InfoViewer->is_visible || enabled_by_timing));
|
||||
|
||||
// turn on LCD display
|
||||
CVFD::getInstance()->wake_up();
|
||||
|
||||
|
Reference in New Issue
Block a user