QUERY RECORDINGS (Myth Protocol)

From MythTV Official Wiki
Revision as of 04:58, 26 July 2006 by Mcalahan (talk | contribs) (Updating MythProtocol)

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

QUERY_RECORDINGS

Arguments

Command arguments: <type>

List arguments: none

Examples

Command:

21      QUERY_RECORDINGS Play

Response:

18988   26[]:[]$40-a-day[]:[]Cape Cod[]:[]...

Description

Queries a list of recordings in the system

Returns

The first int in the list is the number of recordings. After this, there is a list of ProgramInfo's. Each ProgramInfo is 41 fields (version 26) with the following fields:

   // data
   QString title;
   QString subtitle;
   QString description;
   QString category;
   QString chanid;
   QString chanstr;
   QString chansign;
   QString channame;
   QString pathname;
   long long filesize;
   QDateTime startts;
   QDateTime endts;
   //empty field
   bool shareable;
   int findid;
   QString hostname;
   int sourceid;
   int inputid;
   int cardid;
   int recpriority;
   RecStatusType recstatus;
   int recordid;
   RecordingType rectype;
   RecordingDupInType dupin;
   RecordingDupMethodType dupmethod;
   QDateTime recstartts;
   QDateTime recendts;
   bool repeat;
   int programflags;
   QString recgroup;
   int chancommfree;
   QString chanOutputFilters;
   QString seriesid;
   QString programid;
   QDateTime lastmodified;
   float stars;
   QDate originalAirDate;
   bool hasAirDate;
   QString playgroup;
   int recpriority2;