From 2b5bc344fbb55eb85025f53e86c14452507ca075 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 16 Feb 2012 19:53:26 +0400 Subject: [PATCH] nhttpd/tuxboxapi/coolstream/controlapi.cpp: remove CSectionsdClient, use direct call --- src/nhttpd/tuxboxapi/coolstream/controlapi.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index 0ae8be66b..43f6eecb2 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -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; }