mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
more readability for modes while logging
Origin commit data
------------------
Commit: 02e4c41ab3
Author: GetAway <get-away@t-online.de>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Origin message was:
------------------
- more readability for modes while logging
This commit is contained in:
@@ -310,7 +310,7 @@ void CMoviePlayerGui::cutNeutrino()
|
||||
|
||||
m_ThisMode = NeutrinoModes::mode_unknown;
|
||||
m_LastMode = CNeutrinoApp::getInstance()->getMode();
|
||||
printf("%s: last mode %d\n", __func__, m_LastMode);fflush(stdout);
|
||||
printf("%s: last mode %s\n", __func__, neutrinoMode_to_string(m_LastMode));fflush(stdout);
|
||||
if (isWebChannel)
|
||||
{
|
||||
bool isRadioMode = (m_LastMode == NeutrinoModes::mode_radio || m_LastMode == NeutrinoModes::mode_webradio);
|
||||
@@ -321,8 +321,8 @@ void CMoviePlayerGui::cutNeutrino()
|
||||
{
|
||||
m_ThisMode = NeutrinoModes::mode_ts;
|
||||
}
|
||||
printf("%s: this mode %d\n", __func__, m_ThisMode);fflush(stdout);
|
||||
printf("%s: save mode %x\n", __func__, m_LastMode);fflush(stdout);
|
||||
printf("%s: this mode %s\n", __func__, neutrinoMode_to_string(m_ThisMode));fflush(stdout);
|
||||
printf("%s: save mode %s\n", __func__, neutrinoMode_to_string(m_LastMode));fflush(stdout);
|
||||
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoModes::norezap | m_ThisMode);
|
||||
}
|
||||
|
||||
@@ -358,7 +358,7 @@ void CMoviePlayerGui::restoreNeutrino()
|
||||
#else
|
||||
CZapit::getInstance()->EnablePlayback(true);
|
||||
#endif
|
||||
printf("%s: restore mode %x\n", __func__, m_LastMode);fflush(stdout);
|
||||
printf("%s: restore mode %s\n", __func__, neutrinoMode_to_string(m_LastMode));fflush(stdout);
|
||||
#if 0
|
||||
if (m_LastMode == NeutrinoModes::mode_tv)
|
||||
g_RCInput->postMsg(NeutrinoMessages::EVT_PROGRAMLOCKSTATUS, 0x200, false);
|
||||
|
Reference in New Issue
Block a user