Difference between revisions of "QUERY COMMBREAK (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
(Arguments)
(explain response)
Line 5: Line 5:
  
 
'''List arguments''': none
 
'''List arguments''': none
 +
 +
=== Response ===
 +
'''List response''': <int:number of points> [<int:type> <int:framecount (high bits)> <int:framecount (low bits)>] [...]
 +
 +
The frame location is encoded as a double integer, where the top and bottom 32-bits of a 64-bit integer are sent separately.  For practical purposes, the top 32-bits can be ignored as it's unlikely anyone will have the two year recording necessary to hit the rollover.
  
 
=== Examples ===
 
=== Examples ===
 
Command:
 
Command:
 
  31      QUERY_COMMBREAK 2069 1273453200
 
  31      QUERY_COMMBREAK 2069 1273453200
 +
Unsuccessful response:
 +
2      -1
 
Successful response:
 
Successful response:
 
  179    8[]:[]4[]:[]0[]:[]21961[]:[]5[]:[]0[]:[]33687[]:[]...
 
  179    8[]:[]4[]:[]0[]:[]21961[]:[]5[]:[]0[]:[]33687[]:[]...

Revision as of 12:32, 27 May 2010

QUERY_COMMBREAK

Arguments

Command arguments: <int:chanid> <unixtime:starttime>

List arguments: none

Response

List response: <int:number of points> [<int:type> <int:framecount (high bits)> <int:framecount (low bits)>] [...]

The frame location is encoded as a double integer, where the top and bottom 32-bits of a 64-bit integer are sent separately. For practical purposes, the top 32-bits can be ignored as it's unlikely anyone will have the two year recording necessary to hit the rollover.

Examples

Command:

31      QUERY_COMMBREAK 2069 1273453200

Unsuccessful response:

2       -1

Successful response:

179     8[]:[]4[]:[]0[]:[]21961[]:[]5[]:[]0[]:[]33687[]:[]...

Description

Returns