streaminfo1: fix and supplement to bf5bb70ae2

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5880af3d97
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-18 (Sat, 18 Sep 2021)

Origin message was:
------------------
- streaminfo1: fix and supplement to bf5bb70ae2

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-09-18 11:56:06 +02:00
parent 2bf757558e
commit 3925c20666

View File

@@ -313,8 +313,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);
}
@@ -781,7 +783,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
g_Font[font_info]->RenderString(xpos, ypos, box_width, buf, COL_MENUCONTENT_TEXT);
if (IS_WEBCHAN(current_channel_id))
if (is_webchan)
{
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv)
snprintf(buf, sizeof(buf), "%s", g_Locale->getText(LOCALE_WEBTV_HEAD));