add autoAdjustToEPG to webif API

This commit is contained in:
TangoCash
2016-09-26 13:04:48 +02:00
committed by svenhoefer
parent 250926daff
commit 3f32350645

View File

@@ -2804,7 +2804,8 @@ void CControlAPI::doNewTimer(CyhookHandler *hh)
eventinfo.epgID = 0; eventinfo.epgID = 0;
eventinfo.epg_starttime = 0; eventinfo.epg_starttime = 0;
eventinfo.apids = TIMERD_APIDS_CONF; eventinfo.apids = TIMERD_APIDS_CONF;
eventinfo.recordingSafety = (hh->ParamList["rs"] == "1"); eventinfo.recordingSafety = (hh->ParamList["rs"] == "1") || (hh->ParamList["rs"] == "on");
eventinfo.autoAdjustToEPG = (hh->ParamList["aj"] == "1") || (hh->ParamList["aj"] == "on");
// channel by Id or name // channel by Id or name
if(!hh->ParamList["channel_id"].empty()) if(!hh->ParamList["channel_id"].empty())