Skip to content
dave-p edited this page Jan 8, 2019 · 18 revisions

These function provide direct access to the internal data structures of TVHeadend. Attempting to modify these internal structures may have unwanted effects including loss of data.

Information is held within TVHeadend in a key-value database. The key for each record is a random 128-bit value called a uuid. The value is a data structure which can be represented in JSON format.

idnode/load

Read the value of one or more idnode records. One of these parameters must be specified:

  • uuid The uuid (or JSON-structured list of uuids) to read.
  • class The class of records to read, ie one of the classes returned by classes.

The data to be returned may be qualified by setting one of these parameters to an integer greater than zero:

  • meta Include meta-data (default values and descriptions of the data items).
  • grid Return a brief summary of the records.

idnode/save

idnode/tree

idnode/class

List information about a specified class; mostly metadata used to configure the TVHeadend UI.

  • name The name of the class, ie one of the values returned by classes.

idnode/delete

Delete one or more records.

  • uuid The uuid (or a JSON-formatted list) of the record(s) to be deleted.

idnode/moveup

idnode/movedown

Clone this wiki locally