nhttpd/tuxboxapi/coolstream/controlapi.cpp: remove CSectionsdClient, use direct call

This commit is contained in:
[CST] Focus
2012-02-16 19:53:26 +04:00
parent 35b124a6f8
commit 2b5bc344fb

View File

@@ -1883,9 +1883,8 @@ void CControlAPI::SendTimersXML(CyhookHandler *hh)
// epg title
std::string title = timer->epgTitle;
if(timer->epgID!=0) {
CSectionsdClient sdc;
CEPGData epgdata;
if (sdc.getEPGid(timer->epgID, timer->epg_starttime, &epgdata))
if (sectionsd_getEPGid(timer->epgID, timer->epg_starttime, &epgdata))
title = epgdata.title;
}