mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
@@ -296,12 +296,19 @@ void CMoviePlayerGui::cutNeutrino()
|
|||||||
g_Zapit->setStandby(true);
|
g_Zapit->setStandby(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_LastMode = (CNeutrinoApp::getInstance()->getMode() /*| NeutrinoMessages::norezap*/);
|
int new_mode = NeutrinoMessages::mode_unknown;
|
||||||
|
m_LastMode = CNeutrinoApp::getInstance()->getMode();
|
||||||
if (isWebTV)
|
if (isWebTV)
|
||||||
|
{
|
||||||
|
new_mode = (m_LastMode == NeutrinoMessages::mode_radio) ? NeutrinoMessages::mode_webradio : NeutrinoMessages::mode_webtv;
|
||||||
m_LastMode |= NeutrinoMessages::norezap;
|
m_LastMode |= NeutrinoMessages::norezap;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
new_mode = NeutrinoMessages::mode_ts;
|
||||||
|
}
|
||||||
printf("%s: save mode %x\n", __func__, m_LastMode);fflush(stdout);
|
printf("%s: save mode %x\n", __func__, m_LastMode);fflush(stdout);
|
||||||
int new_mode = NeutrinoMessages::norezap | (isWebTV ? NeutrinoMessages::mode_webtv : NeutrinoMessages::mode_ts);
|
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::norezap | new_mode);
|
||||||
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, new_mode);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMoviePlayerGui::restoreNeutrino()
|
void CMoviePlayerGui::restoreNeutrino()
|
||||||
|
Reference in New Issue
Block a user