mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
- streaminfo: add fallback to delivery system detection
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -764,6 +764,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
snprintf(buf, sizeof(buf), "%s:",g_Locale->getText (LOCALE_CHANNELLIST_PROVS));
|
snprintf(buf, sizeof(buf), "%s:",g_Locale->getText (LOCALE_CHANNELLIST_PROVS));
|
||||||
else if (CFrontend::isTerr(t.feparams.delsys))
|
else if (CFrontend::isTerr(t.feparams.delsys))
|
||||||
snprintf(buf, sizeof(buf), "%s:",g_Locale->getText (LOCALE_TERRESTRIALSETUP_AREA));
|
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);
|
g_Font[font_info]->RenderString(xpos, ypos, box_width, buf, COL_MENUCONTENT_TEXT);
|
||||||
|
|
||||||
|
@@ -899,6 +899,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
r.key = g_Locale->getText (LOCALE_CHANNELLIST_PROVS);
|
r.key = g_Locale->getText (LOCALE_CHANNELLIST_PROVS);
|
||||||
else if (CFrontend::isTerr(t.feparams.delsys))
|
else if (CFrontend::isTerr(t.feparams.delsys))
|
||||||
r.key = g_Locale->getText (LOCALE_TERRESTRIALSETUP_AREA);
|
r.key = g_Locale->getText (LOCALE_TERRESTRIALSETUP_AREA);
|
||||||
|
else
|
||||||
|
r.key = "Unknown:";
|
||||||
|
|
||||||
r.key += ": ";
|
r.key += ": ";
|
||||||
r.val = CServiceManager::getInstance()->GetSatelliteName(channel->getSatellitePosition()).c_str();
|
r.val = CServiceManager::getInstance()->GetSatelliteName(channel->getSatellitePosition()).c_str();
|
||||||
|
Reference in New Issue
Block a user