tvheadend(1)
π tvheadend(1) π
Okay so this is the General Commands Manual page for tvheadend, and it's literally iconic. Let me walk you through it, bestie. No cap, every single detail is here. β¨
π¦ NAME π¦
Tvheadend β advanced TV streaming server/relay and personal video recorder. Like, it does both. Multitasking queen. π
β¨ SYNOPSIS β¨
tvheadend [OPTIONS]
πΈ DESCRIPTION πΈ
Okay so Tvheadend is a streaming server/relay supporting a variety of sources and multiple output formats. It can be used as a standalone PVR (personal video recorder, iykyk) or in conjunction with media players such as Movian (Showtime), Kodi (XBMC), VLC and others. Obsessed, honestly. π₯
π OPTIONS π
All arguments are optional β no pressure, bestie. Every single one of them.
Generic Options
-v,--versionβ show version information. Slay.-h,--helpβ show built-in help information (may be more up to date). Iconic.
Service Configuration Options
-c,--configβ specify an alternative config path; the default is${HOME}/.hts/tvheadend. Main character energy.-B,--nobackupβ don't backup configuration tree at upgrade. Live dangerously, I guess.-fβ fork and become a background process (daemon). Default is no. Like, it's not gonna do it unless you ask.-uusername,--userusername β run as user username. Only applicable if daemonizing. Default is to use the uid of1('daemon'on most systems).-ggroupname,--groupgroupname β run as group groupname. Only applicable if daemonizing. Default is to use the'video'group. If the'video'group does not exist, gid1('daemon') will be used.-ppidpath,--pidpidpath β specify alternative PID path file (default/run/tvheadend.pid).-C,--firstrunβ if no user account exist then create one with no username and no password. β οΈ Use with care as it will allow world-wide administrative access to your Tvheadend installation until you edit the access-control from within the Tvheadend UI. Like, please be careful, bestie.-U,--dbusβ enable DBus.-e,--dbus_sessionβ DBus β use the session message bus instead of the system one.-a,--adaptersβ only use specified DVB adapters (comma separated,-1== none).--satip_rtspβ SAT>IP RTSP port number for server (default:-1= disable,0= webconfig, standard port is554).--nosatipcliβ disable SAT>IP client.--satip_xmlβ URL with the SAT>IP server XML location.
Server Connectivity
-6,--ipv6β listen on IPv6.-baddress,--bindaddraddress β specify an interface IP address on which incoming HTTP and HTSP connections will be accepted. By default, connections are accepted on all interfaces.--http_portβ specify alternative http port (default9981).--http_rootβ specify alternative http webroot.--htsp_portβ specify alternative HTSP port (default9982).--htsp_port2β specify extra HTSP port.--useragentβ specify User-Agent header for the http client.--xspfβ use XSPF playlist instead of M3U.
Debug options
-d,--stderrβ enable debug on stderr.-n,--nostderrβ disable debug on stderr.-s,--syslogβ enable debug to syslog.-S,--nosyslogβ disable syslog (all messages).-l,--logfileβ enable debug to file.--debugβ enable debug subsystems.--traceβ enable trace subsystems.--filelineβ add file and line numbers to debug.--threadidβ add the thread ID to debug.--libavβ more verbose libav log.--uidebugβ enable web UI debug (non-minified JavaScript).-A,--abortβ immediately abort on startup (for debug).-D,--dumpβ enable coredumps for daemon.--noaclβ do not perform any access control checking.--nobatβ disable DVB bouquets.-j,--joinβ subscribe to a service permanently.
Testing Options
--tsfile_tunersβ specify number of tsfile tuners.--tsfileβ use ts file (mux file) as input.
π₯ LOGGING π₯
All activity inside Tvheadend is logged to syslog using log facility LOG_DAEMON. Periodt.
π SETUP π
π¦ Access to video adapters π¦
Okay so listen β in order for Tvheadend to control the video adapters on the system it must be granted access to those devices. Most systems have a video group with write access to the video adapter devices. When Tvheadend is started as a daemon it will automatically change its primary group to video in order to access these groups. No cap.
If your system is configured in a different way you can either change the group membership of the video adapters (/dev/dvb, etc) or reconfigure the Tvheadend startup parameters. This is most likely the behavior if you have installed Tvheadend from a distribution package. Basically, do what works for your setup. π
If Tvheadend is started without the -f argument it will neither daemonize nor change its primary userid/groupid. Instead, it will run with the permissions granted to the user executing the binary. If that's the case then you must make sure that the current user is granted access to the video devices. Like, actually check this. π
π Configuration π
All configuration in Tvheadend is maintained via its embedded web server running on port 9981. Just point your browser to:
http://hostname:9981/
By default everyone (also from remote hosts) is allowed full access to all features / settings in the web user interface. If this is the first time you're setting up Tvheadend, you are strongly encouraged to enter the web user interface, select the 'Configuration' + 'Access Control' tab and make reasonable changes. Further help and documentation can be obtained inside the web interface. Please do this, bestie β it's for your own good. π«Ά
β Settings β
Settings are stored in the current user's home directory. Thus, if Tvheadend is run as a system daemon a dedicated user needs to be created and Tvheadend should be launched with the -u argument. Also notice that XMLTV will read/store cache and configuration from the same user home directory.
If daemonizing, Tvheadend will writes its pid in /run/tvheadend.pid. (Yes, it says "writes" β grammar is not the vibe but the facts are.)
π AUTHOR π
Tvheadend and this man page is maintained by the Tvheadend team. Please see the application for credits.
You may also visit #hts at libera.chat. Come say hi! πΈ
π COPYRIGHT π
2006 - 2024 Andreas Smas, et al.
Licensed under GPLv3 <https://www.gnu.org/licenses/gpl-3.0.txt>. This is free software: you are free to change and redistribute it subject to the provisions of the license above. There is NO WARRANTY, to the extent permitted by law. Like, none. Zero. Nada. π
πΈ SEE ALSO πΈ
Okay that's literally everything, bestie. This is tvheadend(1) from the General Commands Manual, with copyright 2006 - 2024. Go stream something iconic. πβ¨π
π¦ where this page comes from
- alpine 3.24: tvheadend-doc 4.3_git20260214-r1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms