[mythtv-users] how to disable the delete recording option ?

Pietralla, Siegfried P siegfried.pietralla at eds.com
Tue Apr 10 02:40:04 UTC 2007


hi all,
 
just a quick follow up  :
 
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.
 
as suggested, i also tried to un-map the delete key, but it won't let
you have no keys mapped to delete (!). 
 
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 ). 
 
regards.
 


________________________________

	From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Pietralla,
Siegfried P
	Sent: Wednesday, 4 April 2007 08:20
	To: Discussion about mythtv
	Subject: [mythtv-users] how to disable the delete recording
option ?
	
	

	hi all, 

	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. 

	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 ).

	thanx. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070410/1cf74cf2/attachment.htm 


More information about the mythtv-users mailing list