[mythtv-users] (Myth) Archive to hard disk

Michael T. Dean mtdean at thirdcontact.com
Thu Jun 28 13:55:18 UTC 2007


On 06/28/2007 06:17 AM, Ma Begaj wrote:
> 2007/6/28, Michael T. Dean <mtdean at thirdcontact.com>:
>   
>> So, perhaps a better question for you would be, why would a user /ever/
>> want to allow a job to complete on a recording if the user is just going
>> to delete the recording?  Perhaps, you may say, because the user is
>> trying to archive the recording...  Well, in that case, why not change
>> your archive script to make an appropriate call to delete the
>> recording.  (This could be done from a shell script using wget and
>> MythWeb, or possibly with the Perl bindings, or ...)
>>     
>
> I can of course do that, but I would like more to use native deleting
> from Myth, because it it probably

definitely

>  more than a sql call DELETE FROM ...

As is a call to MythWeb...  It sends a DELETE_RECORDING message to
mythbackend (i.e. does things the right way)...  You could do the same
with the Perl bindings (or just use wget to send a HTTP request to
MythWeb and let it handle the backend communications).

Mike


More information about the mythtv-users mailing list