|
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 |
#121
|
|||
|
|||
Quote:
K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#122
|
|||
|
|||
Quote:
The only broken piece is apps/ Thank you!
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#123
|
|||
|
|||
Quote:
core-3.1.1.jar K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#124
|
|||
|
|||
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#125
|
|||
|
|||
Is there any way to add additional items to the Jetty web landing page? I have my own Groovy web page that works with Jetty, but I would like to put a link on the /apps landing page.
And for some reason I am getting weird a red and blue favicon.ico file for SageX on the /apps page. It looks like a red capital B within a blue square. Am I supposed to have this? When I copy the image link it gives me http://192.168.1.245/sagex/favicon.ico. All of my other favicons are correct, assuming that there should be an H in a green circle for the Swagger based API Docs.
__________________
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 |
#126
|
|||
|
|||
Quote:
The /apps application will use a default Jetty icon if it cannot load the favicon.ico file. The default is the Jetty icon which is a "J:". The swagger one you see is a "{}". As for adding your own apps. The /apps application will show all registered web apps that Jetty has loaded. Jetty polls the jetty/webapps folder on a regular basis and will load new apps it finds and then the /apps application will display it on a refresh. There are 2 types of webapps you can have in that folder. The common is a war file that is a standard for deploying webapps. The second option is a folder that is formatted like the inside structure of a war file (as info a war file is actually a zip file so you can rename one and unzip it to see it's contents and structure). Take a look at the apidocs folder to see how to structure a folder web app. Let me know if you have any other specific questions. K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#127
|
|||
|
|||
I notice that the link for SRE is "/livepvrdata/events.groovy" but when I look into the livepvrdata.war file, which does about 7 sub-directories deep, I don't see a groovy file.
Does that file get built dynamically when it is called, or how does that work? Does anyone know where the info is for Injecting your own items into the Web UI Menu? Slugger discusses it here: https://forums.sagetv.com/forums/sho...postcount=1244 But the google page where it was stored is gone. I though he uploaded his stuff to Sourceforge or github, but I can't find it. This is what is done to add SJQ to the web UI menu, if I remember correctly.
__________________
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 |
#128
|
|||
|
|||
Quote:
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#129
|
|||
|
|||
Awesome - thanks Keith! Found the Sourceforge page here: https://sourceforge.net/p/sagetv-add...in%20Web%20UI/
I guess this leads to the question of where do you put this web.menu file? It goes into the "defined resource path of installed pulgins only". I wonder where that is? The /jetty/ folder or maybe the /webserver/ folder. I think the webserver folder. I could swear that I tried this in the past, but I don't have that file on my current servers - it must have been a previous server. The actual code for the injected sjq menu items are in /webserver/sjq
__________________
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 |
#130
|
|||
|
|||
Quote:
<ResourcePath>plugins/sjq</ResourcePath> So to find the web.menu file for SJQ look in the SageTV root folder for a folder called plugins and then in that folder for a folder called sjq. Hope that helps. K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#131
|
|||
|
|||
I appear to be having errors with SRE. The livepvrdata SRE Jetty web page with the games generates ok, but I get the following in my sre.log:
Code:
2022-02-14 22:02:00,000 INFO : 965813/NBA Basketball: Fetching status with data: [NBA Basketball, Toronto Raptors at New Orleans Pelicans, 1644886800000] 2022-02-14 22:02:00,000 ERROR: 965813/NBA Basketball: IOError java.net.ConnectException: Connection refused (Connection refused) at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) at java.base/java.net.Socket.connect(Socket.java:591) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:220) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139) at com.google.code.livepvrdata4j.Client.getStatus(Client.java:98) at com.google.code.livepvrdata4j.Client$getStatus.call(Unknown Source) at com.google.code.sagetvaddons.sre.engine.MonitorTask.run(MonitorTask.groovy:110) at java.base/java.util.TimerThread.mainLoop(Timer.java:556) at java.base/java.util.TimerThread.run(Timer.java:506) 2022-02-14 22:02:00,000 WARN : 965813/NBA Basketball: Error from web service; safety measures already applied. 2022-02-14 22:02:00,000 INFO : 963500/NHL Hockey: Fetching status with data: [NHL Hockey, Toronto Maple Leafs at Seattle Kraken, 1644890400000] 2022-02-14 22:02:00,001 ERROR: 963500/NHL Hockey: IOError java.net.ConnectException: Connection refused (Connection refused) at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) at java.base/java.net.Socket.connect(Socket.java:591) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:220) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139) at com.google.code.livepvrdata4j.Client.getStatus(Client.java:98) at com.google.code.livepvrdata4j.Client$getStatus.call(Unknown Source) at com.google.code.sagetvaddons.sre.engine.MonitorTask.run(MonitorTask.groovy:110) at java.base/java.util.TimerThread.mainLoop(Timer.java:556) at java.base/java.util.TimerThread.run(Timer.java:506) 2022-02-14 22:02:00,001 WARN : 963500/NHL Hockey: Error from web service; safety measures already applied. 2022-02-14 22:04:00,000 INFO : 963500/NHL Hockey: Fetching status with data: [NHL Hockey, Toronto Maple Leafs at Seattle Kraken, 1644890400000] 2022-02-14 22:04:00,001 ERROR: 963500/NHL Hockey: IOError
__________________
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 |
#132
|
|||
|
|||
Quote:
K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#133
|
|||
|
|||
Will do, FYI - I think this same events were recorded on my old server with the old Jetty without any issues.
__________________
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 |
#134
|
||||
|
||||
mr. crashy-crashy here. whomever had the idea to throw away any JAR file dated before 2008 gets my sincerest thanks. that stopped my crashing!
now, for some reason I can't get the Sage Web Server to load. the apps page loads fine and it points to http://10.0.1.35:8090/sage/Home clicking that I get the following: Code:
HTTP ERROR 500 java.lang.NoClassDefFoundError: net/sf/sageplugins/sagexmlinfo/SageXmlWriter URI: /sage/Home STATUS: 500 MESSAGE: java.lang.NoClassDefFoundError: net/sf/sageplugins/sagexmlinfo/SageXmlWriter SERVLET: HomeServlet CAUSED BY: java.lang.NoClassDefFoundError: net/sf/sageplugins/sagexmlinfo/SageXmlWriter CAUSED BY: java.lang.ClassNotFoundException: net.sf.sageplugins.sagexmlinfo.SageXmlWriter Code:
HTTP ERROR 500 java.lang.NoClassDefFoundError: net/sf/sageplugins/sagexmlinfo/SageXmlWriter URI: /sage/RecordingSchedule STATUS: 500 MESSAGE: java.lang.NoClassDefFoundError: net/sf/sageplugins/sagexmlinfo/SageXmlWriter SERVLET: RecordingScheduleServlet CAUSED BY: java.lang.NoClassDefFoundError: net/sf/sageplugins/sagexmlinfo/SageXmlWriter CAUSED BY: java.lang.ClassNotFoundException: net.sf.sageplugins.sagexmlinfo.SageXmlWriter Any ideas? Edit: There are some other folders in jetty: etc, static and contexts. are they still used? I've also enclosed my jettystarter log. which I now notice has similar 500 errors. Edit2: Ha figured it out. Did some internetting for whatever the heck SageXMLWriter was and found it was tied to nielm_sagexmlinfo.jar, a jar I had removed earlier (it's from 2010). Put it back and voila. Last edited by phelme; 02-16-2022 at 06:44 PM. |
#135
|
|||
|
|||
This is so frustrating. The WEB UI was working fine until i updated Jetty and now it can't find the URL web page. here is the jetty starter log file.
__________________
- James M - Capture Devices: HDHomerunXTEND, HDHomerunPrime |
#136
|
|||
|
|||
Quote:
What do u get when u go to... HTTP://YOURIP:8080 You show get a list of apps. Also, post the list of files in your jars folder. K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#137
|
|||
|
|||
I created a new instance of SageTV on a different computer and installed Jetty and the WEBUI plugin, etc. Then i replaced the Jetty directory on my server with this new one and now Jetty works fine. It was easier this way rather than try to figure out what to delete.
__________________
- James M - Capture Devices: HDHomerunXTEND, HDHomerunPrime |
#138
|
|||
|
|||
Quote:
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#139
|
|||
|
|||
I don't use SageTV but I do use Jetty and SRE for use with NextPVR. Are there plans to update to a newer supported version since Jetty 9 losses general support in June? It seems a shame to go through this for a unsupported server.
|
#140
|
|||
|
|||
Quote:
I will consider updating jetty after I get a few other projects completed unless someone decides to take it on. K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Jetty Web Server 2.0 | jreichen | SageTV v7 Customizations | 389 | 06-19-2021 09:38 PM |
Jetty Web Server (status update) | stuckless | SageTV Github Development | 65 | 09-19-2016 08:34 AM |
Another Jetty Web Server issue | mlcarson | SageTV v9 Customizations | 2 | 09-19-2016 05:08 AM |
Jetty Web Server Issue | Ghildebr | SageTV v9 Customizations | 17 | 09-03-2016 09:52 AM |