mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
Get satellite name from CServiceManager
Origin commit data
------------------
Branch: ni/coolstream
Commit: 060a58d59c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-01-13 (Fri, 13 Jan 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include <driver/screen_max.h>
|
||||
#include <driver/fade.h>
|
||||
#include <zapit/satconfig.h>
|
||||
#include <zapit/getservices.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
@@ -396,10 +397,9 @@ void EpgPlus::ChannelEntry::paint (bool isSelected, time_t selectedTime)
|
||||
if(this->channel->pname) {
|
||||
this->footer->setBouquetChannelName(this->channel->pname, this->channel->getName());
|
||||
} else {
|
||||
sat_iterator_t sit = satellitePositions.find(this->channel->getSatellitePosition());
|
||||
if(sit != satellitePositions.end()) {
|
||||
this->footer->setBouquetChannelName(sit->second.name, this->channel->getName());
|
||||
}
|
||||
this->footer->setBouquetChannelName(
|
||||
CServiceManager::getInstance()->GetSatelliteName(this->channel->getSatellitePosition()),
|
||||
this->channel->getName());
|
||||
}
|
||||
}
|
||||
// paint the separation line
|
||||
|
Reference in New Issue
Block a user