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

Mailing List Archive: MythTV: Users
Fully delete rec from cli
 

Index | Next | Previous | View Flat


andguent at gmail

Aug 27, 2006, 4:39 AM


Views: 1996
Permalink
Fully delete rec from cli

Quick request. I did about 30 mins of googling and was surprised I
could not find this anywhere.

What I would like to do is properly and completely delete a recording
from command line/cron.

EX: I set my box to record the evening news and record all simpsons
episodes. If any news broadcast is 48 hours old, I want it to expire
and go away. I don't want to loose old simpsons episodes if I don't
have to, BUT I do want everything to autoexpire at some point.

I'm already familiar with mythname.pl to pull out the program name &
subtitle, I just can't find any pre-built way to start deleting sql
entries. If I understood more php I would go find the function that
runs when you hit delete on mythweb/recorded_programs.php. I seem to
get lost in there, and I don't know enough sql/schema to properly roll
my own.

Does anyone have resources or links to someone who already has this?
Other ideas and hints greatly appreciated.

Anyone know what setting 'deletepending'=1 in the recorded table does,
just by itself? Found this off in googleland:
UPDATE recorded SET deletepending = 1 WHERE chanid = '1027' AND
starttime = '2006-07-06T00:13:28' ;

Thanks.


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

Subject User Time
Fully delete rec from cli andguent at gmail Aug 27, 2006, 4:39 AM
    Re: Fully delete rec from cli steve.p.daniels at googlemail Aug 27, 2006, 7:41 AM
    Re: Fully delete rec from cli cpinkham at bc2va Aug 27, 2006, 9:04 PM
        Re: Fully delete rec from cli andguent at gmail Aug 28, 2006, 5:26 PM
    Fully delete rec from cli f-myth-users at media Aug 28, 2006, 5:49 PM
        Re: Fully delete rec from cli andguent at gmail Aug 31, 2006, 7:53 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.