QUERY RECORDINGS (Myth Protocol)
From MythTV Official Wiki
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;