CControlAPI::EpgSearchCGI add duration to txt output

This commit is contained in:
Jacek Jendrzej
2014-01-18 20:17:24 +01:00
parent 14580b1dd1
commit 59b3245680

View File

@@ -1390,6 +1390,8 @@ void CControlAPI::EpgSearchCGI(CyhookHandler *hh, bool xml_forat )
datetimer_str += g_Locale->getText(CLocaleManager::getMonth(tmStartZeit));
datetimer_str += " ";
datetimer_str += g_Locale->getText(CLocaleManager::getWeekday(tmStartZeit));
snprintf(tmpstr, sizeof(tmpstr)," [%d min]",eventIterator->duration / 60);
datetimer_str += tmpstr;
hh->WriteLn(datetimer_str);
hh->WriteLn(NeutrinoAPI->GetServiceName(eventIterator->channelID));