- controlapi/epgsearch: fix fsk output

This commit is contained in:
svenhoefer
2016-02-19 09:52:57 +01:00
parent f803d0a0c6
commit a262784d38

View File

@@ -1532,7 +1532,7 @@ void CControlAPI::SendFoundEvents(CyhookHandler *hh, bool xml_format)
} }
if (CEitManager::getInstance()->getEPGid(eventIterator->eventID, eventIterator->startTime, &longepg)) if (CEitManager::getInstance()->getEPGid(eventIterator->eventID, eventIterator->startTime, &longepg))
{ {
item += hh->outPair("fsk", string_printf("%c", longepg.fsk), true); item += hh->outPair("fsk", string_printf("%u", longepg.fsk), true);
genre = ""; genre = "";
#ifdef FULL_CONTENT_CLASSIFICATION #ifdef FULL_CONTENT_CLASSIFICATION
if (!longepg.contentClassification.empty()) if (!longepg.contentClassification.empty())