Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

RFC: Delete protection from within Myth

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


roo.watt at gmail

May 14, 2007, 5:09 AM

Post #1 of 7 (753 views)
Permalink
RFC: Delete protection from within Myth

I find that I am accumulating more and more music specials in my
"Watch Recording" screen. I want to keep these recordings handy and
have thought about how best to do it.

Enhancement: Delete protection from within Myth
=============================
- Add a field to the database (recordedprogram table I think) called
"nodelete", this would be a bool to indicate that the recorded program
is not to be deleted (strangely enough). If this field is missing or
false then deleting is allowed.

- In watch recording screen, when displaying the
PlaybackBox::showActionPopup, grey out (make unavailable) the "Delete"
option if the nodelete bool is true, or provide feedback to user
another way.

- Also grey out the delete options on the popup in the delete recordings screen.

- Add menu items to the "Storage Options" to toggle the nodelete flag
for a recording.

- Update mythweb to honour the nodelete flag.


Any thoughts if this is the "right way" to implement delete protection
and whether it could make it into trunk.


Cheers,

Roo
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


steve.p.daniels at googlemail

May 14, 2007, 7:27 AM

Post #2 of 7 (706 views)
Permalink
Re: RFC: Delete protection from within Myth [In reply to]

Roo wrote:
> I find that I am accumulating more and more music specials in my
> "Watch Recording" screen. I want to keep these recordings handy and
> have thought about how best to do it.
>
> Enhancement: Delete protection from within Myth
> =============================
> - Add a field to the database (recordedprogram table I think) called
> "nodelete", this would be a bool to indicate that the recorded program
> is not to be deleted (strangely enough). If this field is missing or
> false then deleting is allowed.
>
> - In watch recording screen, when displaying the
> PlaybackBox::showActionPopup, grey out (make unavailable) the "Delete"
> option if the nodelete bool is true, or provide feedback to user
> another way.
>
> - Also grey out the delete options on the popup in the delete recordings screen.
>
> - Add menu items to the "Storage Options" to toggle the nodelete flag
> for a recording.
>
> - Update mythweb to honour the nodelete flag.
>
>
> Any thoughts if this is the "right way" to implement delete protection
> and whether it could make it into trunk.
>
>
> Cheers,
>
> Roo

Another option:

Get a really big stick, hammer nails through it. The next time someone
deletes one of your recordings.. well, I'm sure you get the gist of the
idea ;-)

Steve (Only two stress filled days left till he finishes his degree) Daniels

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


mark.buechler at gmail

May 14, 2007, 8:10 AM

Post #3 of 7 (704 views)
Permalink
Re: RFC: Delete protection from within Myth [In reply to]

Sounds like an excellent idea. I, for one, am tired of people deleting my
recordings.

- Mark.

On 5/14/07, Steve Daniels <steve.p.daniels [at] googlemail> wrote:
>
> Roo wrote:
> > I find that I am accumulating more and more music specials in my
> > "Watch Recording" screen. I want to keep these recordings handy and
> > have thought about how best to do it.
> >
> > Enhancement: Delete protection from within Myth
> > =============================
> > - Add a field to the database (recordedprogram table I think) called
> > "nodelete", this would be a bool to indicate that the recorded program
> > is not to be deleted (strangely enough). If this field is missing or
> > false then deleting is allowed.
> >
> > - In watch recording screen, when displaying the
> > PlaybackBox::showActionPopup, grey out (make unavailable) the "Delete"
> > option if the nodelete bool is true, or provide feedback to user
> > another way.
> >
> > - Also grey out the delete options on the popup in the delete recordings
> screen.
> >
> > - Add menu items to the "Storage Options" to toggle the nodelete flag
> > for a recording.
> >
> > - Update mythweb to honour the nodelete flag.
> >
> >
> > Any thoughts if this is the "right way" to implement delete protection
> > and whether it could make it into trunk.
> >
> >
> > Cheers,
> >
> > Roo
>
> Another option:
>
> Get a really big stick, hammer nails through it. The next time someone
> deletes one of your recordings.. well, I'm sure you get the gist of the
> idea ;-)
>
> Steve (Only two stress filled days left till he finishes his degree)
> Daniels
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>


stuarta at squashedfrog

May 14, 2007, 8:18 AM

Post #4 of 7 (712 views)
Permalink
Re: RFC: Delete protection from within Myth [In reply to]

Mark Buechler wrote:
> Sounds like an excellent idea. I, for one, am tired of people deleting
> my recordings.
>

Sounds like somebody needs to pickup last years SoC project
to make mythtv multi user aware.


Stuart
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


mtdean at thirdcontact

May 14, 2007, 10:07 AM

Post #5 of 7 (711 views)
Permalink
Re: RFC: Delete protection from within Myth [In reply to]

On 05/14/2007 11:18 AM, Stuart Auchterlonie wrote:
> Mark Buechler wrote:
>
>> Sounds like an excellent idea. I, for one, am tired of people deleting
>> my recordings.
> Sounds like somebody needs to pickup last years SoC project
> to make mythtv multi user aware.

And, I think that would apply as, perhaps, a better approach for Roo,
too. With the multi-user approach, rather than "can't delete" flag that
anyone can change, files could be protected according to MythTV user
permissions (thereby allowing a "root" or "admin" user to have final say
over the matter), some users could be restricted from deleting anything,
others could be allowed to delete from their own personal view of the
available recordings, but without affecting other users... It leaves a
lot of possibilities (which were discussed on the list during the SoC
project).

Mike
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


roo.watt at gmail

May 14, 2007, 4:36 PM

Post #6 of 7 (701 views)
Permalink
Re: RFC: Delete protection from within Myth [In reply to]

On 15/05/07, Michael T. Dean <mtdean [at] thirdcontact> wrote:
> And, I think that would apply as, perhaps, a better approach for Roo,
> too. With the multi-user approach, rather than "can't delete" flag that
> anyone can change, files could be protected according to MythTV user
> permissions (thereby allowing a "root" or "admin" user to have final say
> over the matter)

I have thought about that as well as there are a couple of reasons I
proposed what I did.

- I have deleted recordings _I_ wanted to keep before, it is usually a
case of "muscle memory"; exit recording and by habit delete it.

- I didn't intend for the "Delete protect" to stop any one deleting it
if they really wanted to, just shift that operation out of the
"normal" dialogs (when lprotected) and requiring an "unprotect".

- I thought this might tie in well with the "recording groups" /
"storage groups".
I change the "storage group" of the shows I want to save (probably by
changing the recording group or maybe some other way) and they can get
moved to the "storage group" location, possibly a raid array, then set
the delete protect flag.
<I need to look into this>

- And most importantly, it is something I think I can code up. (I
think the multiuser SOC is beyond my skills at the moment)
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


pstehlik at sophics

May 14, 2007, 10:58 PM

Post #7 of 7 (698 views)
Permalink
Re: RFC: Delete protection from within Myth [In reply to]

Roo wrote:
> - I have deleted recordings _I_ wanted to keep before, it is usually a
> case of "muscle memory"; exit recording and by habit delete it.

if I found myself deleting recordings I didn't want to delete I would
transcode them to .avi and move them from recordings to Videos next
time... I think even you wouldn't happen to delete them there ;-)

Petr

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.