|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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 Founder of SageTV |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |