diff --git a/src/driver/simple_display.cpp b/src/driver/simple_display.cpp index a92d23364..8276ea2be 100644 --- a/src/driver/simple_display.cpp +++ b/src/driver/simple_display.cpp @@ -797,6 +797,7 @@ void CLCD::UpdateIcons() { ShowIcon(FP_ICON_HD,chan->isHD()); ShowIcon(FP_ICON_LOCK,!chan->camap.empty()); + ShowIcon(FP_ICON_SCRAMBLED, chan->scrambled); if (chan->getAudioChannel() != NULL) { ShowIcon(FP_ICON_DD, chan->getAudioChannel()->audioChannelType == CZapitAudioChannel::AC3); @@ -874,6 +875,9 @@ void CLCD::ShowIcon(fp_icon i, bool on) case FP_ICON_MUTE: proc_put("/proc/stb/lcd/symbol_mute", on); break; + case FP_ICON_SCRAMBLED: + proc_put("/proc/stb/lcd/symbol_scrambled", on); + break; default: break; } diff --git a/src/driver/simple_display.h b/src/driver/simple_display.h index 4fc2476bf..509137289 100644 --- a/src/driver/simple_display.h +++ b/src/driver/simple_display.h @@ -65,6 +65,7 @@ typedef enum FP_ICON_FR, FP_ICON_FF, FP_ICON_DD, + FP_ICON_SCRAMBLED, FP_ICON_LOCK } fp_icon; diff --git a/src/driver/vfd.h b/src/driver/vfd.h index 9c4fe3987..6a6859cb0 100644 --- a/src/driver/vfd.h +++ b/src/driver/vfd.h @@ -155,6 +155,7 @@ class CVFD void Lock(); void Unlock(); void Clear(); + void UpdateIcons() { return; } void ShowIcon(fp_icon icon, bool show); void ShowText(const char *str); void ShowNumber(int number); diff --git a/src/neutrino.cpp b/src/neutrino.cpp index dd8d97a95..dbd26cfe2 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2717,6 +2717,7 @@ void CNeutrinoApp::showMainMenu() int old_mode = g_settings.epg_scan_mode; int old_save_mode = g_settings.epg_save_mode; mainMenu->exec(NULL, ""); + CVFD::getInstance()->UpdateIcons(); InfoClock->enableInfoClock(true); InfoIcons->enableInfoIcons(true); //NI InfoIcons StartSubtitles(); @@ -3067,6 +3068,7 @@ void CNeutrinoApp::RealRun() //open moviebrowser via media player menu object if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) CMediaPlayerMenu::getInstance()->exec(NULL, "moviebrowser"); + CVFD::getInstance()->UpdateIcons(); } else if( ( msg == CRCInput::RC_help ) || ( msg == CRCInput::RC_info) || ( msg == NeutrinoMessages::SHOW_INFOBAR ) ) @@ -3359,6 +3361,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data) if(g_settings.audio_AnalogMode < 0 || g_settings.audio_AnalogMode > 2) g_settings.audio_AnalogMode = 0; + CVFD::getInstance()->UpdateIcons(); g_RCInput->killTimer(scrambled_timer); if (mode != mode_webtv) { scrambled_timer = g_RCInput->addTimer(10*1000*1000, true);