GET RECORDER FROM NUM (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

GET_RECORDER_FROM_NUM

Arguments

Command arguments: none

List arguments: Recorder ID

Examples

Command:

GET_RECORDER_FROM_NUM[]:[]2

Successful response:

192.168.1.110[]:[]6543

Unsuccessful response:

nohost[]:[]-1

Description

Asks the backend for a specific recorder ID. The host address and port returned may not be on the originally queried host, if slave backends are used. If the recorder is not valid, -1 will be returned for the port and the host will be "nohost". Note that this does not check to see of the recorder is busy or locked.

Returns

The host address of the backend to connect to and the port of the backend to connect to

Changelog

version changeset description
1 [3021] Initial version