HTSP: In response to subscribe() message, return if we support timeshift or not

This commit is contained in:
Andreas Öman 2013-01-10 19:28:25 +01:00
parent 053b86356a
commit 14fb1f9e1d

View file

@ -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 */