QUERY RECORDINGS (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

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