streaminfo: add fallback to delivery system detection

Origin commit data
------------------
Commit: dac03ade1f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-18 (Mon, 18 Dec 2017)

Origin message was:
------------------
- streaminfo: add fallback to delivery system detection
This commit is contained in:
vanhofen
2017-12-18 12:23:57 +01:00
parent 7cce2d2f1a
commit 1d012231e2
2 changed files with 4 additions and 0 deletions

View File

@@ -764,6 +764,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
snprintf(buf, sizeof(buf), "%s:",g_Locale->getText (LOCALE_CHANNELLIST_PROVS));
else if (CFrontend::isTerr(t.feparams.delsys))
snprintf(buf, sizeof(buf), "%s:",g_Locale->getText (LOCALE_TERRESTRIALSETUP_AREA));
else
snprintf(buf, sizeof(buf), "Unknown:");
g_Font[font_info]->RenderString(xpos, ypos, box_width, buf, COL_MENUCONTENT_TEXT);

View File

@@ -899,6 +899,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
r.key = g_Locale->getText (LOCALE_CHANNELLIST_PROVS);
else if (CFrontend::isTerr(t.feparams.delsys))
r.key = g_Locale->getText (LOCALE_TERRESTRIALSETUP_AREA);
else
r.key = "Unknown:";
r.key += ": ";
r.val = CServiceManager::getInstance()->GetSatelliteName(channel->getSatellitePosition()).c_str();