|
SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
sagex-api / sagex-services v9.1.7.0
I released a new version of the sagex apis, updated to reflect the current apis in SageTV V9.1.7
This release fixes a memory leak in the RMI remote apis, and fixes that leak, but no long caching anything on the server. So from here on the remote apis are completely stateless. I also removed a bunch of RPC connectivity options that have been deprecated since v7, and they are now removed. This likely doesn't affect anyone, since most people use either the RMI apis or the /sagex/api REST endpoint. sagex-service deploys an Open API browser (Swagger UI) for viewing and interacting with the /sagex/api REST apis. This is a work in progress, but it's fairly functional. You can access it from the jetty server using the following path /apidocs/ Related to the /sagex/api REST apis, I'm also working on a set JavaScript wrappers for the REST apis. https://github.com/stuckless/sagetv-js-api This js-api is a work in progress and I don't recommend people use it, yet, but just letting people know that this is coming, and it aims to make it easier to develop web applications that integrate with SageTV. I'm currently building it out while prototyping a web ui using React + Bootstrap.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#2
|
|||
|
|||
The "apis in SageTV V9.1.7" may be why I can't get them to install on my SageTV machines. They say "Compatible= NO".
The Plugin details says that it has been brought up to SageTV V9 and I have V9.1.6.747 on both of my machines. I'm guessing that because I'm not on 9.1.7 is why they are showing as incompatible? Actually that is why I came to the forums today, to see if there was a newer version of SageTV for Windows than what I am running.
__________________
Wayne Dunham |
#3
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
||||
|
||||
Very cool.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#5
|
|||
|
|||
Warning for SJQ users
Note if you still use the (incomparably useful) SJQ, this update breaks it. You'll need to copy the sagex-api.jar file from your SageTV JARs folder to your sjqagent lib folder to restore operation. Unfortunately I did not discover this until after my SJQ filecleaner process ran, irrevocably deleting each and every one of my EDL and closed caption files for thousands of recordings (since it thought the media file was gone)...
__________________
Andrew |
#6
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
||||
|
||||
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#8
|
|||
|
|||
Quote:
Maybe there are other variables which impact what behavior the update causes, I wouldn't be surprised. I just know what I was seeing, and that updating the sagex-api jar in the SJQ client lib folder restored normal functionality. Probably would be a good idea to update this jar even if you *aren't* having problems right now, as there is no mechanism to automatically update this library and over time it will grow further out of sync with Sage. Regarding my personal loss of files, I was able to restore about 80% of what I lost using my parity-based file recovery system (snapraid). For the remaining 1500 or so lost files...oh well, guess I'm stuck watching the commercials and missing the CC, at least for the ones I already compressed (which was most of them). Need to get in and tweak the task to abort and issue an alert if it would delete more than 100 files or something (once I remember how to do that, haven't messed with my tasks in years).
__________________
Andrew |
#9
|
|||
|
|||
Quote:
In my instance the sjq-agent folder on my server is \\server\appdata\sagetv\server\plugins\sjq-agent (I am on unRAID) - assuming that I have the correct folder. This folder currently only contains two directories - conf and logs. So I copy the sagex-api.jar file do this folder so that it is the only file (other than the dirs) in this folder? I also run a sjq client remotely on a separate Win10 PC. On that PC I have a c:\sjqagent folder that contains a bunch of directories - bin, conf, engines, lib and logs. In the lib directory there is an existing sagex-api.jar file. In my instance this file is dated 6/11/2011. Do I need to update anything on the server or just on the remote client Win PC? And if it is the later then do I have to restart anything after doing this copy?
__________________
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 |
#10
|
||||
|
||||
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#11
|
|||
|
|||
Quote:
I have a linux client as well, but it is not unraid (and not my Sage server), so it does have a lib folder under the sjqagent folder where the jar needed updated. It sounds like your setup there might be similar to EnterNoEscape's, in which case you probably don't need to do anything beyond updating the Sage plug-in.
__________________
Andrew |
#12
|
||||
|
||||
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sagex api | sflamm | SageTV v9 Customizations | 8 | 02-21-2017 12:42 AM |
sagex-api Plugin MISSING: sagex-api-FAILED http://ubuntone.com/5NNCHGlywxvXBgRw8B3nMr | antplugger | SageTV v7 Customizations | 10 | 06-10-2014 01:34 AM |
sagex-api - how can I tell if it works? | gveres | SageTV v7 Customizations | 2 | 01-27-2012 10:56 PM |