Myth Protocol Command QUERY FREE SPACE
From MythTV
Contents |
[edit]
QUERY_FREE_SPACE
[edit]
Present in Protocol Versions
All?
[edit]
Arguments
Command arguments: none
List arguments: none
[edit]
Examples
Command:
16 QUERY_FREE_SPACE
Response:
34 0[]:[]196014080[]:[]0[]:[]29351936
Response from proto version 34 with storage groups:
170 theP4[]:[]/media/mainlv/mythtv[]:[]1[]:[]-1[]:[]0[]:[]63799104[]:[]0[]:[]61376252[]:[]theP4[]:[]/media/disk/mythtv/data[]:[]0[]:[]-1[]:[]0[]:[]75884640[]:[]0[]:[]73477128
As of Protocol version 40, response appears to include 9 fields per record rather than 8, as indicated above. New field seems to be inserted somewhere from index 2 to 4 of above (base 0 indexing).
[edit]
Description
Queries the backend for how much space is available on the device being used to store recordings
[edit]
Returns
- The total size of the drive, in 1K blocks (64-bit value)
- The space used on the drive, in 1K blocks (64-bit value)
