mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-13 00:13:43 +02:00
Merge remote-tracking branch 'check/cst-next'
Conflicts: src/daemonc/remotecontrol.cpp src/gui/luainstance.cpp src/gui/movieplayer.cpp src/gui/videosettings.cpp src/neutrino.cpp src/system/setting_helpers.cpp src/zapit/src/zapit.cpp
This commit is contained in:
@@ -213,7 +213,7 @@ void CInfoViewerBB::getBBButtonInfo()
|
||||
bbButtonMaxH = 0;
|
||||
bbButtonMaxX = g_InfoViewer->ChanInfoX;
|
||||
int bbButtonMaxW = 0;
|
||||
int mode;
|
||||
int mode = NeutrinoMessages::mode_unknown;
|
||||
for (int i = 0; i < CInfoViewerBB::BUTTON_MAX; i++) {
|
||||
int w = 0, h = 0;
|
||||
bool active;
|
||||
@@ -233,13 +233,13 @@ void CInfoViewerBB::getBBButtonInfo()
|
||||
icon = NEUTRINO_ICON_BUTTON_GREEN;
|
||||
frameBuffer->getIconSize(icon.c_str(), &w, &h);
|
||||
text = CUserMenu::getUserMenuButtonName(1, active);
|
||||
if (!text.empty())
|
||||
mode = CNeutrinoApp::getInstance()->getMode();
|
||||
if (!text.empty() && mode < NeutrinoMessages::mode_audio)
|
||||
break;
|
||||
text = g_settings.usermenu[SNeutrinoSettings::BUTTON_GREEN]->title;
|
||||
if (text == g_Locale->getText(LOCALE_AUDIOSELECTMENUE_HEAD))
|
||||
text = "";
|
||||
mode = CNeutrinoApp::getInstance()->getMode();
|
||||
if ((mode == NeutrinoMessages::mode_ts || mode == NeutrinoMessages::mode_webtv) && !CMoviePlayerGui::getInstance().timeshift) {
|
||||
if ((mode == NeutrinoMessages::mode_ts || mode == NeutrinoMessages::mode_webtv || mode == NeutrinoMessages::mode_audio) && !CMoviePlayerGui::getInstance().timeshift) {
|
||||
text = CMoviePlayerGui::getInstance().CurrentAudioName();
|
||||
} else if (!g_RemoteControl->current_PIDs.APIDs.empty()) {
|
||||
int selected = g_RemoteControl->current_PIDs.PIDs.selected_apid;
|
||||
|
Reference in New Issue
Block a user