DELETE RECORDING (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

DELETE_RECORDING

Arguments

Command arguments: <int:chanid> <datetime:recstartts> [FORCE/NO_FORCE [FORGET/NO_FORGET]]

List arguments: <ProgramInfo>

Examples

Command:

36     DELETE_RECORDING 1042 20070516195230

or

441    DELETE_RECORDING[]:[]DTV Program[]:[][]:[]DTVProgram[]:[][]:[]1042...

Successful response:

2      -1


Description

Marks a file on the backend for deletion, following the existing deletion rules.
FORCE_DELETE_RECORDING will force the database entries to be removed even if the file in question cannot be found.

Returns

The number fewer recordings that now exist after deletion.

Changelog

version changeset description
1 [3021] initial version, DELETE_RECORDING only
16 [6235] added FORCE_DELETE_RECORDING
56 [23028] allow DELETE_RECORDING to take 'FORCE' command argument
23056

59

[25364]

[25363]

allow DELETE_RECORDING to take 'FORGET' command argument