Difference between revisions of "GET KEYFRAME POS (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
(Created page with '== GET_KEYFRAME_POS == === Arguments === '''Command arguments''': <recorder id> '''List arguments''': <byte location:split integer> === Examples === Command: <pre>55 QUERY…')
 
(updated for protocol 66)
 
Line 3: Line 3:
 
'''Command arguments''': <recorder id>
 
'''Command arguments''': <recorder id>
  
'''List arguments''': <byte location:split integer>
+
'''List arguments''': <byte location>
  
 
=== Examples ===
 
=== Examples ===
 
Command:
 
Command:
<pre>55     QUERY_RECORDER 1[]:[]GET_KEYFRAME_POS[]:[]0[]:[]9834503</pre>
+
<pre>49     QUERY_RECORDER 1[]:[]GET_KEYFRAME_POS[]:[]9834503</pre>
Response:
 
???
 
  
 
=== Description ===
 
=== Description ===
Line 16: Line 14:
 
=== Returns ===
 
=== Returns ===
 
Successful response:
 
Successful response:
???
+
<pre>7      9834503</pre>
  
 
Unsuccessful response:
 
Unsuccessful response:
???
+
<pre>2      -1</pre>
 +
 
 +
=== Changelog ===
 +
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
 +
|- style="background: lightsteelblue"
 +
|+
 +
! version !! changeset !! description
 +
|-
 +
| 66 || {{gitcommit|1508085e|mythtv|v0.25pre-2052-g1508085}}
 +
| The location values required and returned are now single 64 bit numbers rather than pairs of 32 bit numbers.
 +
|-
 +
|}
  
 
[[Category:Recorder_Queries_(Myth_Protocol)]]
 
[[Category:Recorder_Queries_(Myth_Protocol)]]

Latest revision as of 02:14, 23 June 2011

GET_KEYFRAME_POS

Arguments

Command arguments: <recorder id>

List arguments: <byte location>

Examples

Command:

49      QUERY_RECORDER 1[]:[]GET_KEYFRAME_POS[]:[]9834503

Description

Returns the byte location of the next keyframe after the position given.

Returns

Successful response:

7      9834503

Unsuccessful response:

2      -1

Changelog

version changeset description
66 [v0.25pre-2052-g1508085] The location values required and returned are now single 64 bit numbers rather than pairs of 32 bit numbers.