QUERY RECORDING (Myth Protocol)

From MythTV Official Wiki
Revision as of 03:22, 4 March 2011 by Syphr42 (talk | contribs) (corrected command arguments)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

QUERY_RECORDING

Arguments

Command arguments: TIMESLOT or BASENAME

List arguments: <int:chanid> <datetime:recstartts> OR <string:basename>

Response: "OK" <ProgramInfo> OR "ERROR"

Examples

Command:

44      QUERY_RECORDING TIMESLOT 2069 20090728210000

Response:

532   OK[]:[]Chopped[]:[]Pods, Grills and Sticky Fingers[]:[]...

Description

Queries a single recording

starttime will be in the form <year><month><day><hour><minute><second>
basename will be in the form <chanid>_<starttime>.mpg|nuv unless it has been renamed

Returns

On success, the response will be the string "OK" followed by the relevant ProgramInfo record. On failure, the response will be the single string "ERROR".