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
  • tvhlog/config/load
  • tvhlog/config/save
  • tvhlog/subsystem/grid

Was this helpful?

Export as PDF
  1. Development
  2. JSON API
  3. API Description

Tvhlog

PreviousTimeshiftNextExamples

Last updated 2 months ago

Was this helpful?

ADMIN privilege is required for these functions.

tvhlog/config/load

Lists the details, descriptions, defaults and current values of the items in the GUI screen Configuration -> Debugging -> Configuration -> Settings. See for details of selection parameters.

tvhlog/config/save

Untested. Updates the server from an object in the format produced by .

  • node The JSON object.

tvhlog/subsystem/grid

List the subsystems available for trace and debug operations.

Also see and .

{
    "entries": [
        {
            "id": 1,
            "subsystem": "START",
            "description": "START",
            "trace": true,
            "debug": false
        },
         . . . . . . .
        {
            "id": 103,
            "subsystem": "ratinglabels",
            "description": "Rating Labels",
            "trace": false,
            "debug": true
        }
    ],
    "traceCount": 12,
    "debugCount": 42,
    "totalCount": 103
}
  • id - The internal enum for this subsystem. These values may change between systems depending upon the application version and the options used at compile-time but are otherwise constant.

  • subsystem - The name of the subsystem. These values are to be used in the WebUI when enabling trace/debug operations.

  • description - The locale-aware description of the subsystem.

  • trace - True if this subsystem is currently being traced.

  • debug - True if this subsystem is currently being debugged.

  • traceCount - The number of subsystems with trace currently set to true.

  • debugCount - The number of subsystems with debug currently set to true.

  • totalCount - The total number of subsystems.

Note 1: Users may enter a special all subsystem (not listed) instead of nominating each subsystem individually in the WebUI. This condition can be detected if traceCoount and/or debugCount is equal to totalCount.

Note 2: As at April 2024, the id field is informational only. It is provided to facilitate future API development.

Common Parameters
Debugging / Trace options
tvhlog/config/load
CLI / Debug Options