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

@@ -47,6 +47,7 @@ extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
extern CAudioSetupNotifier * audioSetupNotifier;
#include <gui/audio_select.h>
#include <gui/movieplayer.h>
#include <libdvbsub/dvbsub.h>
#include <libtuxtxt/teletext.h>
@@ -93,6 +94,11 @@ int CAudioSelectMenuHandler::exec(CMenuTarget* parent, const std::string &action
int CAudioSelectMenuHandler::doMenu ()
{
int mode = CNeutrinoApp::getInstance()->getMode();
if (mode == NeutrinoMessages::mode_webtv) {
CMoviePlayerGui::getInstance().selectAudioPid();
return menu_return::RETURN_EXIT;
}
CMenuWidget AudioSelector(LOCALE_AUDIOSELECTMENUE_HEAD, NEUTRINO_ICON_AUDIO, width);
CSubtitleChangeExec SubtitleChanger;