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 08-15-2015, 09:11 PM
MrD MrD is offline
Sage Aficionado
 
Join Date: Feb 2005
Location: Washington DC
Posts: 387
SageTV Plugin Issues

Thought I would start a thread to capture plugin issues... if there is a better place for this feel free to move it.

Gemstone: The gemstone plugin downloads a lucene-core version 3.0.1 which usurps the v9 shipping lucene-core and causes Sage to get real angry and shutdown,
__________________
[size=1]-MrD
=============
Linux Server 7.1.9 (1)HD300 (1) HD200 (1) HD100 (2) PC Clients
Intel Xeon L? 32Gb
CetonTV cable card /FIOS
Reply With Quote
  #2  
Old 08-16-2015, 07:15 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
That's a good idea to keep track of the plugin issues. FYI, the gemstome issue is really a phoenix issue, and I need to fix the plugin for Sage9 to not depend on lucene. Your post jogged my memory.
Reply With Quote
  #3  
Old 08-16-2015, 08:39 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
That's a good idea to keep track of the plugin issues. FYI, the gemstome issue is really a phoenix issue, and I need to fix the plugin for Sage9 to not depend on lucene. Your post jogged my memory.
Are you going to have to separate out and make a new plugin entry for v9+ that just assumes lucene is available, since it's part of the 'core' now?
__________________
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
Reply With Quote
  #4  
Old 08-16-2015, 08:41 PM
MrD MrD is offline
Sage Aficionado
 
Join Date: Feb 2005
Location: Washington DC
Posts: 387
Funny... I was thinking the same thing; does the plugin system allow for versions of plugins pinned to a release of Sage?
__________________
[size=1]-MrD
=============
Linux Server 7.1.9 (1)HD300 (1) HD200 (1) HD100 (2) PC Clients
Intel Xeon L? 32Gb
CetonTV cable card /FIOS
Reply With Quote
  #5  
Old 08-16-2015, 09:06 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by MrD View Post
Funny... I was thinking the same thing; does the plugin system allow for versions of plugins pinned to a release of Sage?
Pretty sure it doesn't.. but it does offer min and max version limits, so if the old one is modified to max out at 7.1.9.256, and the new one require 9.0.0, it should be okay.
__________________
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
Reply With Quote
  #6  
Old 08-16-2015, 09:07 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Nope. The plugin manager only allows a single version (the most recent) to be available for installation. It will be tricky to deliver a version of a plugin that requires lucene plugin on v7 but not include it in v9. Off the top of my head, I'd think you'd have to convince the owner of the lucene plugin to upgrade to the same level as v9 core is using such that the lucene plugin just replaces the core's lucene jar with itself when the plugin is installed. This way v7 can still use the plugin and v9 core isn't blown up by a different version of the lucene jar. I'm assuming whatever plugin(s) are using lucene can use whatever version the v9 core is using. If that's not the case then I don't think there are many options; certainly nothing popping into my head.

These ideas are all just that, ideas, and are untried/untested/unproven.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #7  
Old 08-16-2015, 09:11 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by Fuzzy View Post
Pretty sure it doesn't.. but it does offer min and max version limits, so if the old one is modified to max out at 7.1.9.256, and the new one require 9.0.0, it should be okay.
Hmm... yeah, excellent point. My only thought on that is now you end up with two lucene plugins, which sets a possibly ugly precedent going forward. Especially because now whatever plugin(s) depend on lucene will also have to be duplicated... a version of the plugin for v7 and then another manifest for v9. Then plugins that depend on those plugins need to be duplicated and so on.

Maybe we need a new/separate/isolated plugin repo for v9 and leave v7's alone?
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #8  
Old 08-17-2015, 01:25 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Or instead of maintaining that lucene is part of the core, we make the core automatically install the lucene plugin (which would be updated to use the newest version)
__________________
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
Reply With Quote
  #9  
Old 08-17-2015, 07:27 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Yup, that sounds like the answer to me. Any jar not called Sage.jar should be a plugin and the core just auto installs/updates whatever plugins it needs at startup.

The only issue with this is if the plugins using the older lucene can't use the newer version then you're breaking v7 plugins to make them work for v9. That would be my only argument for a new plugin repo (new major release, new, isolated plugin repo does have some merit in my books).
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...

Last edited by Slugger; 08-17-2015 at 07:30 AM.
Reply With Quote
  #10  
Old 08-17-2015, 08:23 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
We'd have to check, but i doubt there is much change in the 2.0.4 (which i seem to recall the current lucene plugin uses) and the current one, at least for the calls the sage plugins are likely to use.
__________________
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
Reply With Quote
  #11  
