SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development

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 02-16-2018, 06:38 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 6,576
sagex documentation error

A minor typo that most folks would realize but when you go to the sagex landing web page there is a typo where a & is displayed instead of a ? between api and command:

Url Format: /sagex/api&command=SAGE_COMMAND&1=arg1&2=...

This should read:
Url Format: /sagex/api?command=SAGE_COMMAND&1=arg1&2=...
__________________
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 02-17-2018, 04:59 AM
stuckless's Avatar
stuckless stuckless is online now
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
Good catch And it's done, and when I push out a new update, that documentation will be fixed as well.

I'm actually working on some sagex updates that I hope to be pushed out in a week or so.

I've added a Swagger / OpenAPI viewer for the API, which is just a better way of presenting the APIs. I've also enabled a CORS mode for the API.

There are also some related projects like a javascript wrapper for the APIs to make it easier to build web apps using the sagex apis. And I'm using this API in a possible BMT replacement that I'm in the process of prototyping.
Reply With Quote
  #3  
Old 02-17-2018, 08:24 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 6,576
Quote:
Originally Posted by stuckless View Post
There are also some related projects like a javascript wrapper for the APIs to make it easier to build web apps using the sagex apis. And I'm using this API in a possible BMT replacement that I'm in the process of prototyping.
That will be useful. It would also be useful to have a continuation of the functionality of SJQ where you can trigger actions based off of SageTV events like RecordingStarted, RecordingStopped, etc.

In one of his last revisions, Slugger added some functionality to the web server to allow you to build web pages in Groovy and servlet gsp pages. I have been playing around with that recently to create a web page to allow management of all clients that have ever been connected to the server, or at least the ones that are documented in the Sage.properties file.

Related to that - is there a way in the API to close/kill a miniclient - specifically a PlaceShifter miniclient? Or is this something that has to be done on the client side?

If you send a Power command to the UIContext it appears to put the miniclient in Standby mode and the screen saver kicks in. But I would like to terminate the SageTV PS application entirely.
__________________
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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
sagex api sflamm SageTV v9 Customizations 8 02-21-2017 12:42 AM
sagex help needed Skirge01 SageTV v7 Customizations 4 04-16-2016 07:46 PM
sagex-api Plugin MISSING: sagex-api-FAILED http://ubuntone.com/5NNCHGlywxvXBgRw8B3nMr antplugger SageTV v7 Customizations 10 06-10-2014 01:34 AM
Documentation error in GetAiringForID GKusnick SageTV Studio 1 12-18-2006 01:47 PM


All times are GMT -6. The time now is 05:23 AM.


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