/tvhProxy

An small flask app to help Plex DVR connect with Tvheadend

Primary LanguagePythonOtherNOASSERTION

tvhProxy

A small flask app to proxy requests between Plex Media Server and VBOX XTi-3352CI (old version does not work with plex anymore)

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: $ TVH_VBOX_URL="http://vbox_ip:55555" python ./tvhProxy.py
  6. In plex use http://tvhProxy_IP:5004/vboxXmltv.xml for guide

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