mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
gui/scan.cpp: add zap to current channel_id after scan
This commit is contained in:
@@ -200,6 +200,9 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
|||||||
|
|
||||||
CRecordManager::getInstance()->StopAutoRecord();
|
CRecordManager::getInstance()->StopAutoRecord();
|
||||||
g_Zapit->stopPlayBack();
|
g_Zapit->stopPlayBack();
|
||||||
|
#ifdef BOXMODEL_APOLLO
|
||||||
|
CZapit::getInstance()->StopPip();
|
||||||
|
#endif
|
||||||
|
|
||||||
frameBuffer->paintBackground();
|
frameBuffer->paintBackground();
|
||||||
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/scan.jpg");
|
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/scan.jpg");
|
||||||
@@ -342,6 +345,8 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
|||||||
videoDecoder->StopPicture();
|
videoDecoder->StopPicture();
|
||||||
frameBuffer->Clear();
|
frameBuffer->Clear();
|
||||||
g_Sectionsd->setPauseScanning(false);
|
g_Sectionsd->setPauseScanning(false);
|
||||||
|
CNeutrinoApp::getInstance()->channelList->setSelected(0xfffffff);
|
||||||
|
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(CZapit::getInstance()->GetCurrentChannelID());
|
||||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||||
|
|
||||||
return menu_return::RETURN_REPAINT;
|
return menu_return::RETURN_REPAINT;
|
||||||
|
Reference in New Issue
Block a user