SageTV Community  

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

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-04-2006, 03:49 PM
korben_dallas's Avatar
korben_dallas korben_dallas is offline
Sage Icon
 
Join Date: Oct 2004
Location: USA
Posts: 1,250
Question External recovery service/app

Due to my recent nightmare with SageTV (read here), I'd like to know if there is any way to poll SageTV to see if it is active and working properly. Is there an api that an external Java or Python application/service could use to check the status of SageTV?

Some things I think it would need to check:
Is SageTV on? (service or application)
Does SageTV respond to a "hello"? (for lack of a better term)
Is SageTV getting an EPG update? If so, how long has it been working on the update?
Is SageTV recording? If so, what is it recording and how long has it been recording?

If the status came back negative, the external app could taskkill SageTV.exe or netstop the SageTVservice. Then wait a few minutes, and restart it. It would keep track of this restart and then check SageTV again. If it failed again, then it could reboot the computer altogether and perhaps send an email/text msg to a cell phone.
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming
Reply With Quote
  #2  
Old 03-04-2006, 04:30 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Well firstly, there's the automated service recovery that can be enabled from the service control app.

To answer your question though:
http://forums.sage.tv/forums/downloa...?do=file&id=27
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


All times are GMT -6. The time now is 07:37 PM.


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