mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
update glcd
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0c2dcc9eb1
Author: redblue-pkt <redblue-pkt@orange.pl>
Date: 2020-06-19 (Fri, 19 Jun 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1546,12 +1546,20 @@ int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
|
||||
showLcdPercentOver ();
|
||||
eventname = info_CurrentNext.current_name;
|
||||
CVFD::getInstance()->setEPGTitle(eventname);
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
if (g_settings.glcd_enable)
|
||||
cGLCD::lockChannel("", eventname, 0);
|
||||
#endif
|
||||
return messages_return::handled;
|
||||
} else if (msg == NeutrinoMessages::EVT_ZAP_SUB_FAILED) {
|
||||
//chanready = 1;
|
||||
showSNR ();
|
||||
// show failure..!
|
||||
CVFD::getInstance ()->showServicename ("(" + g_RemoteControl->getCurrentChannelName () + ')', g_RemoteControl->getCurrentChannelNumber());
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
if (g_settings.glcd_enable)
|
||||
cGLCD::lockChannel("(" + g_RemoteControl->getCurrentChannelName () + ')', "", 0);
|
||||
#endif
|
||||
printf ("zap failed!\n");
|
||||
showFailure ();
|
||||
CVFD::getInstance ()->showPercentOver (255);
|
||||
@@ -1562,6 +1570,10 @@ int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
|
||||
if ((*(t_channel_id *) data) == current_channel_id) {
|
||||
// show failure..!
|
||||
CVFD::getInstance ()->showServicename ("(" + g_RemoteControl->getCurrentChannelName () + ')', g_RemoteControl->getCurrentChannelNumber());
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
if (g_settings.glcd_enable)
|
||||
cGLCD::lockChannel("(" + g_RemoteControl->getCurrentChannelName () + ')', "", 0);
|
||||
#endif
|
||||
printf ("zap failed!\n");
|
||||
showFailure ();
|
||||
CVFD::getInstance ()->showPercentOver (255);
|
||||
|
Reference in New Issue
Block a user