mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
neutrino.cpp: use CServiceManager to get channel name
This commit is contained in:
@@ -2647,10 +2647,9 @@ _repeat:
|
|||||||
|
|
||||||
CTimerd::responseGetTimer &timer = tmpTimerList[0];
|
CTimerd::responseGetTimer &timer = tmpTimerList[0];
|
||||||
|
|
||||||
CZapitClient Zapit;
|
|
||||||
name += "\n";
|
name += "\n";
|
||||||
|
|
||||||
std::string zAddData = Zapit.getChannelName( timer.channel_id ); // UTF-8
|
std::string zAddData = CServiceManager::getInstance()->GetServiceName(timer.channel_id);
|
||||||
if( zAddData.empty()) {
|
if( zAddData.empty()) {
|
||||||
zAddData = g_Locale->getText(LOCALE_TIMERLIST_PROGRAM_UNKNOWN);
|
zAddData = g_Locale->getText(LOCALE_TIMERLIST_PROGRAM_UNKNOWN);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user