jkaberg / tvhProxy

An small flask app to help Plex DVR connect with Tvheadend
Other
216 stars 107 forks source link

Trying to run tvhProxy @ QNAP NAS #52

Open nickiman opened 6 years ago

nickiman commented 6 years ago

Hi, Let me share with you the scenario used to try to run tvhProxy in my QNAP NAS... where Plex and Tvheadend are running: Plex: Version 1.12.1.4885 Tvheadend: 4.3-589~g7d0e509ba NAS: Linux 4.2.8 #1 SMP Thu Mar 15 01:29:39 CST 2018 x86_64 GNU/Linux

To work with Python and install the requierements (additional libraries) I need to use a package called QPython2.

Below you can find the link with the steps followed to create the virtual environment and the installation: https://pastebin.com/raw/9yhjxs97

Once installed, I´ve edited the parameters in tvhProxy.py:

'tvhURL': os.environ.get('TVH_URL') or 'http://admin:adminpwd@192.168.1.12:9981' 'tvhProxyURL': os.environ.get('TVH_PROXY_URL') or 'http://192.168.1.12'

The rest of the params are by default. The permissions for tvhProxy.py are 777.

When I try to setup Plex DVR I have these errors... https://pastebin.com/raw/9q8RqVJw

Since I´ve readed something about that and before you could ask me... No, there isn´t a tvh user created in the system.

If you need further information, don´t hesitate to ask me. Keep waiting your comments. Thanks and best regards.