[mythtv-users] Delete recording from script?

Raymond Wagner raymond at wagnerrp.com
Tue Mar 9 01:21:23 UTC 2010


On 3/8/2010 18:31, Keith Edmunds wrote:
> How can I delete a recording from a script? Specifically, I have a user
> job that transcodes a radio program and I want to delete the original
> recording once it has been trascoded.
>    

There's a lot that goes along with a recording, that all needs to be 
deleted or changed in some manner for things to work right.  Unless you 
want to perform each of these tasks step by step, your only real option 
is to initiate of delete over Myth Protocol. Both the Perl and Python 
Bindings provide methods of performing this.

http://mythtv.org/wiki/DELETE_RECORDING_(Myth_Protocol)

http://svn.mythtv.org/trac/browser/trunk/mythtv/bindings/perl/MythTV.pm#L411
http://mythtv.org/wiki/Python_bindings/Data_Objects#delete.28force.3DFalse.2C_rerecord.3DFalse.29



More information about the mythtv-users mailing list