mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- enable epg-scan while audioplayer, movieplayer, pictureviewer and
upnp-browser runs
This commit is contained in:
@@ -293,9 +293,6 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
m_LastMode = CNeutrinoApp::getInstance()->getMode();
|
||||
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , NeutrinoMessages::mode_audio );
|
||||
|
||||
// Stop sectionsd
|
||||
g_Sectionsd->setPauseScanning(true);
|
||||
|
||||
puts("[audioplayer.cpp] executing " AUDIOPLAYER_START_SCRIPT ".");
|
||||
if (my_system(AUDIOPLAYER_START_SCRIPT) != 0)
|
||||
perror(AUDIOPLAYER_START_SCRIPT " failed");
|
||||
@@ -314,8 +311,7 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
|
||||
//g_Zapit->unlockPlayBack();
|
||||
CZapit::getInstance()->EnablePlayback(true);
|
||||
// Start Sectionsd
|
||||
g_Sectionsd->setPauseScanning(false);
|
||||
|
||||
m_frameBuffer->stopFrame();
|
||||
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , m_LastMode );
|
||||
g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );
|
||||
|
@@ -221,8 +221,6 @@ void CMoviePlayerGui::cutNeutrino()
|
||||
return;
|
||||
|
||||
g_Zapit->lockPlayBack();
|
||||
if (!isWebTV)
|
||||
g_Sectionsd->setPauseScanning(true);
|
||||
|
||||
m_LastMode = (CNeutrinoApp::getInstance()->getMode() /*| NeutrinoMessages::norezap*/);
|
||||
if (isWebTV)
|
||||
@@ -245,7 +243,6 @@ void CMoviePlayerGui::restoreNeutrino()
|
||||
|
||||
//g_Zapit->unlockPlayBack();
|
||||
CZapit::getInstance()->EnablePlayback(true);
|
||||
g_Sectionsd->setPauseScanning(false);
|
||||
|
||||
printf("%s: restore mode %x\n", __func__, m_LastMode);fflush(stdout);
|
||||
#if 0
|
||||
|
@@ -197,9 +197,6 @@ int CPictureViewerGui::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
|
||||
// blank background screen
|
||||
videoDecoder->setBlank(true);
|
||||
|
||||
// Stop Sectionsd
|
||||
g_Sectionsd->setPauseScanning(true);
|
||||
}
|
||||
|
||||
// Save and Clear background
|
||||
@@ -217,9 +214,6 @@ int CPictureViewerGui::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
if (!audioplayer) { // !!! why? !!!
|
||||
//g_Zapit->unlockPlayBack();
|
||||
CZapit::getInstance()->EnablePlayback(true);
|
||||
|
||||
// Start Sectionsd
|
||||
g_Sectionsd->setPauseScanning(false);
|
||||
}
|
||||
|
||||
// Restore previous background
|
||||
|
@@ -183,9 +183,6 @@ int CUpnpBrowserGui::exec(CMenuTarget* parent, const std::string & /*actionKey*/
|
||||
// remember last mode
|
||||
m_LastMode=(CNeutrinoApp::getInstance()->getLastMode());
|
||||
|
||||
// Stop sectionsd
|
||||
g_Sectionsd->setPauseScanning(true);
|
||||
|
||||
m_deviceliststart=0;
|
||||
m_selecteddevice=0;
|
||||
timeout = 0;
|
||||
@@ -194,8 +191,6 @@ int CUpnpBrowserGui::exec(CMenuTarget* parent, const std::string & /*actionKey*/
|
||||
|
||||
stopAudio();
|
||||
|
||||
// Start Sectionsd
|
||||
g_Sectionsd->setPauseScanning(false);
|
||||
m_frameBuffer->stopFrame();
|
||||
m_frameBuffer->Clear();
|
||||
|
||||
|
Reference in New Issue
Block a user