Service
ADMIN privilege is required to use all of these functions.
service/mapper/load
Lists the descriptions, options, current values and defaults of the GUI screen Configuration -> DVB Inputs -> Services. -> Map Services.
Further API functions for manipulating DVB services are in the MPEGts section.
service/mapper/save
Untested. Set the Service Mapper options.
nodeUnknown, possibly the value ofclass.
service/mapper/stop
Stops a running service mapper operation.
service/mapper/status
Provides the same output as Status -> Service Mapper in the TVH GUI.
{
"ignore" : 0,
"ok" : 0,
"fail" : 0,
"total" : 0
}service/list
Lists available services. "Available" services includes those which are disabled or encrypted.
enumIf set to 1 (as an integer without quotes) a short-form list is output containing each service's uuid and name. If set to 0 (the default) a verbose list is generated.listIfenumis not 1 this parameter selects which items in theparamsarray are to be output, based on the value of the 'id' field. Multiple ids can be selected, separated by commas, colons or semicolons. A '-' in front of an id deselects that item (and implicitly selects all others).
raw/export?class=service provides a simpler version of the same information (but including the streams data), however the API call is about 50% slower.
service/streams
Lists the streams comprising the service.
uuiduuid of the service. This parameter is mandatory; it is not possible to list all services.
service/removeunseen
Remove services which have not been seen recently. This call carries out the same action as Configuration -> DVB Inputs -> Services -> Maintenance in the TVH GUI.
daysThe number of unseen days before deletion. The default is 7 days, the minimum is 5 days.typeIf set topatthe action is the same as "Remove unseen services (PAT/SDT)" in the GUI. Otherwise the action is the same as "Remove all unseen services".
An empty JSON object is always returned.
Last updated
Was this helpful?
