GET NEXT FREE RECORDER (Myth Protocol)

From MythTV Official Wiki
Revision as of 08:04, 22 February 2010 by Wagnerrp (talk | contribs)

Jump to: navigation, search

GET_NEXT_FREE_RECORDER

Arguments

Command arguments: none

List arguments: Minimum ID (I think?)

Examples

Command:

GET_NEXT_FREE_RECORDER[]:[]-1

Successful response:

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

Unsuccessful response:

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

Description

Asks the backend for a free recorder ID. The 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 ID and port and the host will be "nohost"

Returns

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