SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-11-2011, 08:42 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
SageTV v7 - Auto-delete's newest recordings

My recording directories are full, so I am relying on Sage's auto-delete to make space when a new recording happens. However, it is deleting the newest episodes instead of the oldest.

For instance, last night my wife watched the latest Glee, but she fell asleep. It continued to play and SageTV marked it as 'Watched'. Now today, that episode has been auto-deleted, even though there are Glee episodes from last year, also marked as 'Watched', which were not deleted.
All of these episodes were recorded under a Favorite with auto-delete=true, which has a higher-priority that most of the other recorded shows. Nothing was manually recorded. In fact, all of my shows are recorded as favorites, and all are set as auto-delete true.
The SageTV web interface tells me that my auto-delete recordings are: ◦[Auto-Delete Recordings]: 303 recordings using 1253.66 GB.
So, if there is over a terabyte of recordings that can be auto-deleted, why is SageTV deleting a recording that was just created yesterday!?!

I have the SageTV's recording preference as 'optimize for space', so nothing unusual there.
  1. Is there any way to determine which shows SageTV will delete next with it's auto-delete. (I come from BeyondTV, and it had this handy feature).
  2. Is there any log file that can show me what shows are being auto-deleted?
  3. Is there any way to do an advanced configuration of what shows get auto-deleted? I would like for it to always delete the oldest recording, regardless of priority, watched status, etc.

Thank you in advance for any insight some SageTV experts might be able to provide!

Last edited by bradvido; 05-11-2011 at 08:57 PM.
Reply With Quote
  #2  
Old 05-12-2011, 06:23 AM
jorton jorton is offline
Sage Icon
 
Join Date: Jul 2005
Location: Canada
Posts: 1,273
Hopefully this is on topic...

I have noticed the same thing as the OP and I am interested in an explanation of the automatic deletion order. I have been manually deleting my old watched shows to make sure that I don't inadvertently lose something with the automatic method.

I also would like to know the delete order when you select a group of recordings for deletion, most of the time I would prefer that it delete from oldest to newest recorded date so that I can stop the deletion process and keep a couple of the more recent recordings not the two oldest ones, this is mostly when I am clearing up kids shows that seem to suck up my recording space rather quickly.

Thanks Jeremy
Reply With Quote
  #3  
Old 05-12-2011, 07:05 AM
ptzink ptzink is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 300
I experienced some similar weirdness with auto delete a few weeks ago, although in my case it actually deleted a recording that hadn't even been watched yet. You can read more here. Like you, I had several other favorites that were old and had been watched that were kept. I decided to manually clear up some space on my recording drive, but since then it has filled up again and the auto delete seems to be working normally again. I too agree it would be nice to see exactly what was next in line to be deleted and I can't see why that would be difficult information to provide.
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space
Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD
Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD
Reply With Quote
  #4  
Old 05-12-2011, 10:48 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by jorton View Post
Hopefully this is on topic...

I have noticed the same thing as the OP and I am interested in an explanation of the automatic deletion order.
See Appendix C of the manual.

Quote:
Originally Posted by jorton View Post
I also would like to know the delete order when you select a group of recordings for deletion...
It's probably the same as the sort order you have selected in the current view. That said, it seems a bit chancy to do a group delete on a group that includes recordings you don't want deleted. What I'd suggest in that situation is to use filtered views based on (say) Watched or Archived status to exclude the ones you want to keep. Then you don't have to worry about what order they get deleted in so you can stop it in time.
__________________
-- Greg
Reply With Quote
  #5  
Old 05-12-2011, 11:13 AM
jorton jorton is offline
Sage Icon
 
Join Date: Jul 2005
Location: Canada
Posts: 1,273
Quote:
Originally Posted by GKusnick View Post
See Appendix C of the manual.



It's probably the same as the sort order you have selected in the current view. That said, it seems a bit chancy to do a group delete on a group that includes recordings you don't want deleted. What I'd suggest in that situation is to use filtered views based on (say) Watched or Archived status to exclude the ones you want to keep. Then you don't have to worry about what order they get deleted in so you can stop it in time.
Thanks, but Appendix C doesn't specifiy the order that the files will be deleted just that "Existing recordings will remain until space is needed or until you delete the recording." or something similar and does not say that it will delete the oldest recordings first etc and it it is in fact based on some sort order set somewhere... and that's what we are asking about.

I may be "chancy" but it works and when you have your system recording hundreds of kids shows that will never be ever be watched, I just want to keep the last few recent recordings by group deleting and stopping the process with a couple left. If the process was to delete from the newest to the oldest every time I cleared up some space I'd end up with the same two old recordings not the latest two...

