LogoLogo
ForumCodeDonate
  • Introduction
    • About
    • Release / Change Log
  • Installation
    • Requirements
    • Tuners
    • Linux
    • Virtualisation - Proxmox
    • Docker
    • NAS
    • Android
  • SETUP
    • Stages
    • Concepts
    • Muxes/Scan Files
      • Scan Files
      • Using w_scan Scan Files
  • CONFIGURATION
    • Concepts
    • Electronic Program Guide
    • Digital Video Recorder
    • Web User Interface Customisation
      • Theme
      • Date/Time Format
  • HTTPS access via Reverse Proxy
  • APPENDICES
    • FAQ
    • CLI Commands
    • Debugging
  • Development
    • Compiling
      • Compiling TVH with VAAPI Support
        • for Lubuntu 24.04
        • for Lubuntu 22.04
        • Level 2
    • HTSP
      • General
      • HTSMSG Binary Format
      • Communication
      • Client to Server (RPC) methods
      • Server to Client methods
      • Protocol Changes
      • HTTP Proxy Examples
    • JSON API
      • API Description
        • Common Parameters
        • Access
        • Bouquet
        • Caclient
        • Channel
        • Codec
        • Config
        • DVR
        • EPG
        • EPGgrab
        • ESfilter
        • idnode
        • Input
        • intlconv/charsets
        • Language
        • MPEGts
        • Profile
        • RatingLabel
        • Raw
        • Satip
        • Service
        • Status
        • Timeshift
        • Tvhlog
      • Examples
      • Other Functions
      • WebSocket
    • Object Class Relationships
    • Testing Tuners Using Files
    • Translations
    • Programmers Translation Workflow
    • XMLTV
      • Input
        • Recognised Tags/Attributes
        • Episode Numbering
      • Output
    • Object ID Representation
    • WebUI Help Content Workflow
    • Random Notes
  • Creating a Mux Dump
  • WIP
    • Release / Change Log Mockup
Powered by GitBook

© Tvheadend 2006-2024

On this page
  • Generic Options
  • Service Configuration
  • Server Connectivity
  • Debug Options
  • Testing Options

Was this helpful?

Export as PDF
  1. APPENDICES

CLI Commands

Usage: tvheadend [OPTIONS]

Generic Options

-h, --help                  Show this page
-v, --version               Show version infomation

Service Configuration

-c, --config                Alternate configuration path
-B, --nobackup              Don't backup configuration tree at upgrade
-f, --fork                  Fork and run as daemon
-u, --user                  Run as user
-g, --group                 Run as group
-p, --pid                   Alternate PID path
-C, --firstrun              If no user account exists 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 create or edit
                            the access control from within the Tvheadend web interface.
-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_bindaddr        Specify bind address for SAT>IP server
    --satip_rtsp            SAT>IP RTSP port number for server
                            (default: -1 = disable, 0 = webconfig, standard port is 554)
    --nosatip               Disable SAT>IP client (deprecated flag, use nosatipcli)
    --nosatipcli            Disable SAT>IP client
    --satip_xml             URL with the SAT>IP server XML location

Server Connectivity

-6, --ipv6                  Listen on IPv6
-b, --bindaddr              Specify bind address
    --http_port             Specify alternative http port
    --http_root             Specify alternative http webroot
    --htsp_port             Specify alternative htsp port
    --htsp_port2            Specify extra htsp port
    --useragent             Specify User-Agent header for the http client
    --xspf                  Use xspf playlist instead 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
    --subsystems            List 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 JS)
-A, --abort                 Immediately abort
-D, --dump                  Enable coredumps for daemon
    --noacl                 Disable all access control checks
    --nobat                 Disable DVB bouquets
-j, --join                  Subscribe to a service permanently

Testing Options

--tsfile_tuners         Number of tsfile tuners
--tsfile                tsfile input (mux file)
--tprofile              Gather timing statistics for the code
--thrdebug              Thread debugging
PreviousFAQNextDebugging

Last updated 1 year ago

Was this helpful?