streaminfo: show movieplayer as source, when no webtv is running

Origin commit data
------------------
Commit: ad3a2f701b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- streaminfo: show movieplayer as source, when no webtv is running
This commit is contained in:
vanhofen
2015-12-14 08:31:30 +01:00
parent e08c3ad51a
commit 3c3c33c5d2

View File

@@ -273,12 +273,17 @@ void CStreamInfo2::paint_signal_fe_box(int _x, int _y, int w, int h)
int y1; int y1;
int xd = w/4; int xd = w/4;
std::string tname(g_Locale->getText(LOCALE_STREAMINFO_SIGNAL)); std::string tname(g_Locale->getText(LOCALE_STREAMINFO_SIGNAL));
tname += ": "; tname += ": ";
if (mp) if (mp)
tname += g_Locale->getText(LOCALE_WEBTV_HEAD); {
else if (CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_webtv)
tname += to_string(1 + frontend->getNumber()) + ": " + frontend->getName(); tname += g_Locale->getText(LOCALE_WEBTV_HEAD);
else
tname += g_Locale->getText(LOCALE_MAINMENU_MOVIEPLAYER);
}
else
tname += to_string(1 + frontend->getNumber()) + ": " + frontend->getName();
#if 0 #if 0
int tuner = 1 + frontend->getNumber(); int tuner = 1 + frontend->getNumber();