|
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 |
#321
|
|||
|
|||
Please bear with me. I'm new to Java EE development.
Is there documentation somewhere to get the development environment set up? I have the JDK, Eclipse, and Tomcat set up. I'm getting IDE errors relating to servlets as well as the SageApi. There doesn't seem to be a Targeted Runtime option in the project properties or am I barking up the wrong tree with Tomcat?
__________________
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 |
#322
|
|||
|
|||
Never mind, figured it out. Less of a n00b now.
__________________
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 |
#323
|
||||
|
||||
No problem. For anyone who comes along later... Tomcat is not needed. Jetty is the web server. You also need to copy the Sage jar file from your SageTV installation into the classpath in your IDE.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#324
|
|||
|
|||
Yeah, I figured out that I had to create the SAGE_JAR and SAGELIB variables.
__________________
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 |
#325
|
|||
|
|||
For anyone who is interested here is the css fix for the squared corners on hover over epg cells. Quite annoying looking when the corner radius gets all screwed up just by hovering over something. Works on IE, Edge, Chrome, and Firefox.
Just remove the .txt from the end and replace the file in the jetty folder structure and in the war file. Edited: Forgive me. I noticed a bug in search results that caused the same issue. Now corrected the apparent redundancy in the css that was causing issue.
__________________
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 Last edited by Taddeusz; 12-10-2015 at 04:30 PM. |
#326
|
|||
|
|||
I have a question. I'm trying to build/export the webserver JAR file. When I try to use the webserver.jardesc it says the main class is not valid. It doesn't like net.sf.sageplugins.webserver.Version. It says it's not included or does not have a main method.
What could I be doing wrong?
__________________
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 |
#327
|
||||
|
||||
I was using a program that used wget to obtain information from the Web UI running on my SageTV server called media-pc. Something like this:
Code:
wget "http://sage:frey@media-pc:8080/sage/Recordings?xml=yes" -O test.xml Code:
wget -4 "http://sage:frey@media-pc:8080/sage/Recordings?xml=yes" -O test.xml Minor bug report/feature request: The WebUI's XML results returned above do not include information about which tuner encoded any particular recording. I think I've figured out how to scrape that information from one of the html pages. Still working on it. (Useful information if you have automated file conversions set up with different parameters depending on the encoder.) The WebUI and wget are a powerful combination for anybody who wants to get information from Wiz.bin or otherwise interact with SageTV and has no idea how to use the Sage API(s) actually intended for this purpose. |
#328
|
||||
|
||||
I had everything working fine with Sage 7, running in Windows 7 with Java 8. When I updated the PC to Windows 10, I can no longer get a page back when I connect to Sage. There is no error in the web browser and I don't see any new errors in the log file. Does anyone have this working in Windows 10?
__________________
Server: i5-2405S (4 core @ 2.5 GHz), 8GB RAM, NORCO RPC-4220 4U case Tuners: 2 SiliconDust HDHomeRun , 2 Hauppauge HD-PVR Connected to 1 Pace700X and 1 TiVo Series 4 DVD Storage: 24 TB TV Storage: 11 TB (4x1.5TB for recording, 5TB for archive) Clients: 3 SageTV Extenders:5 |
#329
|
|||
|
|||
I am betting it is a Java issue - have you tried rolling back to 7?
__________________
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 |
#330
|
||||
|
||||
Since that version has reached end of life, I'd rather not do that. I may do some mucking around with the firewall. I remember seeing it pop-up some warnings with Plex after the update.
__________________
Server: i5-2405S (4 core @ 2.5 GHz), 8GB RAM, NORCO RPC-4220 4U case Tuners: 2 SiliconDust HDHomeRun , 2 Hauppauge HD-PVR Connected to 1 Pace700X and 1 TiVo Series 4 DVD Storage: 24 TB TV Storage: 11 TB (4x1.5TB for recording, 5TB for archive) Clients: 3 SageTV Extenders:5 |
#331
|
|||
|
|||
The Windows installer for SageTV V9 that jusjoken is working on explicitly installs Java 7. If I remember correctly I believe the issue is that version of Jetty used with the web server doesn't work with Java 8.
__________________
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 |
#332
|
||||
|
||||
Quote:
I am holding off updating to SageTV 9 for now. Once it gets a bit more stable, I'll move over.
__________________
Server: i5-2405S (4 core @ 2.5 GHz), 8GB RAM, NORCO RPC-4220 4U case Tuners: 2 SiliconDust HDHomeRun , 2 Hauppauge HD-PVR Connected to 1 Pace700X and 1 TiVo Series 4 DVD Storage: 24 TB TV Storage: 11 TB (4x1.5TB for recording, 5TB for archive) Clients: 3 SageTV Extenders:5 |
#333
|
|||
|
|||
It works for some without issue, it is "quirky" for a few others, most other users seem to only encounter pain when they try it with Java8. So based on feedback from other posters, I will no longer claim it won't work with v8, it might. But the typical experience is it usually doesn't.
|
#334
|
||||
|
||||
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 |
#335
|
|||
|
|||
I had a machine act weird on me when updating to 10. Had to reinstall VS2015, I think. I also added the web server to someones machine the other day, and SageTV stopped, but then started again. I forget what he needed to do to get it running. Will ask at lunch.
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200) Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200) |
#336
|
|||
|
|||
OK, ask my friend, and he did have to roll back to JAVA 7 to get the web interface running under Windows 10. All my servers still use 1.7.
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200) Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200) |
#337
|
||||
|
||||
I discovered that Win 10 installs an HTTP service. In order to free up port 80, I had to do the following from an administrator command prompt:
net stop http /y Once that was done, Sage was able to create the server connection.
__________________
Server: i5-2405S (4 core @ 2.5 GHz), 8GB RAM, NORCO RPC-4220 4U case Tuners: 2 SiliconDust HDHomeRun , 2 Hauppauge HD-PVR Connected to 1 Pace700X and 1 TiVo Series 4 DVD Storage: 24 TB TV Storage: 11 TB (4x1.5TB for recording, 5TB for archive) Clients: 3 SageTV Extenders:5 |
#338
|
|||
|
|||
I don't see a service called http running on my Win 10 PCs - I have generally run all of my Sage/Jetty stuff through port 8080.
__________________
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 |
#339
|
||||
|
||||
Quote:
- Shut down Sage - Open a command prompt with administrator privileges. - From the command prompt, type 'netstat-a' and look to see if a process is using your desired port. I had a process listening on port 80. With my current Sage,configuration, I am able to run Java 8 and still have the SageTV web server work correctly.
__________________
Server: i5-2405S (4 core @ 2.5 GHz), 8GB RAM, NORCO RPC-4220 4U case Tuners: 2 SiliconDust HDHomeRun , 2 Hauppauge HD-PVR Connected to 1 Pace700X and 1 TiVo Series 4 DVD Storage: 24 TB TV Storage: 11 TB (4x1.5TB for recording, 5TB for archive) Clients: 3 SageTV Extenders:5 |
#340
|
|||
|
|||
I've noticed with the latest version of Chrome, v48, that the menus no longer open when hovered over. You must now click to open the menus. At least they still work. Just noticed the change in behavior.
__________________
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: SageTV Web Interface V2 for Jetty | jreichen | SageTV Customizations | 256 | 02-09-2014 08:05 AM |
Plugin: Mobile Web Interface 1.2 | jreichen | SageTV Customizations | 281 | 06-17-2011 02:20 PM |
Plugin: Sage Web Lite (SWL) | Slugger | SageTV Customizations | 28 | 04-23-2009 01:32 PM |
Web Plugin RSS feed question | matt91 | SageTV Customizations | 1 | 07-28-2006 11:24 AM |
error message with web server plugin | edgley | SageTV Customizations | 3 | 01-15-2006 11:32 AM |