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

From MythTV Official Wiki
Jump to: navigation, search
m (shift 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.
 +
 +
=== Changelog ===
 +
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
 +
|- style="background: lightsteelblue"
 +
|+
 +
! version !! changeset !! description
 +
|-
 +
| 1 || {{changeset|3021}}
 +
| Initial version
 +
|-
 +
|}
  
 
[[Category:Myth Protocol Commands]]
 
[[Category:Myth Protocol Commands]]

Revision as of 02:46, 15 September 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.

Changelog

version changeset description
1 [3021] Initial version