Difference between revisions of "QUERY RECORDINGS (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
m (updated link)
m
Line 24: Line 24:
 
=== Returns ===
 
=== Returns ===
 
The first int in the list is the number of recordings.  After this, there follows a ProgramInfo for each recording.
 
The first int in the list is the number of recordings.  After this, there follows a ProgramInfo for each recording.
 +
 +
[[Category:Myth Protocol Commands]]

Revision as of 01:17, 23 February 2010

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.