|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1181
|
|||
|
|||
Yup, commenting out those two lines got it working again.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1182
|
|||
|
|||
Great. I've updated the download with the fix. You can find it at the usual release section in my github link.
It'll log "no PeopleListInShow data" to the BMT log. I am curious to know whether this is one or two shows or many.
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. |
#1183
|
|||
|
|||
Are you sure this wasn't from an API change going from STV7 to STV9?
IIRC, STV9 is doing a bit more with the cast/crew list than STV7 did. That extra data may have been throwing the error. |
#1184
|
|||
|
|||
I am running v9.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1185
|
|||
|
|||
http://sagetv.com/api/sage/api/ShowA...how(sage.Show)
Is still a valid SageTV9 API, it returns an array, and according to the API docs, it's been implemented since 5.1, so I guess it isn't supposed to have changed? |
#1186
|
|||
|
|||
Quote:
I am still running the classic v7 on my Windows box. Been a little busy lately so haven't monitored the v9 development closely. Based on the error the field does not contain any data. Does the v9 improvement change how the data is stored in the field? Or moved it to a new field?
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. |
#1187
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1188
|
||||
|
||||
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 |
#1189
|
||||
|
||||
I just checked sagex-api... and it shows this api as returning a String[]
https://github.com/stuckless/sagetv-...wAPI.java#L559 But in V9 it's returning a Person object. sagex-api definately needs to be updated for v9
__________________
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 |
#1190
|
|||
|
|||
Quote:
|
#1191
|
||||
|
||||
There was another instance of a Person being returned instead of a string that was affecting the web UI's favorites view as well, I believe.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#1192
|
||||
|
||||
Quote:
Quote:
Or, if I don't set a min sagetv version, then sagetv 7 users would get a version of sagex that is not compatible (on some apis) with Sage 7.
__________________
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 |
#1193
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1194
|
||||
|
||||
They can, but it won't help here... since sagex-api is a jar file, that has Java signatures that you compile against. So, while I can know that you are on sagetv7 (at runtime), I can't change the signature of the Java Method at runtime. (The only way to do that would be to return Object, and then the user would have to check if it's an instance of String[] or Persion[], etc,)
__________________
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 |
#1195
|
|||
|
|||
Quote:
I guess there could be a way to implement the above as a new feature in 9, but setting it up to be transparent to 7 would likely be painful. |
#1196
|
||||
|
||||
I've fixed this specific problem relating to the change of the return type in the API. I didn't think this was going to cause a problem because the toString() method of the Person object was returning the same value as before and it would all have been handled automatically in the STVs internal parsing code...but I forgot about other external usages that did their own casting.
I have reverted the previously existing API calls to return String[] again; and added new ones GetPersonListInShow, GetPersonListInShowInRole and GetPersonListInShowInRoles that return Person[] instead. I also updated the SageTV7.xml STV to use the Person[] variants because it already handled that. Version 9.0.3 is now on GitHub with these changes and the API docs on the site have been updated as well.
__________________
Jeffrey Kardatzke Founder of SageTV |
#1197
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#1198
|
|||
|
|||
I was wondering if there were plans to add two way syncing of watched status? Right now, Plex can get the watched position from Sage and it works great. It would be nice if Sage could get the watched position from Plex too. That way everything stays in sync regardless of where it is played.
Not sure how complicated this would be to do though. |
#1199
|
||||
|
||||
There were plans at one point to add this but it is more difficult than you would expect based on the way that plex library works.
Brian and I never got it to fully work, and there is actually some stubbed out code in there for it. |
#1200
|
|||
|
|||
Quote:
On my initial rewrite back in 3/2015, it only sets the watch status, same as the Google code version from Pix64. Fuzzy mentioned syncing as a nice to have, and I looked into it and made it working one way (sage -> plex) during import. I started with a standalone sageplex_sync tool, and ported the working code into the agent so it sets resume position as well as watch status during import. This was around end of 4/2015 as you can see from the release note in the download link. The API on the PLEX side to set watch/sync status is driven entirely by HTTP request. You can see how it is used in the plexapi.py file: https://github.com/ai7/sagetv-for-pl...lex/plexapi.py The sync tool contains some additional code on listing plex library section and obtain media-id for a given show to send to those APIs, etc. The next task is to make the sync two way by setting resume position in Sage TV. Unfortunately I never got around to do much about this due to lack of time and summer break. My thought at the time was to extend the plex.js sagex plugin to support setting watch status and resume position via HTTP request, and use this in the sync tool. It's doable, and should not be too difficult. Just need to look into SageTV API and figure out how to extend the sagex plugin to set resume position, and most important, find some free time. PiX64, who is Brian? Is he still active on SageTV forum?
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comparing to Plex | heffneil | Batch Metadata Tools | 20 | 01-08-2012 04:54 PM |
Need help with SJQv4 remote agent | coppit | SageTV v7 Customizations | 4 | 12-19-2010 11:03 AM |
Plex in a TV? What about sage? | rwc | General Discussion | 9 | 09-05-2010 04:38 PM |
Possible to get SageTV to handle my library more like Plex? | DAMAC | SageTV Mac Edition | 0 | 06-10-2009 10:33 AM |
SagetTVService Virus Win32.Agent.dwo | Ponchera | SageTV Software | 6 | 02-04-2008 06:33 PM |