From 59b3245680311ca5f46bbb9dd5561ec2ba07facf Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 18 Jan 2014 20:17:24 +0100 Subject: [PATCH] CControlAPI::EpgSearchCGI add duration to txt output --- src/nhttpd/tuxboxapi/coolstream/controlapi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index 186501960..48c500b05 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -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));