streaminfo2: show correct mode

Origin commit data
------------------
Branch: ni/coolstream
Commit: 184e0b8499
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-17 (Fri, 17 Sep 2021)

Origin message was:
------------------
- streaminfo2: show correct mode

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-09-17 22:14:32 +02:00
parent bf5bb70ae2
commit 7f3f22ea62

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