mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CControlAPI::EpgSearchCGI add duration to txt output
This commit is contained in:
@@ -1390,6 +1390,8 @@ void CControlAPI::EpgSearchCGI(CyhookHandler *hh, bool xml_forat )
|
|||||||
datetimer_str += g_Locale->getText(CLocaleManager::getMonth(tmStartZeit));
|
datetimer_str += g_Locale->getText(CLocaleManager::getMonth(tmStartZeit));
|
||||||
datetimer_str += " ";
|
datetimer_str += " ";
|
||||||
datetimer_str += g_Locale->getText(CLocaleManager::getWeekday(tmStartZeit));
|
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(datetimer_str);
|
||||||
hh->WriteLn(NeutrinoAPI->GetServiceName(eventIterator->channelID));
|
hh->WriteLn(NeutrinoAPI->GetServiceName(eventIterator->channelID));
|
||||||
|
Reference in New Issue
Block a user