some inits

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0fdb6505d8
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-10-24 (Sun, 24 Oct 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2021-10-24 19:19:18 +02:00
committed by vanhofen
parent a01f20a624
commit 121a053955
4 changed files with 7 additions and 6 deletions

View File

@@ -3043,11 +3043,12 @@ void CControlAPI::doNewTimer(CyhookHandler *hh)
std::string _rec_dir = hh->ParamList["rec_dir"];
void *data=NULL;
bool standby_on = false;
if(type == CTimerd::TIMER_RECORD)
announceTimeT-=120;
if(type == CTimerd::TIMER_STANDBY)
{
bool standby_on = (hh->ParamList["sbon"]=="1");
standby_on = (hh->ParamList["sbon"]=="1");
data=&standby_on;
}
/* else if(type==CTimerd::TIMER_NEXTPROGRAM || type==CTimerd::TIMER_ZAPTO) */