Skip to content

Commit

Permalink
dm820: fix lcd
Browse files Browse the repository at this point in the history
  • Loading branch information
BPanther committed May 28, 2024
1 parent 0a95d9f commit 4f2a3d1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/neutrino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4350,7 +4350,11 @@ void CNeutrinoApp::saveEpg(int _mode)
}
CVFD::getInstance()->Clear();
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
#if BOXMODEL_DM820
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, g_Locale->getText(LOCALE_EPG_SAVING));
#else
CVFD::getInstance()->ShowText(g_Locale->getText(LOCALE_EPG_SAVING));
#endif

printf("[neutrino] Saving EPG to %s...\n", g_settings.epg_dir.c_str());
g_Sectionsd->writeSI2XML(g_settings.epg_dir.c_str());
Expand Down Expand Up @@ -4494,7 +4498,11 @@ void CNeutrinoApp::standbyMode(bool bOnOff, bool fromDeepStandby)
#ifdef ENABLE_GRAPHLCD
nGLCD::StandbyMode(true);
#endif
#if BOXMODEL_DM820
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, "standby...");
#else
CVFD::getInstance()->ShowText("standby...");
#endif
if( mode == NeutrinoModes::mode_avinput ) {
}
g_InfoViewer->setUpdateTimer(0); // delete timer
Expand Down Expand Up @@ -4572,7 +4580,11 @@ void CNeutrinoApp::standbyMode(bool bOnOff, bool fromDeepStandby)
// Active standby off
powerManager->SetStandby(false, false);
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
#if BOXMODEL_DM820
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, "resume");
#else
CVFD::getInstance()->ShowText("resume");
#endif
videoDecoder->Standby(false);
CEpgScan::getInstance()->Stop();
CSectionsdClient::CurrentNextInfo dummy;
Expand Down Expand Up @@ -5040,7 +5052,11 @@ void stop_daemons(bool stopall, bool for_flash)
if (for_flash) {
CVFD::getInstance()->Clear();
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
#if BOXMODEL_DM820
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, "Stop daemons...");
#else
CVFD::getInstance()->ShowText("Stop daemons...");
#endif
g_settings.epg_scan_mode = CEpgScan::MODE_OFF;
exec_controlscript(NEUTRINO_ENTER_FLASH_SCRIPT);
}
Expand Down Expand Up @@ -5620,7 +5636,11 @@ void CNeutrinoApp::CheckFastScan(bool standby, bool reload)
}
if (standby || (new_fst != scansettings.fst_version)) {
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
#if BOXMODEL_DM820
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, g_Locale->getText(LOCALE_SATSETUP_FASTSCAN_HEAD));
#else
CVFD::getInstance()->ShowText(g_Locale->getText(LOCALE_SATSETUP_FASTSCAN_HEAD));
#endif
CHintBox * fhintbox = NULL;
if (!standby) {
fhintbox = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SATSETUP_FASTSCAN_HEAD));
Expand Down

0 comments on commit 4f2a3d1

Please sign in to comment.