Difference between revisions of "QUERY RECORDINGS (Myth Protocol)"
From MythTV Official Wiki
(added additional fields) |
(Reference ProgramInfo data page) |
||
Line 2: | Line 2: | ||
=== Arguments === | === Arguments === | ||
− | '''Command arguments''': <type> | + | '''Command arguments''': <string:type> |
'''List arguments''': none | '''List arguments''': none | ||
+ | |||
+ | '''Response''': SEQ <num> OF <[[Myth_Protocol_Data_ProgramInfo|ProgramInfo]]> | ||
=== Examples === | === Examples === | ||
Line 21: | Line 23: | ||
=== Returns === | === Returns === | ||
− | The first int in the list is the number of recordings. After this, there | + | The first int in the list is the number of recordings. After this, there follows a ProgramInfo for each recording. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 14:55, 16 December 2009
QUERY_RECORDINGS
Arguments
Command arguments: <string:type>
List arguments: none
Response: SEQ <num> OF <ProgramInfo>
Examples
Command:
21 QUERY_RECORDINGS Play
Response:
18988 26[]:[]$40-a-day[]:[]Cape Cod[]:[]...
Description
Queries a list of recordings in the system
Valid types are:
- Recording: Currently being recorded
- Delete: Returns the items in descending order based on start time
- Play (or anything else): Returns all items
Returns
The first int in the list is the number of recordings. After this, there follows a ProgramInfo for each recording.