neutrino.cpp: use CServiceManager to get channel name

This commit is contained in:
[CST] Focus
2012-04-10 16:01:51 +04:00
parent 3189a134a4
commit f1ff5ad778

View File

@@ -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);
} }