mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
gui/infoviewer.cpp: set chanready on NeutrinoMessages::EVT_TUNE_COMPLETE
This commit is contained in:
@@ -1403,9 +1403,9 @@ int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
|
|||||||
channel_id = (*(t_channel_id *)data);
|
channel_id = (*(t_channel_id *)data);
|
||||||
return messages_return::handled;
|
return messages_return::handled;
|
||||||
} else if (msg == NeutrinoMessages::EVT_ZAP_CA_ID) {
|
} else if (msg == NeutrinoMessages::EVT_ZAP_CA_ID) {
|
||||||
chanready = 1;
|
//chanready = 1;
|
||||||
Set_CA_Status (data);
|
|
||||||
showSNR ();
|
showSNR ();
|
||||||
|
Set_CA_Status (data);
|
||||||
return messages_return::handled;
|
return messages_return::handled;
|
||||||
} else if (msg == NeutrinoMessages::EVT_TIMER) {
|
} else if (msg == NeutrinoMessages::EVT_TIMER) {
|
||||||
if (data == fader.GetTimer()) {
|
if (data == fader.GetTimer()) {
|
||||||
@@ -1440,7 +1440,7 @@ int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
|
|||||||
}
|
}
|
||||||
return messages_return::handled;
|
return messages_return::handled;
|
||||||
} else if (msg == NeutrinoMessages::EVT_ZAP_SUB_COMPLETE) {
|
} else if (msg == NeutrinoMessages::EVT_ZAP_SUB_COMPLETE) {
|
||||||
chanready = 1;
|
//chanready = 1;
|
||||||
showSNR ();
|
showSNR ();
|
||||||
//if ((*(t_channel_id *)data) == channel_id)
|
//if ((*(t_channel_id *)data) == channel_id)
|
||||||
{
|
{
|
||||||
@@ -1450,7 +1450,7 @@ int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
|
|||||||
showLcdPercentOver ();
|
showLcdPercentOver ();
|
||||||
return messages_return::handled;
|
return messages_return::handled;
|
||||||
} else if (msg == NeutrinoMessages::EVT_ZAP_SUB_FAILED) {
|
} else if (msg == NeutrinoMessages::EVT_ZAP_SUB_FAILED) {
|
||||||
chanready = 1;
|
//chanready = 1;
|
||||||
showSNR ();
|
showSNR ();
|
||||||
// show failure..!
|
// show failure..!
|
||||||
CVFD::getInstance ()->showServicename ("(" + g_RemoteControl->getCurrentChannelName () + ')');
|
CVFD::getInstance ()->showServicename ("(" + g_RemoteControl->getCurrentChannelName () + ')');
|
||||||
@@ -1459,7 +1459,7 @@ int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
|
|||||||
CVFD::getInstance ()->showPercentOver (255);
|
CVFD::getInstance ()->showPercentOver (255);
|
||||||
return messages_return::handled;
|
return messages_return::handled;
|
||||||
} else if (msg == NeutrinoMessages::EVT_ZAP_FAILED) {
|
} else if (msg == NeutrinoMessages::EVT_ZAP_FAILED) {
|
||||||
chanready = 1;
|
//chanready = 1;
|
||||||
showSNR ();
|
showSNR ();
|
||||||
if ((*(t_channel_id *) data) == channel_id) {
|
if ((*(t_channel_id *) data) == channel_id) {
|
||||||
// show failure..!
|
// show failure..!
|
||||||
@@ -1473,6 +1473,10 @@ int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
|
|||||||
chanready = 0;
|
chanready = 0;
|
||||||
showMotorMoving (data);
|
showMotorMoving (data);
|
||||||
return messages_return::handled;
|
return messages_return::handled;
|
||||||
|
} else if (msg == NeutrinoMessages::EVT_TUNE_COMPLETE) {
|
||||||
|
chanready = 1;
|
||||||
|
showSNR ();
|
||||||
|
return messages_return::handled;
|
||||||
} else if (msg == NeutrinoMessages::EVT_MODECHANGED) {
|
} else if (msg == NeutrinoMessages::EVT_MODECHANGED) {
|
||||||
aspectRatio = data;
|
aspectRatio = data;
|
||||||
if (is_visible && showButtonBar)
|
if (is_visible && showButtonBar)
|
||||||
|
Reference in New Issue
Block a user