Difference between revisions of "SET BOOKMARK (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
(blank page)
 
(updated for protocol 66)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
=== Arguments ===
 
=== Arguments ===
'''Command arguments''':
+
'''Command arguments''': <chanid> <unixtime:recstartts> <location>
  
'''List arguments''':
+
'''List arguments''': none
  
 
=== Examples ===
 
=== Examples ===
 
Command:
 
Command:
 +
<pre>35      SET_BOOKMARK 77003 1298597460 94573</pre>
  
 
Successful response:
 
Successful response:
 +
<pre>2      OK</pre>
 +
 +
Unsuccessful response:
 +
<pre>6      FAILED</pre>
  
 
=== Description ===
 
=== Description ===
 +
Set the bookmark on a recording at the given number of frames. The frame location is a 64-bit number.
  
 
=== Returns ===
 
=== Returns ===
 +
"OK" or "FAILED" depending on whether or not the bookmark was set successfully.
 +
 +
=== 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 is now required to be a single 64 bit number rather than two 32 bit numbers.
 +
|-
 +
|}
  
 
[[Category:Myth Protocol Commands]]
 
[[Category:Myth Protocol Commands]]

Latest revision as of 02:17, 23 June 2011

SET_BOOKMARK

Arguments

Command arguments: <chanid> <unixtime:recstartts> <location>

List arguments: none

Examples

Command:

35      SET_BOOKMARK 77003 1298597460 94573

Successful response:

2       OK

Unsuccessful response:

6       FAILED

Description

Set the bookmark on a recording at the given number of frames. The frame location is a 64-bit number.

Returns

"OK" or "FAILED" depending on whether or not the bookmark was set successfully.

Changelog

version changeset description
66 [v0.25pre-2052-g1508085] The location is now required to be a single 64 bit number rather than two 32 bit numbers.