mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- fix display of western satellites in infoviewer
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1928 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -731,7 +731,7 @@ void CInfoViewer::showTitle (const int ChanNum, const std::string & Channel, con
|
|||||||
fprintf(stderr, "after showchannellogo, mode = %d ret = %d logo_ok = %d\n",g_settings.infobar_show_channellogo, ChannelLogoMode, logo_ok);
|
fprintf(stderr, "after showchannellogo, mode = %d ret = %d logo_ok = %d\n",g_settings.infobar_show_channellogo, ChannelLogoMode, logo_ok);
|
||||||
|
|
||||||
int ChanNumYPos = BoxStartY + ChanHeight;
|
int ChanNumYPos = BoxStartY + ChanHeight;
|
||||||
if (g_settings.infobar_sat_display && satellitePosition >= 0 && !satellitePositions.empty()) {
|
if (g_settings.infobar_sat_display && !satellitePositions.empty()) {
|
||||||
sat_iterator_t sit = satellitePositions.find(satellitePosition);
|
sat_iterator_t sit = satellitePositions.find(satellitePosition);
|
||||||
|
|
||||||
if (sit != satellitePositions.end()) {
|
if (sit != satellitePositions.end()) {
|
||||||
|
@@ -625,7 +625,7 @@ void service_descriptor(const unsigned char * const buffer, const t_service_id s
|
|||||||
int bouquetId;
|
int bouquetId;
|
||||||
char pname[100];
|
char pname[100];
|
||||||
if (CFrontend::getInstance()->getInfo()->type == FE_QPSK)
|
if (CFrontend::getInstance()->getInfo()->type == FE_QPSK)
|
||||||
snprintf(pname, 100, "[%c%03d.%d] %s", satellitePosition >= 0? 'E' : 'W', abs(satellitePosition)/10, abs(satellitePosition)%10, providerName.c_str());
|
snprintf(pname, 100, "[%c%03d.%d] %s", satellitePosition > 0? 'E' : 'W', abs(satellitePosition)/10, abs(satellitePosition)%10, providerName.c_str());
|
||||||
else
|
else
|
||||||
snprintf(pname, 100, "%s", providerName.c_str());
|
snprintf(pname, 100, "%s", providerName.c_str());
|
||||||
|
|
||||||
|
@@ -312,7 +312,7 @@ bool CServiceScan::ParseFst(unsigned short pid, fast_scan_operator_t * op)
|
|||||||
|
|
||||||
char pname[100];
|
char pname[100];
|
||||||
if (CFrontend::getInstance()->getInfo()->type == FE_QPSK)
|
if (CFrontend::getInstance()->getInfo()->type == FE_QPSK)
|
||||||
snprintf(pname, 100, "[%c%03d.%d] %s", satellitePosition >= 0? 'E' : 'W', abs(satellitePosition)/10, abs(satellitePosition)%10, providerName.c_str());
|
snprintf(pname, 100, "[%c%03d.%d] %s", satellitePosition > 0? 'E' : 'W', abs(satellitePosition)/10, abs(satellitePosition)%10, providerName.c_str());
|
||||||
else
|
else
|
||||||
snprintf(pname, 100, "%s", providerName.c_str());
|
snprintf(pname, 100, "%s", providerName.c_str());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user