Package Details: tvheadend-git 4.3.r2300.g1212b94-1

Git Clone URL: https://aur.archlinux.org/tvheadend-git.git (read-only, click to copy)
Package Base: tvheadend-git
Description: TV streaming server and DVR
Upstream URL: https://tvheadend.org/
Keywords: dvb iptv pvr streaming tv
Licenses: GPL3
Conflicts: tvheadend
Provides: tvheadend
Submitter: zman0900
Maintainer: willemw
Last Packager: willemw
Votes: 28
Popularity: 0.000324
First Submitted: 2015-08-10 20:59 (UTC)
Last Updated: 2024-03-17 09:31 (UTC)

Pinned Comments

francoism90 commented on 2021-03-21 14:16 (UTC) (edited on 2021-03-21 14:16 (UTC) by francoism90)

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!

Changes:

  • 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 (UTC) (edited on 2019-08-14 12:21 (UTC) by luciferin)

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

https://wiki.archlinux.org/index.php/Tvheadend

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 16 Next › Last »

francoism90 commented on 2021-03-24 07:42 (UTC)

@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/tvheadend.pid -B -b 192.168.1.100 --satip_xml http://192.168.2.99:8080/desc.xml - -http_port 9981 --htsp_port 9982 --satip_bindaddr 192.168.1.100 --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 (UTC) (edited on 2021-03-23 19:21 (UTC) by pitt-2)

Hi, my tvheadend.service looked like this:


[Unit]
Description = Tvheadend - a TV streaming server and DVR
After = syslog.target systemd-networkd.service network-online.target network.target oscam.service auditd.service

[Service]
Type = forking
RuntimeDirectory = tvheadend
PrivateTmp = yes
Environment = PID_DIR=/run/tvheadend
User=tvheadend
Group=tvheadend
ExecStart=/usr/bin/tvheadend -c /etc/tvheadend -f -p $ {PID_DIR}/tvheadend.pid -B -b 192.168.1.100 --satip_xml http://192.168.2.99:8080/desc.xml - -http_port 9981 --htsp_port 9982 --satip_bindaddr 192.168.1.100 --satip_rtsp 554 -C
Restart=always

[Install]
WantedBy=multi-user.target

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

francoism90 commented on 2021-03-22 20:30 (UTC)

@pitt-2 Please see https://wiki.archlinux.org/index.php/Systemd#Drop-in_files

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

[Service]
ExecStart=
ExecStart=/usr/bin/tvheadend -f -p /var/run/tvheadend.pid -B -b 192.168.1.100 --satip_xml http://192.168.2.99:8080/desc.xml --http_port 9981 --htsp_port 9982 --satip_bindaddr 192.168.1.100 --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: https://aur.archlinux.org/cgit/aur.git/tree/?h=tvheadend-git&id=93db26656edc3294ade3be9c23bc0517bc87d788

pitt-2 commented on 2021-03-22 19:04 (UTC)

Hi, I tested the change and tvheadend.service. Also the addition $ OPTIONS, nothing is accepted. Tvheadend starts without parameters. My /etc/conf.d/tvheadend file

Configuration file for the tvheadend service.

MALLOC_ARENA_MAX = 4 OPTIONS = "- u hts -g video -B -b 192.168.1.100 --satip_xml http://192.168.2.99:8080/desc.xml --http_port 9981 --htsp_port 9982 --satip_bindaddr 192.168.1.100 --satip_rtsp 554 " So I reinstalled my tvheadend with the old PKGBUILD

mindjoy commented on 2021-03-22 16:11 (UTC)

This is not working, it keeps ignoring valid services I had working in the previous version. How do I downgrade to the previous version I already had installed and working fine?

francoism90 commented on 2021-03-22 08:46 (UTC) (edited on 2021-03-22 08:48 (UTC) by francoism90)

@pitt-2 I'm sorry to hear the current PKGBUILD doesn't work for you.

You can overwrite the systemd service, see https://wiki.archlinux.org/index.php/Tvheadend#Usage for details how to overrule settings.

Are you referring to the previous included config file?

pitt-2 commented on 2021-03-22 08:22 (UTC)

Hi, the PKGBUILD does not work. I need the following options "/ usr / bin / tvheadend -f -p /var/run/tvheadend.pid -u hts -g video -B -b 192.168.1.100 --satip_xml http://192.168.2.99:8080/desc.xml - http_port 9981 --htsp_port 9982 --satip_bindaddr 192.168.1.100 " There are 2 networks available, the satellite receiver has its own. I'm back to the old PKGBUILD -> running! greeting

francoism90 commented on 2021-03-21 14:16 (UTC) (edited on 2021-03-21 14:16 (UTC) by francoism90)

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!

Changes:

  • 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. :)

francoism90 commented on 2021-03-21 09:18 (UTC)

@zman0900 I'm Ok with taken over. :)

zman0900 commented on 2021-03-21 01:22 (UTC)

@francoism90 Your changes seem fine to me.

A few months back I switched to an entirely HDHomerun system, so I don't have a way to test this anymore. Would you like to take over as maintainer and merge your changes?