Posts: 14
Joined: Dec 2014
Reputation:
0
s16cg
Junior Member
Posts: 14
Having upgraded from xbmc 13 (xbmcbuntu) to kodi 14.2 tvheadend no longer functions.
I have tried reinstalling kodi-pvr-tvheadend-hts but to no avail. It installs but does not appear to be starting hence Live-TV has no connection.
Can someone point me to the correct method to install tvheadend and have it start at boot up.
Thanks in anticipation.
Posts: 14
Joined: Dec 2014
Reputation:
0
s16cg
Junior Member
Posts: 14
2015-03-29, 10:01
(This post was last modified: 2015-03-29, 10:11 by s16cg.)
Update and correction.
Tvheadend is installed and appears to be running and is enabled in addons but Live TV comes up with the lost connection warning.
However it can't be running correctly since it refuses all manner of connections to 9981/2 i.e. connection via browser
Logs don't show anything relevant.
Posts: 2,772
Joined: Mar 2011
Reputation:
96
Check authorisation/credentials in the addon and backend, i.e. you're logging in as a valid user? You don't appear to say if the backend is on a different system, but, if it is, check the log files there as well.
A bit more information about the platform, configuration, etc. (maybe full log files on pastebin) would be helpful.
Posts: 2,772
Joined: Mar 2011
Reputation:
96
ERROR: AddOnLog: Tvheadend HTSP Client: TransmitMessage - failed to write packet (Connection refused)
... suggests your network is up and running but the client process simply isn't being allowed in. Given that it's on the same system, I'd check the client settings and make sure that the IP address is correct (loopback 127.0.0.1 should work, but you might need the 'real' address) and that the username/password are correct vs what the back end is expecting. Check that through the tvheadend web interface.
Posts: 14
Joined: Dec 2014
Reputation:
0
s16cg
Junior Member
Posts: 14
2015-03-29, 19:21
(This post was last modified: 2015-03-29, 22:01 by s16cg.)
I've just installed Kodi and tvheadend on this my desktop pc (not my kodi media centre mini pc) and I'm having the same problem.
From the System info summary page of kodi:
kodi 14.2 Git:7cc53a9 (Compiled: Mar 27 2015)
Running Linux Mint 17.1
Posts: 2,772
Joined: Mar 2011
Reputation:
96
You appear not to actually have had tvheadend installed, which is no small omission so I won't assume it's the whole of the problem. But it's clear from post #9 that you neither have the package installed nor have even a candidate, which you ultimately solved in post #13.
For info, kodi-pvr-tvheadend-hts is the *addon*, it's the bit of code in Kodi that talks to the backend. You install that on the client. However, tvheadend is the *server*, it's the bit that does all the real work and it lives on the backend. The sudo service stuff only affects that backend software, as that's the real application that runs as a background process (service/daemon).
I'd guess that - somehow - you uninstalled tvheadend somewhere along the way, but left the config. When you re-installed with dpkg -i, it picked up the config and picked up where the old version left off, hence the frontend (the kodi-pvr-tvheadend-hts addon) suddenly kicked into life.
PS your dependency/addon solution was 100% correct - the tvheadend package is looking for that other package, which you installed and al is thus well.
Posts: 14
Joined: Dec 2014
Reputation:
0
s16cg
Junior Member
Posts: 14
2015-03-29, 23:45
(This post was last modified: 2015-03-30, 00:11 by s16cg.)
Yes that does seem to be correct. I did have the server tvheadend installed but I uninstalled it after the upgrade thinking it was the wrong version for kodi but then couldn't reinstall it. The addon seems to have installed ok but couldn't connect with the server as it wasn't installed.
Still confused as to why I couldn't reinstall the server unless that was because of the dependency problem. I wasn't really sure that it wasn't installed either. Got very confused at this point.
Anyway thanks for the follow up. Hopefully I will not have too many issues from now on.
Edit:
I know why I uninstalled it, it was because the old ppa was no longer present so I added the new ppa but then I had issues with dependencies and got lost along the way.
Nice to know where I went wrong and maybe it will help someone else :0)