This project creates a REST server wrapper around a selected functionality of the HTSP protocol, written in Python.
The main advantage is that it will make it easier to script simple interaction with server. (Otherwise HTSP requires the client to hold a state to be able to use it)
You will need to configure the server to tell it where the HTSP server is and what credentials to use. In the config folder, Copy htsp_rest_config.py.template to htsp_rest_config.py and change to to match your environment.
Either use the provided scripts:
start-htsp-rest.server.sh
and
stop-htsp-rest.server.sh
Or run it directly using python:
python htsp_rest_server.py
A REST cli wrapper is also provided to allow you to schedule recordings via the command line: See clients for further details.