add autorec support to htsp server