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
  #21  
Old 01-19-2017, 01:56 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Luckily, the lucene issue isn't as significant on the linux side, as there are very few potential upgraders from v7 linux to v9 linux.
__________________
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
  #22  
Old 01-28-2017, 11:58 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by stuckless View Post
That will work. Java does search the classpath in order, which is why I said it would a nice future enhancement to separate the jars and put the sage system ones in a separate folder. But yeah, we could add lucene (and the other sagetv core jars) explicitly to the start of the classpath. Also if we do this change, I'd like to see "." removed from the classpath... I'm not sure why it gets added, but, it caused me some grief some months ago

I assume you are still volunteering to do this
So we have discovered that at least one plugin broke because of this change. I don't think it will be a big deal for Tom to address this, but it makes me wonder if anything else is now broken.

https://forums.sagetv.com/forums/sho...&postcount=531

I'm not arguing to change it back, but there might have been a reason why it was done that way before that we will discover eventually.
__________________
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
Reply With Quote
  #23  
Old 01-28-2017, 01:30 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by EnterNoEscape View Post
So we have discovered that at least one plugin broke because of this change. I don't think it will be a big deal for Tom to address this, but it makes me wonder if anything else is now broken.

https://forums.sagetv.com/forums/sho...&postcount=531

I'm not arguing to change it back, but there might have been a reason why it was done that way before that we will discover eventually.
I'd prefer to leave it out... since adding . to the classpath (especially in sagetv can really slow things down, especially for things that search the classpath).

I also encountered an endless loop condition when testing Tomcat as an embedded server, because of the "." in the classpath.

In general practice I don't think that adding "." is a good design... I think I'd rather find/fix the issues as they come up. If we get to a critical mass where more things are not working than working... I'd likely change my mind
Reply With Quote
  #24  
Old 01-28-2017, 01:34 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by EnterNoEscape View Post
So we have discovered that at least one plugin broke because of this change. I don't think it will be a big deal for Tom to address this, but it makes me wonder if anything else is now broken.

https://forums.sagetv.com/forums/sho...&postcount=531

I'm not arguing to change it back, but there might have been a reason why it was done that way before that we will discover eventually.
This will break several of my plugins.
__________________

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
  #25  
Old 01-28-2017, 02:25 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by stuckless View Post
I'd prefer to leave it out... since adding . to the classpath (especially in sagetv can really slow things down, especially for things that search the classpath).

I also encountered an endless loop condition when testing Tomcat as an embedded server, because of the "." in the classpath.

In general practice I don't think that adding "." is a good design... I think I'd rather find/fix the issues as they come up. If we get to a critical mass where more things are not working than working... I'd likely change my mind
I find it odd that the JVM doesn't just expand the classpath to the absolute path of the files. In my mind if you're in the directory /opt/sagetv/server, ./folder, folder and /opt/sagetv/server/folder resolve to the same thing. I find it odd that this somehow influences where the JAR thinks it current path is.
__________________
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
Reply With Quote
  #26  
Old 01-28-2017, 05:53 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by EnterNoEscape View Post
I find it odd that the JVM doesn't just expand the classpath to the absolute path of the files. In my mind if you're in the directory /opt/sagetv/server, ./folder, folder and /opt/sagetv/server/folder resolve to the same thing. I find it odd that this somehow influences where the JAR thinks it current path is.
Not sure I understand. The "jar" doesn't have a conscept of current working directory, but, it may if you add "." to it. Not sure if my response in the other thread covered it not, but basically. getResource() searches each entry in the classpath, independently, sort of treating each entry as a separate entity (as it should).
Reply With Quote
  #27  
Old 01-28-2017, 07:13 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by stuckless View Post
Not sure I understand. The "jar" doesn't have a conscept of current working directory, but, it may if you add "." to it. Not sure if my response in the other thread covered it not, but basically. getResource() searches each entry in the classpath, independently, sort of treating each entry as a separate entity (as it should).
It might just be a small misunderstanding on my part about how the classpath works.
__________________
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
Reply With Quote
  #28  
Old 01-28-2017, 07:38 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
So the questions is... since tmiranda is the author of several crazy valuable plugins like commercial detector... do these now work or are broken? (would like to know before I update...
Reply With Quote
  #29  
Old 01-28-2017, 07:44 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by sflamm View Post
So the questions is... since tmiranda is the author of several crazy valuable plugins like commercial detector... do these now work or are broken? (would like to know before I update...
CommercialDetector works fine.
YouTube is broken but I have the fix and will update the plugin tomorrow.
If anything else breaks I'll fix it ASAP.
__________________

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
  #30  
Old 01-28-2017, 07:54 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
as always - thanks for the quick response and contributions!
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
lucene core clarification bmac.to SageTV Github Development 3 02-22-2016 11:53 AM
What is the state of the art in automatic commercial removal? pi314 SageTV Customizations 2 08-22-2008 05:29 AM
Automatic DivX Encoding and Automatic Commercial Removal? TurboRX-7 SageTV Customizations 3 07-28-2005 09:00 PM
Automatic File Transfer - Not Sage Specific DynamoBen Hardware Support 6 03-17-2005 12:32 PM
Req: Automatic backup copies of Sage.properties file? laurenglenn SageTV Beta Test Software 3 04-23-2003 02:02 PM


All times are GMT -6. The time now is 12:48 PM.


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