- streaminfo2: show correct mode

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-09-17 22:14:32 +02:00
committed by Thilo Graf
parent 97c81ecae4
commit acbb45d44d

View File

@@ -615,8 +615,10 @@ void CStreamInfo2::paint_signal_fe_box(int _x, int _y, int w, int h)
tname += ": ";
if (mp)
{
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio)
tname += "Web-Channel"; // TODO split into WebTV/WebRadio
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv)
tname += g_Locale->getText(LOCALE_WEBTV_HEAD);
else if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio)
tname += g_Locale->getText(LOCALE_WEBRADIO_HEAD);
else
tname += g_Locale->getText(LOCALE_MAINMENU_MOVIEPLAYER);
}