From 81159fb6556e995c67bbce11c1a90d7dfdd62945 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 16 Feb 2012 19:56:05 +0400 Subject: [PATCH] ./nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp: remove CSectionsdClient, use direct call --- src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp b/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp index 2b61d9910..201c9c805 100644 --- a/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp @@ -38,6 +38,7 @@ bool sectionsd_getNVODTimesServiceKey(const t_channel_id uniqueServiceKey, CSect void sectionsd_getCurrentNextServiceKey(t_channel_id uniqueServiceKey, CSectionsdClient::responseGetCurrentNextInfoChannelID& current_next ); bool sectionsd_getComponentTagsUniqueKey(const event_id_t uniqueKey, CSectionsdClient::ComponentTagList& tags); bool sectionsd_getActualEPGServiceKey(const t_channel_id uniqueServiceKey, CEPGData * epgdata); +bool sectionsd_getEPGid(const event_id_t epgID, const time_t startzeit, CEPGData * epgdata); //============================================================================= // Constructor & Destructor & Initialization //============================================================================= @@ -808,9 +809,8 @@ std::string CNeutrinoYParser::func_get_timer_list(CyhookHandler *, std::string } 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)) sAddData+="
" + epgdata.title; else sAddData+=std::string("
")+timer->epgTitle;