SageTV Community  

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

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-08-2016, 07:54 AM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
check for upcoming recordings through API or some other way?

I'd like to restart SageTV sometime in the middle of the night but only if Sage is not currently recording and no upcoming recording(s) are about to start.
Has anyone else tried this?

I have a very large imported videos library and use 4 extenders. Every day or 2 SageTV uses a lot of memory and it makes it sluggish. Also the scan sometimes does not show all my imports which pisses off my wife. A restart of the SageTV application is usually required at this point. I'm hoping I can automate this somehow...
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #2  
Old 11-08-2016, 09:52 AM
CollegeProject CollegeProject is offline
Sage Advanced User
 
Join Date: Aug 2016
Location: USA
Posts: 119
Quote:
Originally Posted by dvd_maniac View Post
I'd like to restart SageTV sometime in the middle of the night but only if Sage is not currently recording and no upcoming recording(s) are about to start.
Has anyone else tried this?

I have a very large imported videos library and use 4 extenders. Every day or 2 SageTV uses a lot of memory and it makes it sluggish. Also the scan sometimes does not show all my imports which pisses off my wife. A restart of the SageTV application is usually required at this point. I'm hoping I can automate this somehow...
You could use the sagex remote services web api to perform the checks you need to see if anything scheduled.
Reply With Quote
  #3  
Old 11-08-2016, 10:00 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
The commercial detector plugin has the ability to check this kind of thing before starting a comskip job. You could look at it and see how it's doing things.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
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
No upcoming recordings? NoodleNT SageTV Software 15 06-14-2014 09:41 AM
Upcoming recordings NoodleNT SageTV v7 Customizations 4 09-23-2011 08:06 PM
Upcoming Recordings chadwolcott SageTV Customizations 2 01-31-2006 11:20 AM
Upcoming Recordings mightyt SageTV Customizations 1 12-21-2005 10:48 PM
Upcoming Recordings Bug? mightyt SageTV Customizations 17 11-02-2005 09:22 AM


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


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