Myth Protocol Command GET NEXT FREE RECORDER

From MythTV

Jump to: navigation, search

Contents

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

Personal tools