GET NEXT FREE RECORDER (Myth Protocol)
From MythTV Official Wiki
Revision as of 09:29, 6 March 2010 by Wagnerrp (talk | contribs) (moved Myth Protocol/Commands/GET NEXT FREE RECORDER to GET NEXT FREE RECORDER (Myth Protocol))
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