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
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 is a list of ProgramInfo's. Each ProgramInfo is 47 fields (version 40) with the following fields:
// data QString title; QString subtitle; QString description; QString category; QString chanid; QString chanstr; QString chansign; QString channame; QString pathname; int filesize; (top 32-bits) int filesize; (bottom 32-bits) QDateTime startts; QDateTime endts; bool duplicate; bool shareable; int findid; QString hostname; int sourceid; int cardid; int inputid; 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; QString storagegroup; QString audio_props; QString video_props; QString subtitle_type; QString year;