Package Details: tvheadend-git 4.3.r1947.gdbaa0f850-1

Git Clone URL: (read-only, click to copy)
Package Base: tvheadend-git
Description: TV streaming server for Linux
Upstream URL:
Keywords: dvb iptv pvr streaming tv
Licenses: GPL3
Conflicts: tvheadend
Provides: tvheadend
Submitter: zman0900
Maintainer: francoism90
Last Packager: francoism90
Votes: 24
Popularity: 0.000296
First Submitted: 2015-08-10 20:59
Last Updated: 2021-03-21 14:07

Pinned Comments

francoism90 commented on 2021-03-21 14:16

Warning: if you have previously used this package, you need to reinstall! Sorry for introducing breaking changes, but hopefully the introduced changes will provide a better experience for most users. :)

Backup your configs (if needed) before performing the upgrade!


  • TVHeadend will be installed to /var/lib/tvheadend instead of /usr/share/tvheadend
  • Package will create the system user tvheadend (member of group video) with config files stored in /etc/tvheadend, it will not use a home directory anymore.
  • By using sysusers.d and tmpfiles.d permissions should be easier to manage.
  • tvheadend.service now includes -C by default.
  • Added some missing deps

If you have any questions or suggestions, please let me know. :)

luciferin commented on 2017-04-06 14:01

I started up a wiki page for Tvheadend. Input and help is welcome.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

mercora commented on 2021-03-27 10:15

@pitt-2 as far as i can see you did not change the order of the arguments on invocation but dropped any that came after that suspiciously placed dash right after the the SAT>IP XML URL which might just root caused your issues.

pitt-2 commented on 2021-03-27 09:24


after many tests it turned out: The order of the parameters is important.

ExecStart=/usr/bin/tvheadend -c /etc/tvheadend -f -p /run/tvheadend/ -B -b --satip_xml -C

Thats how it works. greeting

glenb77 commented on 2021-03-26 20:12

got it thanks, i see what to do. i'll try out over weekend. i assume with all this in place before service starts i should not need the 'first run' parameter?

francoism90 commented on 2021-03-26 13:50

@glenb77 This would be:

# ls -lh /etc/tvheadend/
total 1.6M
drwx------ 2 tvheadend tvheadend 4.0K Mar 20 13:32 accesscontrol
drwx------ 2 tvheadend tvheadend 4.0K Mar 20 13:27 bouquet
drwx------ 2 tvheadend tvheadend 4.0K Mar 20 17:38 caclient
drwx------ 4 tvheadend tvheadend 4.0K Mar 20 13:45 channel
drwx------ 2 tvheadend tvheadend 4.0K Mar 20 13:27 codec
-rw------- 1 tvheadend tvheadend 1.8K Mar 20 17:53 config
drwx------ 3 tvheadend tvheadend 4.0K Mar 20 13:27 dvr
-rw------- 1 tvheadend tvheadend 1.5M Mar 22 21:55 epgdb.v3
drwx------ 3 tvheadend tvheadend 4.0K Mar 20 13:38 epggrab
drwx------ 3 tvheadend tvheadend 4.0K Mar 20 17:40 imagecache
drwx------ 5 tvheadend tvheadend 4.0K Mar 20 13:32 input
drwx------ 2 tvheadend tvheadend 4.0K Mar 20 13:32 passwd
drwxr-xr-x 2 tvheadend tvheadend  24K Mar 20 17:51 picons
drwx------ 2 tvheadend tvheadend 4.0K Mar 20 13:27 profile
drwx------ 2 tvheadend tvheadend 4.0K Mar 20 13:45 service_mapper

glenb77 commented on 2021-03-26 02:48

i am a bit confused. my understanding is that all the config is in .hts directory. so under this revised layout where would i move the .hts folders to, in order to retain my current config with tuners and channels etc. ?

francoism90 commented on 2021-03-24 20:11

@pitt-2 Sorry to hear, I'm going to investigate, if I receive more reports I'll revert the PKG changes.

pitt-2 commented on 2021-03-24 19:22

Hi, Since the server has to be running, I gave it up for now. My rebuilt old PKGBUILD uses and runs with libavresample. I don't mind if hts is under / home. The main thing is that it works. So I can't deliver any error data for the time being, only that tvheadend doesn't start at all.

francoism90 commented on 2021-03-24 07:42

@pitt-2 Could you please tell me the error you're receiving? You can retrieve this by using journalctl -xe or by running the TVHeadend comment directly:

$ sudo -u tvheadend /usr/bin/tvheadend -c /etc/tvheadend -f -p /run/ -B -b --satip_xml - -http_port 9981 --htsp_port 9982 --satip_bindaddr --satip_rtsp 554 -C

If the command doesn't run (no output), it's a permission issue. In this case run:

# chown -R tvheadend:tvheadend /etc/tvheadend

pitt-2 commented on 2021-03-23 19:12

Hi, my tvheadend.service looked like this:

Description = Tvheadend - a TV streaming server and DVR
After = systemd-networkd.service oscam.service auditd.service

Type = forking
RuntimeDirectory = tvheadend
PrivateTmp = yes
Environment = PID_DIR=/run/tvheadend
ExecStart=/usr/bin/tvheadend -c /etc/tvheadend -f -p $ {PID_DIR}/ -B -b --satip_xml - -http_port 9981 --htsp_port 9982 --satip_bindaddr --satip_rtsp 554 -C


and it doesn't work. A systemctl daemon reload was always done.

francoism90 commented on 2021-03-22 20:30

@pitt-2 Please see

It's important to run $ systemctl daemon-reload when done. The etc/conf.d/tvheadend file isn't being read anymore. If you want to use this:

// /etc/systemd/system/tvheadend.service.d/override.conf

ExecStart=/usr/bin/tvheadend -f -p /var/run/ -B -b --satip_xml --http_port 9981 --htsp_port 9982 --satip_bindaddr --satip_rtsp 554 -C

This part needs to be removed - u hts -g video -B, it's tvheadend and it will add this user to the video group.

@mindjoy Sorry to hear, I was hoping this would be a bit of a smoother upgrade. Could you please tell me what isn't working.

If you need the old PKGBUILD: