Functions to query and manipulate the list of channels.
A TVH user can only see via the API those channels which have been enabled and to which access has been allowed. However a user with ADMIN privilege can use the parameter all=1
to see details of every channel, channeltag and category even if they do not have access to them.
Lists the text strings, options and defaults used when configuring channels within TVH (ie Configuration -> Channel/EPG -> Channel -> Add).
Creates a new channel. Requires ADMIN privilege.
conf
A JSON object containing details of the new channel.
Lists details of channels. For details of the parameters and selection criteria which can be applied, see Grid Parameters.
Lists the names and uuids of all known channels. For disabled channels the channel name is enclosed in braces.
These parameters were added at version 4.3-905:
numbers
If non-zero, the LCN appears before the channel name, separated by a space. Default is zero.
sources
If non-zero, the source appears after the channel name, in square brackets and separated by a space. Default is zero.
sort
Either name
to sort by channel name, or numname
to sort by LCN then by name (default). The name sort is case-sensitive.
Renames a channel. Only available from version 4.3.652. Requires ADMIN privilege.
from
The current name of the channel.
to
The new name of the channel.
Lists the text strings, options and defaults used when configuring channels within TVH (ie Configuration -> Channel/EPG -> Channel Tags -> Add).
Creates a new channel tag. Requires ADMIN privilege.
conf
A JSON object containing details of the new channel tag.
Lists details of channel tags. For details of the parameters and selection criteria which can be applied, see Grid Parameters.
Lists the names and uuids of all channel tags.
Untested. Return a list of the categories of events which appear in the current EPG and which the user is permitted to see. Used internally to populate the 'Category 1-3' drop-down boxes in DVR -> Autorecs -> Add (Expert view only). The function only works if the EPG is sourced from XMLTV.