nhttpd/tuxboxapi/controlapi.cpp: add direct record start for current channel

This commit is contained in:
[CST] Focus
2016-03-02 14:30:51 +03:00
parent 746c3e769a
commit fc11a76c01
4 changed files with 34 additions and 4 deletions

View File

@@ -873,6 +873,16 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
*msg = NeutrinoMessages::EVT_SET_VOLUME;
*data = *(char*) p;
break;
case NeutrinoMessages::RECORD_START :
*msg = NeutrinoMessages::RECORD_START;
*data = (unsigned long) p;
dont_delete_p = true;
break;
case NeutrinoMessages::RECORD_STOP :
*msg = NeutrinoMessages::RECORD_STOP;
*data = (unsigned long) p;
dont_delete_p = true;
break;
default:
printf("[neutrino] event INITID_HTTPD - unknown eventID 0x%x\n", emsg.eventID );
}