Awesome
tvhProxy
A small flask app to proxy requests between Plex Media Server and Tvheadend.
tvhProxy configuration
- In tvhProxy.py configure options as per your setup.
- Create a virtual enviroment:
$ virtualenv venv
- Activate the virtual enviroment:
$ . venv/bin/activate
- Install the requirements:
$ pip install -r requirements.txt
- Finally run the app with:
$ python tvhProxy.py
systemd service configuration
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
Plex configuration
Enter the IP of the host running tvhProxy including port 5004, eg.: 192.168.1.50:5004