SageTV Community  

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

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-28-2017, 05:21 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Global Helpers

A while back Slugger wrote a bunch or helpers that were not included in the API - you can find the code here.

These allow you to do things like reboot, power off or on extenders,

Is this available within SageTV currently and if not how would I add these helpers?

Would it be possible for these to be added to the core API?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #2  
Old 01-30-2017, 01:45 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
These types of things could just be added as new Global API calls within the core directly....although you'd need to add other classes for handling the extender control and such (which is in that package as well I assume). The only tricky part is that generally we don't invoke the SageTV API from within SageTV...but the calls in there that reference API calls you should be able to unwind and replicate (or just invoke the SageTV API...which is possible, but I tried to avoid doing that from within the code unless it's strictly necessary since it makes exceptions harder to analyze).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
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
What is Global Alert Level? Rhinoguy SageTV Software 0 12-11-2014 02:17 AM
Global Comskip setting gerberdude SageTV v7 Customizations 0 02-08-2011 04:08 PM
Global Mute SoCoolCurt SageTV Customizations 0 10-11-2010 03:02 AM
Favorites global settings? Flash69 SageTV Software 1 01-05-2008 09:28 PM
DisplayIndex as a global variable? Crashless SageTV Studio 2 12-30-2007 11:01 AM


All times are GMT -6. The time now is 12:48 PM.


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