I don't have time to go through kids shows and archive/set watched just want to delete the oldest bunch every once and awhile. I do also use the group delete option on "watched" shows but the recordings build up faster than they are watched...

Also I'm curious about why there isn't an option to keep at most X recordings and to always add new and drop/delete the oldest so that you always have recent recordings rather than build up to x recordings and then stop recording the show... Might be a nice option to have.

Thanks,

J


Reply With Quote
  #6  
Old 05-12-2011, 11:20 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by jorton View Post
I don't have time to go through kids shows and archive/set watched just want to delete the oldest bunch every once and awhile.
Set watched on the group, unset watch on the last couple recorded shows individually, delete watched shows... Thats what i do when i have a bunch of shows to delete but want to keep the last couple that were recorded.
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #7  
Old 05-12-2011, 11:38 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by jorton View Post
Also I'm curious about why there isn't an option to keep at most X recordings and to always add new and drop/delete the oldest so that you always have recent recordings rather than build up to x recordings and then stop recording the show... Might be a nice option to have.
There is such an option. If you have Keep at Most set with Autodelete enabled, it will delete the oldest to make room for newer ones. If you disable Autodelete, then obviously it won't delete any and will stop recording when it reaches the Keep at Most amount.
__________________
-- Greg
Reply With Quote
  #8  
Old 05-12-2011, 11:53 AM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Here's what Appendix C says:
http://img703.imageshack.us/img703/1...autodelete.png
So, it deletes them based on the priorities of
  • Manual recordings/favorites
  • Favorites w/ auto-delete on
  • Intelligent recordings
  • Watched shows (i'm guessing if a favorite is watched, it falls into this category, not the previous favorites category)
  • Live tv
  • Recordings marked as Don't like
Items at the top of the list are least likely to get deleted, and items at the bottom are more likely to get deleted.

It also says if two shows have the same priority, the older of the two will be deleted. I think by priority here, they mean priority in this list, not the numeric priority set within favorites.

So, since i only have Favorites w/ auto-delete on (some of which are marked as watched), then SageTV should delete the OLDEST WATCHED favorite when it needs space. It does NOT do this. In fact, it deleted one of my newest favorites (recorded just 24 hours ago).

Any ideas why?

Last edited by Opus4; 05-12-2011 at 01:13 PM. Reason: image too wide to post inline; changed to link
Reply With Quote
  #9  
Old 05-12-2011, 12:44 PM
jorton jorton is offline
Sage Icon
 
Join Date: Jul 2005
Location: Canada
Posts: 1,273
Quote:
Originally Posted by GKusnick View Post
There is such an option. If you have Keep at Most set with Autodelete enabled, it will delete the oldest to make room for newer ones. If you disable Autodelete, then obviously it won't delete any and will stop recording when it reaches the Keep at Most amount.
Gotcha, good to know, thanks Greg.

Now back to bradvido's question(s), in case I highjacked te thread in any way.
Reply With Quote
  #10  
Old 05-12-2011, 01:19 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
As a (possible) workaround, I have set up a script to force all recordings to be marked as 'unwatched'. This is an attempt to force SageTV to delete the oldest recording, regardless of watched status. I'll see if it really does that.

I am OK with this because I rarely use SageTV for playback, so the watched flags don't mean much to me.
I manage everything with XBMC.

It'll be interesting to see what sage does now. I may also set up a script to notify me of when a recording is auto-deleted so I know exactly what sage is doing (unless this if info is already in a log somewhere? Anyone know?)
Reply With Quote
  #11  
Old 05-12-2011, 01:25 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Are any of your older watched recordings tagged as Archived? The manual notes they never get deleted.

Do the older recordings have station names associated with them? If your lineup has changed & they were recorded on an old channel that you no longer receive & is no longer in the database, I just found out that they won't get deleted because they will look like conversions that are also not auto-deleted.

See this FAQ for how to get a debug log. You could post the log if you still don't know why something deleted & it happens again.

Oh, and if you set up the recordings view to sort Intelligently w/o grouping, then the list will approximate the deletion order.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #12  
Old 05-12-2011, 01:30 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
No, none are archived. I've never used that feature. Sage is really just a recorder for me, i don't use the GUI much.

I found that info on the debug log, and i have sifted through mine (I had debug logging enabled from a while ago). Nothing useful came of that.
Reply With Quote
  #13  
Old 05-12-2011, 01:36 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Quote:
Originally Posted by Opus4 View Post
Oh, and if you set up the recordings view to sort Intelligently w/o grouping, then the list will approximate the deletion order.
I will try this! Thanks for the tip
Reply With Quote
  #14  
Old 05-12-2011, 02:42 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by bradvido View Post
I am OK with this because I rarely use SageTV for playback, so the watched flags don't mean much to me.
But they do mean something to Sage. Specifically, if you delete a Favorite recording without marking it Watched, Sage will try to record that episode again, because it won't know that you've already watched it in some other app.
__________________
-- Greg
Reply With Quote
  #15  
Old 05-12-2011, 03:17 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Quote:
Originally Posted by GKusnick View Post
But they do mean something to Sage. Specifically, if you delete a Favorite recording without marking it Watched, Sage will try to record that episode again, because it won't know that you've already watched it in some other app.
Hmmm... So maybe a better work-around would be to mark everything as watched instead of unwatched? Do you see any problems with that?
Reply With Quote
  #16  
Old 05-12-2011, 06:33 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Per Appendix C, all Watched shows will be auto-deleted before any Unwatched shows. If you're comfortable with that, then I guess it could work.

That said, I'm somewhat skeptical of the long-term value of using those flags merely as levers to influence the deletion order. The flag is called "Watched", not "Delete me first", and Sage devs and plugin devs are going to write code on the assumption that Watched means you've actually watched it. So in the long run it seems like you'll have fewer surprises if you take that meaning seriously and populate your database with accurate Watched info, rather than flipping flags back and forth at whim to suit your short-term purposes.
__________________
-- Greg
Reply With Quote
  #17  
Old 05-13-2011, 06:43 AM
ptzink ptzink is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 300
So now that we are all well aware of the logic used to auto delete recordings, can Sage provide an ordered list (under "TV" submenu?) starting with the next recording to be deleted and going to the last? Even if I could just see that in the Web UI it would be helpful. Thanks.
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space
Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD
Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD
Reply With Quote
  #18  
Old 05-13-2011, 06:55 AM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Quote:
Originally Posted by GKusnick View Post
Per Appendix C, all Watched shows will be auto-deleted before any Unwatched shows. If you're comfortable with that, then I guess it could work.

That said, I'm somewhat skeptical of the long-term value of using those flags merely as levers to influence the deletion order. The flag is called "Watched", not "Delete me first", and Sage devs and plugin devs are going to write code on the assumption that Watched means you've actually watched it. So in the long run it seems like you'll have fewer surprises if you take that meaning seriously and populate your database with accurate Watched info, rather than flipping flags back and forth at whim to suit your short-term purposes.
I agree. I would love to have the watched flag really mean 'watched'.... The problem is we often watch shows before bed and fall asleep. So it gets marked as watched, even though we haven't finished it.
Then (the reason i started this thread), Sage deletes the episode we just watched in it's automatic cleanup, even though there are dozens of watched, older, recorded shows. This is not the behavior I'd expect after reading appendix C, but it happens time and time again.
Reply With Quote
  #19  
Old 05-13-2011, 06:56 AM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Quote:
Originally Posted by ptzink View Post
So now that we are all well aware of the logic used to auto delete recordings, can Sage provide an ordered list (under "TV" submenu?) starting with the next recording to be deleted and going to the last? Even if I could just see that in the Web UI it would be helpful. Thanks.
This would be very useful for debugging my problem.
In the meantime, if you look at recorded shows, ungrouped, in inverse intelligent order, that apparently mimics the auto-delete order.
Reply With Quote
  #20  
Old 05-13-2011, 02:20 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Ok, I've abandoned the idea of setting everything to watched or unwatched in favor of setting up a way to track which shows are getting deleted by sage and why.
I've set up a script that creates an HTML report whenever sage adds or deletes recordings. I'm going to monitor that and see what happens.

Here's a sample of my first attempt of a report:
http://pastehtml.com/view/1ehs88f.html
Reply With Quote
Reply

Tags
auto-delete


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV auto deleting recordings I cancelled? james_k_p SageTV Software 18 09-05-2008 11:18 AM
Grouped recordings newest beta emilek SageTV Customizations 2 05-14-2008 07:36 AM
Need Newest Sagetv.ini to Remote Wonder Kamandi5433 Hardware Support 1 04-03-2008 10:46 AM
Newest recordings deleted, Watched shows remain nicktripp SageTV Software 4 03-25-2006 07:30 AM
Recordings Menu Newest First TheraEdge SageTV Software 2 07-23-2005 11:46 PM


All times are GMT -6. The time now is 03:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.