So, thinking quickly about this... I'd probably:
1. Stop all instances of tvheadend using
ps
and
kill
> so we're not removing anything that the process is trying to use, and/or so tvheadend doesn't immediately try to recreate something in the wrong place
2. Remove the directory /home/vicentj/.hts (@rm@ it or just
mv
it to a different name)
> this is what's screwing things up, we don't want to be running as a user
3. Uninstall tvheadend (@sudo dpkg -r tvheadend@ at a guess if you installed from .deb)
> gets rid of the .deb you said you installed
(4. Optional - also remove everything in /home/hts/.hts, just to make absolutely sure you've no "ghosts" left lying around)
5. Add the PPA
sudo add-apt-repository ppa:adamsutton/tvheadend
> this sets your system up to get the current release version and any future versions Adam publishes, e.g. 3.4 when it comes out
6. Install tvheadend
sudo apt-get update
sudo apt-get install tvheadend
> this will install 3.2 as the release version from Adam's repository
7. It's a lifetime since I did a clean install of tvheadend, but it may (should) ask you for the superuser details as it installs - that's where you'd say xbmc/xbmc. If it says anything about "under which user should I run <default hts>" then accept that, you want it to run as hts.
> this should install tvheadend correctly, to run under the right user when you reboot - user hts, group video, config in /home/hts/.hts/tvheadend
. tvheadend should now be running - if not, reboot and check the process list with
ps
and you should see
tvheadend -f -u hts -g video
8. Go to the web interface and log in - you should be able to get in okay. If you can, I'd suggest you add xbmc/xbmc, 0.0.0.0/0 and everything ticked on the
Configuration -> Access Control
tab. If not, add the accesscontrol file as above
9. Add the muxes manually to make sure they're all correct (I genuinely don't know if
Add DVB Network by Location...
has the current information for your town)
10. Scanning will commence as you add each one - if all has gone well, you'll discover the services as you go...