Difference between revisions of "UNDELETE RECORDING (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
(added details)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Added in {{changeset|14483}} by skamithi
+
== UNDELETE_RECORDING ==
  
patch adding it seems to be at http://svn.mythtv.org/trac/attachment/ticket/3788/expire_not_delete.3.diff
+
=== Arguments ===
 +
'''Command arguments''': none (may work with chanid and starttime like DELETE_RECORDING as well???)
 +
 
 +
'''List arguments''': <[[ProgramInfo (Myth Protocol)|ProgramInfo]]>
 +
 
 +
=== Examples ===
 +
Command:
 +
<pre>443    UNDELETE_RECORDING[]:[]DTV Program[]:[][]:[]DTVProgram[]:[][]:[]1042...</pre>
 +
Successful response:
 +
<pre>1      0</pre>
 +
 
 +
=== Description ===
 +
Unmarks a file on the backend that is marked for deletion.
 +
 
 +
=== Returns ===
 +
0 if the recording was successfully undeleted, -1 otherwise.
 +
 
 +
=== Changelog ===
 +
Initial patch: http://svn.mythtv.org/trac/attachment/ticket/3788/expire_not_delete.3.diff
 +
 
 +
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
 +
|- style="background: lightsteelblue"
 +
|+
 +
! version !! changeset !! description
 +
|-
 +
| 36 || {{changeset|14483}}
 +
| Initial version
 +
|-
 +
|}
  
{{stub}}
 
 
[[Category:Myth Protocol Commands]]
 
[[Category:Myth Protocol Commands]]

Latest revision as of 20:20, 3 March 2011

UNDELETE_RECORDING

Arguments

Command arguments: none (may work with chanid and starttime like DELETE_RECORDING as well???)

List arguments: <ProgramInfo>

Examples

Command:

443    UNDELETE_RECORDING[]:[]DTV Program[]:[][]:[]DTVProgram[]:[][]:[]1042...

Successful response:

1       0

Description

Unmarks a file on the backend that is marked for deletion.

Returns

0 if the recording was successfully undeleted, -1 otherwise.

Changelog

Initial patch: http://svn.mythtv.org/trac/attachment/ticket/3788/expire_not_delete.3.diff

version changeset description
36 [14483] Initial version