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

Help please #49

Open
duderz2011 opened this issue Feb 15, 2018 · 9 comments
Open

Help please #49

duderz2011 opened this issue Feb 15, 2018 · 9 comments

Comments

@duderz2011
Copy link

can some one please explain something i have downloaded the tvhproxy-master ive adjusted the .py file when i follow instructions for setup its not finding the files where am i supposed to put them directory wise. as you can tell im a full on newbie

@jwrober
Copy link

jwrober commented Feb 16, 2018

The readme does leave a few details out. By default the python script intends to run as the tvh user in /home/tvh/tvhProxy directory.

Install python deps first

sudo apt-get install -y git python python-pip python-gevent python-flask python-requests python-virtualenv

Create the user

sudo useradd -m tvh -s /bin/bash

become the user

sudo su - tvh

get the files and set up the environment

git clone https://github.com/jkaberg/tvhProxy.git
cd tvhProxy
virtualenv venv
. venv/bin/activate
pip install setuptools --upgrade
pip install wheel
pip install -r requirements.txt

At this point you will need to edit the tvhProxy.py script and change the tvhURL line to match the user id and password for your tvheadend install.

Then you can follow the readme instructions to install the service file to run as a daemon.

@duderz2011
Copy link
Author

thank you for your reply i have followed your instructions where do i find the py file to adjust settings

@jwrober
Copy link

jwrober commented Feb 16, 2018

its in the tvhProxy directory

@duderz2011
Copy link
Author

Yes but how do I access this? I downloaded the tvhproxy-master but Ubuntu downloads it itself and installs so how can I access it in Ubuntu to adjust the settings

@duderz2011
Copy link
Author

I know this is probably so simple but this is all so new to me

@geordieeddie
Copy link

hey so this is probably something ive managed to mess up, but what is the password for user tvh? ive tried my root password and also tried my password for tvheadend.
tia

@duderz2011
Copy link
Author

how did you get it installed its not finding the .requirements

@duderz2011
Copy link
Author

login for tvh is admin and admin

@roryKell
Copy link

roryKell commented Mar 1, 2018

hey geordieeddie - i wonder is your user/pass problem something do with creating the user tvh.

When creating your ubuntu setup, instead of admiistrator or youname as the main account use "tvh". Now when your following the guide above use that account and you should have no problem with the password.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants