SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-18-2010, 04:53 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Arrow STV Import: Online Cleanup

If you frequently use the Online Services available in Sage you will notice that your temporary directory tends to get full of files that start with OnlineVideo and .rsslib4j. Sage is supposed to cleanup after itself but under some circumstances it is not able to do so. This STVi allows you to either manually, or periodically at user-defined intervals, delete these temporary files that are no longer needed.

To install:
  • No need to stop Sage, just unzip to your install directory (usually C:\Program Files\SageTV\SageTV).
  • Import in the usual manner.

Usage:

Once imported navigate to Setup->Detailed Setup->Customize->Online Video Options. Select "Configure" and you will notice "Automatic Cleanup". Select "Configure" and the options menu will be displayed.

Explanation of Options:
  • Enable Automatic Cleanup - Enables or disables the automatic periodic cleanup of all temporary files that begin with "OnlineVideo" and are older than the minimum age. If you use multiple extenders and/or placeshifters you should only enable this on one of them. Enabling this on more than one will not cause any harm but it will consume more memory and CPU cycles on your server.
  • Cleanup RSS Temp Items - If enabled all temporary files that begin with ".rsslib4jbug" will be cleaned up as long as they are older than the minimum age.
  • Minimum Age Before Deleting - Any files newer than this age will not be deleted.
  • Time Between Checks - If Enable Automatic Cleanup is Enabled, this is the number of hours that the STVi will wait before checking for old files again.
  • Time Since Last Run - The number of hours since the STVi has checked for old files.
  • Cleanup Now - Selecting this will manually run the cleanup. The numbers in the parentheses are the number of temporary OnlineVideo files and temporary RSS files that will be cleaned up.

Sometimes after running an automatic or manual cleanup you will notice that the number of old items is not 0. This is normal. When Sage creates these temporary files it keeps track of them which causes them to become locked and then deletes them when Sage exits. (Actually when the Java Virtual Machine exits.) So if all goes as planned the temporary items are deleted automatically each time Sage exits. When things do not go as planned this STVi cleans up the mess.

If you are using PlayOn and the Hulu plugin you may notice that temporary items also buld up in the Documents and Settings\All Users\Application Data\MediaMall\Media\<IP>\ subdirectory and in your Temporary Internet Files subdirectory. This STVi does NOT cleanup those places since, in general, PlayOn cleans up after itself pretty well.

Download Here: http://forums.sagetv.com/forums/down...do=file&id=373
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #2  
Old 04-21-2010, 08:43 PM
Doubledose's Avatar
Doubledose Doubledose is offline
Sage Aficionado
 
Join Date: Feb 2010
Location: N. E. Indiana
Posts: 309
It tells me that I don't have permission to download
Wayne
__________________
New setup 1-22
GIGABYTE B560 HD3 MB | Intel I5 6 core CPU | 500 GB WD SSD system drive | (2) 2TB Western Digital SSD drives pooled | 16 GB DDR ram | UHD 630 on board graphics| Win 10 64 bit | SageTV 9 | (5) Sage HD TV extenders | (1) HDHomeRun quad tuner HD OTA | (1) HDHomeRun Dual tuner HD OTA | (2) 1512 HD-PVR2s recording from 2 Dish Network VIP 211K's with Uirt ir control | MX-700 Home theater remote | 60" LED TV | (4) 32" Lcd TV's
Reply With Quote
  #3  
Old 04-22-2010, 06:10 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
I had the link posted incorrectly, Andy has fixed it so it should work now. Sorry about that.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #4  
Old 05-01-2010, 05:10 AM
Peter_h Peter_h is offline
Sage Fanatic
 
Join Date: May 2008
Location: Kailua, HI
Posts: 798
will this work with SageMC?
Reply With Quote
  #5  
Old 05-01-2010, 01:01 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Peter_h View Post
will this work with SageMC?
I doubt it. SageMC does not actually handle the Online Services, it loads the default STV to take care of that. It would be possible to make it work with SageMC but it probably will not work right now.

The Online Cleanup code is called when the application starts. When SageMC loads the default STV I do not think the application startup code gets called, hence the Online Cleanup code will not get called.

Tom
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #6  
Old 05-02-2010, 12:02 AM
Peter_h Peter_h is offline
Sage Fanatic
 
Join Date: May 2008
Location: Kailua, HI
Posts: 798
Bummer that it won't work with SageMC. Thanks anyway for your work on this.
Reply With Quote
Reply


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
STV Import: Malore Style Online Browser tmiranda SageTV Customizations 72 09-14-2010 08:52 AM
STV Import: Malore Style Online Browser tmiranda Customization Announcements 2 04-25-2010 05:19 AM
STV Import: Online Cleanup tmiranda Customization Announcements 0 04-18-2010 04:56 PM
STV Import: SageMC Enhancements (incuding Import Folder Fix in 6.2.x) twieder SageMC Custom Interface 59 05-06-2008 01:42 PM


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


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