Old 08-17-2015, 08:24 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I'm curious how many plugins actually use the lucene besides phoenix anyway.
__________________
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
Reply With Quote
  #12  
Old 08-17-2015, 08:34 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
I'm curious how many plugins actually use the lucene besides phoenix anyway.
I'm pretty sure it's just Phoenix... and if I recall it's only used in the MyMovies and DVDProfiler parts, and I'm doubtful that either of those 2 things are even used.
Reply With Quote
  #13  
Old 08-17-2015, 08:42 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Sounds like you've got some code to check... or deprecate...
__________________
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
Reply With Quote
  #14  
Old 08-17-2015, 01:22 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
I wouldn't be against somebody hacking code into the plugin manager in SageTV that deals with the lucene dependency differently in V9. It was after all a core change that disturbed the plugin system...so it should be accounted for in there.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #15  
Old 08-17-2015, 06:10 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Narflex View Post
I wouldn't be against somebody hacking code into the plugin manager in SageTV that deals with the lucene dependency differently in V9. It was after all a core change that disturbed the plugin system...so it should be accounted for in there.
Do you see any reason why core system files shouldn't be part of the plugin system as well? Even the sage.jar could have its own manifest, and the 'sagetv version' dependency changed to require a certain version of the sage core 'plugin'.
__________________
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
Reply With Quote
  #16  
Old 08-17-2015, 06:37 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
Do you see any reason why core system files shouldn't be part of the plugin system as well? Even the sage.jar could have its own manifest, and the 'sagetv version' dependency changed to require a certain version of the sage core 'plugin'.
I really like the idea of having Sage.jar as a plugin. This is where a lot of the changes will probably be made.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #17  
Old 08-18-2015, 08:13 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
Do you see any reason why core system files shouldn't be part of the plugin system as well? Even the sage.jar could have its own manifest, and the 'sagetv version' dependency changed to require a certain version of the sage core 'plugin'.
Quote:
Originally Posted by tmiranda View Post
I really like the idea of having Sage.jar as a plugin. This is where a lot of the changes will probably be made.
Personally I'm not a fan of have the SageTV Sage.jar has a plugin. I realize that this "might" appear to simplify updating the Sage.jar, but I think there are better ways to manage this, than adding Sage.jar as a plugin.
Reply With Quote
  #18  
Old 08-18-2015, 08:35 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by stuckless View Post
Personally I'm not a fan of have the SageTV Sage.jar has a plugin. I realize that this "might" appear to simplify updating the Sage.jar, but I think there are better ways to manage this, than adding Sage.jar as a plugin.
I'm certainly not the expert in this area and I am open to anything that will allow users to update the Sage.jar other than doing a complete reinstall.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #19  
Old 08-18-2015, 08:36 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
It wasn't so much as a method of 'simplifying' the update mechanism, but more of a method to centralize all the versioning into a similar system for all 'modules'. There also, currently, isn't any update available notification for the core sagetv program, and as far as I can recall, there never really has been one except for the forums. This would at least provide said notification. And really, it wouldn't be a manifest for sage.jar, but really for the whole sagetv core installation.
__________________
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
Reply With Quote
  #20  
Old 08-18-2015, 08:59 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
It wasn't so much as a method of 'simplifying' the update mechanism, but more of a method to centralize all the versioning into a similar system for all 'modules'. There also, currently, isn't any update available notification for the core sagetv program, and as far as I can recall, there never really has been one except for the forums. This would at least provide said notification. And really, it wouldn't be a manifest for sage.jar, but really for the whole sagetv core installation.
Yeah, still think it's the wrong approach. SageTV will tell you when there is an updated STV, and I think that having a built in notification/updater, is great, I just don't think it should be a plugin, nor for the core jar. If it is, a a user disables the plugin, then what? What if separate plugin jars into a different directory than core jars... Do we start adding "if Sage.jar" code to the plugin manager?? I can see taking parts of NON critical pieces of SageTV and making it a plugin, like the ir tuners, or specific driver implementations for certain hardware, etc, but not the core itself.

Again, it just sounds like you want a better update mechanism, and I agree with that.
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
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) cslatt SageTV Customizations 48 06-11-2012 10:44 AM
Plugin request for SageTV Windows Client: Autofrequency plugin mkanet SageTV v7 Customizations 3 11-12-2011 09:33 AM
SageTV Plugin Developers: Any way to see stats for your plugin? mkanet SageTV Software 4 12-12-2010 10:33 PM
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? Brent SageTV Customizations 8 02-24-2009 04:16 PM


All times are GMT -6. The time now is 05:51 PM.


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