A small flask app to proxy requests between Plex Media Server and Tvheadend.
$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ python tvhProxy.py
A startup script for Ubuntu can be found in tvhProxy.service (change paths in tvhProxy.service to your setup), install with:
$ sudo cp tvhProxy.service /etc/systemd/system/tvhProxy.service
$ sudo systemctl daemon-reload
$ sudo systemctl enable tvhProxy.service
$ sudo systemctl start tvhProxy.service
Enter the IP of the host running tvhProxy including port 5004, eg.: 192.168.1.50:5004