QUERY RECORDINGS (Myth Protocol)
From MythTV Official Wiki
QUERY_RECORDINGS
Arguments
Command arguments: <string:type>
List arguments: none
Response: SEQ <num> OF <ProgramInfo>
Examples
Command:
21 QUERY_RECORDINGS Ascending
Response:
18988 26[]:[]$40-a-day[]:[]Cape Cod[]:[]...
Description
Queries a list of recordings in the system. Query type is case-sensitive.
Valid types are (protocol versions 65+):
- Recording: Returns in-progress recordings, unsorted
- Descending (or Delete, deprecated): Returns all recordings in descending order, based on start time
- Ascending (or Play, deprecated): Returns all recordings in ascending order, based on start time
- Unsorted (or anything else): Returns all recordings, unsorted
For protocol versions 57 - 64, valid types are:
- Recording: Returns in-progress recordings, unsorted
- Play (or anything else): Returns all recordings, unsorted
For protocol versions 1 - 56, valid types are:
- Recording: Returns in-progress recordings in ascending order, based on start time
- Delete: Returns all recordings in descending order, based on start time
- Play (or anything else): Returns all recordings in ascending order, based on start time
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 |