GET FREE RECORDER (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

GET_FREE_RECORDER

Arguments

Command arguments: none

List arguments: none

Examples

Command:

GET_FREE_RECORDER

Successful response:

1[]:[]192.168.1.110[]:[]6543

Unsuccessful response:

-1[]:[]nohost[]:[]-1

Description

Asks the backend for a free recorder. The recorder ID, host address, and port returned may not be on the originally queried host, if slave backends are used. If no recorder is available, -1 will be returned for the port and the host will be "nohost"

This is similar to GET_NEXT_FREE_RECORDER except that it tries to get a recorder on the local machine if possible.

Returns

The recorder ID, host address of the backend to connect to, and the port of the backend to connect to