HTSP: In response to subscribe() message, return if we support timeshift or not
This commit is contained in:
parent
053b86356a
commit
14fb1f9e1d
1 changed files with 5 additions and 0 deletions
|
@ -1282,6 +1282,11 @@ htsp_method_subscribe(htsp_connection_t *htsp, htsmsg_t *in)
|
|||
if(normts)
|
||||
htsmsg_add_u32(rep, "normts", 1);
|
||||
|
||||
#if ENABLE_TIMESHIFT
|
||||
if(timeshiftPeriod)
|
||||
htsmsg_add_u32(rep, "timeshiftPeriod", timeshiftPeriod);
|
||||
#endif
|
||||
|
||||
htsp_reply(htsp, in, rep);
|
||||
|
||||
/* Initialize the HTSP subscription structure */
|
||||
|
|
Loading…
Add table
Reference in a new issue