Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 896 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 896 Bytes

tvhProxy

A small flask app to proxy requests between Plex Media Server and Tvheadend.

tvhProxy configuration

  1. In tvhProxy.py configure options as per your setup.
  2. Create a virtual enviroment: $ virtualenv venv
  3. Activate the virtual enviroment: $ . venv/bin/activate
  4. Install the requirements: $ pip install -r requirements.txt
  5. 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