mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
control/epgsearch: fix old plain text output
Origin commit data
------------------
Branch: ni/coolstream
Commit: f9ac2b32cd
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)
Origin message was:
------------------
- control/epgsearch: fix old plain text output
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1452,7 +1452,7 @@ void CControlAPI::SendFoundEvents(CyhookHandler *hh, bool xml_format)
|
|||||||
CChannelEventList evtlist;
|
CChannelEventList evtlist;
|
||||||
|
|
||||||
bool search_epginfo = (hh->ParamList["epginfo"] != "false");
|
bool search_epginfo = (hh->ParamList["epginfo"] != "false");
|
||||||
bool return_epginfo = (hh->ParamList["epginfo"] == "true");
|
bool return_epginfo = (hh->ParamList["epginfo"] == "true" || hh->ParamList["epginfo"].empty());
|
||||||
|
|
||||||
std::string search_keyword = (hh->ParamList["search"].empty()) ? hh->ParamList["1"] : hh->ParamList["search"];
|
std::string search_keyword = (hh->ParamList["search"].empty()) ? hh->ParamList["1"] : hh->ParamList["search"];
|
||||||
const int search_epg_item = search_epginfo ? 5 /*SEARCH_EPG_ALL*/ : 1 /*SEARCH_EPG_TITLE*/;
|
const int search_epg_item = search_epginfo ? 5 /*SEARCH_EPG_ALL*/ : 1 /*SEARCH_EPG_TITLE*/;
|
||||||
@@ -1593,10 +1593,12 @@ void CControlAPI::SendFoundEvents(CyhookHandler *hh, bool xml_format)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
hh->WriteLn("----------------------------------------------------------");
|
hh->WriteLn("----------------------------------------------------------");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (hh->outType == plain)
|
||||||
|
return;
|
||||||
|
|
||||||
result = hh->outArray("epgsearch", result);
|
result = hh->outArray("epgsearch", result);
|
||||||
|
|
||||||
hh->SendResult(result);
|
hh->SendResult(result);
|
||||||
|
Reference in New Issue
Block a user