webtv channels integration port,

initial code (C) martii,
initial patch from jacek


Origin commit data
------------------
Branch: ni/coolstream
Commit: a473fe8194
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-08-27 (Wed, 27 Aug 2014)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-08-27 17:32:26 +04:00
parent e11aa7a161
commit 40dae113bc
49 changed files with 1000 additions and 190 deletions

View File

@@ -72,6 +72,7 @@
#include <sys/time.h>
#include <unistd.h>
#include <zapit/zapit.h>
#include <video.h>
extern cVideo * videoDecoder;
extern CInfoClock *InfoClock;
@@ -186,14 +187,13 @@ int CPictureViewerGui::exec(CMenuTarget* parent, const std::string & actionKey)
if (parent)
parent->hide();
// remember last mode
m_LastMode = CNeutrinoApp::getInstance()->getMode();
// tell neutrino we're in pic_mode
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , NeutrinoMessages::mode_pic );
// remember last mode
m_LastMode=(CNeutrinoApp::getInstance()->getLastMode() | NeutrinoMessages::norezap);
if (!audioplayer) { // !!! why? !!!
//g_Zapit->setStandby(true);
g_Zapit->lockPlayBack();
CNeutrinoApp::getInstance()->stopPlayBack(true);
// blank background screen
videoDecoder->setBlank(true);
@@ -215,8 +215,8 @@ int CPictureViewerGui::exec(CMenuTarget* parent, const std::string & actionKey)
m_viewer->Cleanup();
if (!audioplayer) { // !!! why? !!!
//g_Zapit->setStandby(false);
g_Zapit->unlockPlayBack();
//g_Zapit->unlockPlayBack();
CZapit::getInstance()->EnablePlayback(true);
// Start Sectionsd
g_Sectionsd->setPauseScanning(false);