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

This commit is contained in:
svenhoefer
2015-12-14 08:31:30 +01:00
parent 168c3832d0
commit ad3a2f701b

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();