CControlAPI::EpgSearchXMLCGI convert channelname to xml

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e2e14e134
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-02-13 (Thu, 13 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2014-02-13 20:12:31 +01:00
parent 2c93f6538a
commit 6c41c1aa1d

View File

@@ -1395,7 +1395,7 @@ void CControlAPI::EpgSearchCGI(CyhookHandler *hh, bool xml_forat )
struct tm *tmStartZeit = localtime(&eventIterator->startTime);
if(xml_forat){
hh->printf("\t<epgsearch>");
hh->printf("\t\t<channelname>%s</channelname>\n",NeutrinoAPI->GetServiceName(eventIterator->channelID).c_str());
hh->printf("\t\t<channelname>%s</channelname>\n",ZapitTools::UTF8_to_UTF8XML(NeutrinoAPI->GetServiceName(eventIterator->channelID).c_str()).c_str());;
hh->printf("\t\t<epgtitle>%s</epgtitle>\n",ZapitTools::UTF8_to_UTF8XML(epg.title.c_str()).c_str());
hh->printf("\t\t<info1>%s</info1>\n",ZapitTools::UTF8_to_UTF8XML(epg.info1.c_str()).c_str());
hh->printf("\t\t<info2>%s</info2>\n",ZapitTools::UTF8_to_UTF8XML(epg.info2.c_str()).c_str());