<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>how to disable the delete recording option ?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007>hi all,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007>just a quick follow up :</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007>when you finish watching a recording, you get prompted
on whether to delete the recording or keep it - this is what was confusing the
other people who use my myth system. that was the basis for my original question
- and too obvious to me for it to be included in my question :) anyway, i just
happened to find a setup option that turns off that prompt, hence resolving the
problem i was actually having.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007>as suggested, i also tried to un-map the delete key,
but it won't let you have no keys mapped to delete (!). </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007>i also like the chattr idea - thinking about it, it
shouldn't be hard to write a little script to turn this on ( and also off
again ) and call it as a user job. i can see where you can run user
jobs when you schedule a recording ( so you can easily protect new recordings ),
but how can you run a user job after a program has been recorded ? (
so that you can protect existing recordings and then also later turn of the
'chattr +i' e.g. the same way you can run comm. flagging and transcoding against
any already recorded file ). </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007>regards.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=192485022-09042007></SPAN></FONT> </DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mythtv-users-bounces@mythtv.org
[mailto:mythtv-users-bounces@mythtv.org] <B>On Behalf Of </B>Pietralla,
Siegfried P<BR><B>Sent:</B> Wednesday, 4 April 2007 08:20<BR><B>To:</B>
Discussion about mythtv<BR><B>Subject:</B> [mythtv-users] how to disable the
delete recording option ?<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>hi all,</FONT> </P>
<P><FONT face=Arial size=2>I've had someone accidentally delete some
recordings when they finished watching them ( but before I had a chance to
watch them ). so I'm wondering, what ideas do people have to disable delete
functionality in mythtv. I don't think I actually need to be able to delete
recordings as such since expiration will eventually get rid of things anyway.
</FONT></P>
<P><FONT face=Arial size=2>the only option I've thought of so far is to write
a wrapper for 'rm' so that it won't do anything if run as the 'mythtv' user,
but that would probably still delete the database entries and just leave the
recording file lying around ( which I’d then have to find to watch it and
manually delete ). and it would mess up other things like expiration and
transcoding. please note that I'm running knoppmyth so I'm not able to amend
and recompile the source ( otherwise I would just comment out the relevant
lines in the code ).</FONT></P>
<P><FONT face=Arial size=2>thanx.</FONT> </P></BLOCKQUOTE></BODY></HTML>