You are not logged in.
Hello.
I managed to configure Tvheadend on my computer and it works great.
My problem is when the computer restarts: For some reason the settings are lost on reboot and I have to configure everything again every time when I turn the computer on.
I save the changes when the program is configurated but the computer loses the settings at start.
Please, help me.
Last edited by Belgarath (2013-12-25 23:38:22)
Offline
Are you configuring it using $HOME/.hts/tvheadend?
What exactly happens - is the file empty after reboot?
Offline
I configured the program from the web interface and I can see the TV channels and the EPG information even from other computers on my network but curiously the program does not create the folder you mention,
I do not know why that folder is not created and I do not know where it saves the data.
The .hts folder does not appear anywhere in my home directory: It is not in ~/.hts and is not in ~/.config/.hts or similar places.
Should I create ~/.hts/tvheadend manually? If so, what should I put in that file?
Excuse me for my deficient english.
Offline
When I install tvheadend it create me the user "hts" I can see it at the end of /etc/passwd
hts:x:1337:91::/home/hts:/bin/false
But the directory /home/hts not exist.
In /etc/passwd I changed hts:x:1337:91::/home/hts:/bin/false to hts:x:1337:91::/home/sobek:/bin/false "sobek" is my user name, then I created the ~/.htc directory manually and reboot.
Next, I configure the program from the web interface and save all changes but the configuration is lost when I reboot my computer again and the ~/.htc directory is empty.
Offline
I can solve!
I edit /usr/lib/systemd/system/tvheadend.service and I changed the line
ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid -C -u hts -g video
to
ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid -C -u sobek -g video
Where "sobek" is my user name.
Save changes and restart systemd service and now the computer keep the configuration after reboot.
Thanks.
Offline