|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
You're welcome The only way I know of is to add the GzipFilter as a filter to the web application's web.xml file. You can look at the mobile web interface's web.xml file to see how I did it there.
Unfortunately stuckless doesn't deliver a web.xml, just a context xml file and I don't think it can be set in there. If you're familiar with web applications you could use the mobile web interface as an example and create a war file for the remote apis that would only need a web.xml file (all the class files are in the sagex.jar file in the JARs folder so those don't need to be included in the war file). The context xml file would also need to be modified to deploy the war file (again, look at the mobile web interface for an example). Or maybe stuckless could do this for you but from what I understand he's very busy with the Phoenix project. There might be a way to set it up at the server level but I haven't found a way to do it. It might require some more custom programming in the plugin. Even if it is possible, it might be better to leave it up to each app's developer to decide whether to support compression. If you do manage to get the filter set up, remember that the HTTP request header 'Accept-Encoding' must include 'gzip'.
__________________
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. |
#22
|
|||
|
|||
Can someone please help me get this plugin working. I'm trying to install it so that I can use Sage Job Queue. How can I test that I have installed it correctly? When I try to access SJQ though IE8 I cannot get a connection. Should I use a different browser? I'm running Vista 64 bit and Sage 6.5.16
|
#23
|
||||
|
||||
I don't run IE8 so I can't test this myself. Here are some things to try:
__________________
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. Last edited by jreichen; 10-24-2009 at 09:07 AM. Reason: Change debug to debug_logging |
#24
|
|||
|
|||
Also be sure you didn't download the ssl version of SJQ. Or if you did, then make sure you've installed SSL support into Jetty properly. If you didn't setup SSL in Jetty then you can't use the ssl package of SJQ. You can tell if you've installed the SSL version by checking the browser's address bar - if it's always forwarding you to https://... even when trying to connect to http://... then you've installed the ssl version of SJQ.
__________________
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; 06-12-2009 at 07:12 AM. Reason: Explain how to check for ssl ver of sjq |
#25
|
|||
|
|||
I first tried instaling the non ssl version of SJQ. I then installed the ssl version. I also downloaded Firefox to see if a different browser would work. Once I generated a certificate it worked. Thanks for you suggestions and help.
|
#26
|
|||
|
|||
Can someone tell me how I can create a trusted SSL certificate for Jetty.
|
#27
|
|||
|
|||
trusted by FF or IE? you'd need to get one from a CA... or you can import the one you have and call it "trusted".
|
#28
|
|||
|
|||
wiki page down
The wiki link is bad.
Code:
404 Not Found (No handler matched request to /wiki/Jetty)
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#29
|
||||
|
||||
It looks like it's working again.
__________________
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. |
#30
|
||||
|
||||
Installed jetty and working (using http://localhost:8080/bmt) (per instructions) but before I installed I had nielm's web server working. After jetty install nielm's web server not working. I get
Quote:
Thanks.
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone' Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!! |
#31
|
|||
|
|||
Quote:
__________________
unRaid Server:Quad-Core Xenon, 20 GB Ram, openDCT/sageTV Dockers, HDHR,HDHR Prime Network Encoder:Dell Inspiron 1000 Laptop, 512MB Ram, Windows XP, HDPVR |
#32
|
||||
|
||||
Thanks!!! That was it.
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone' Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!! |
#33
|
||||
|
||||
Can't Connect
I'm trying out BMT for the first time, but can't seem to connect to jetty. I'm getting the following
HTML Code:
HTTP ERROR: 404 NOT_FOUND RequestURI=/bmt Powered by jetty://
__________________
Sage Server: SageTV v7.0.21WHS MB/CPU/RAM: Asus A8N5X NF4; Athlon64 X2 4200; 3GB RAM OS: WHS PP3 Capture: 1 x HDHR (Both tuning QAM); 1 x HD-PVR C2 (Component to Moto DCH-3200 - Channel change via Firewire); Extenders: 2 x STX-HD100; 1 x HD-300 (Panny G20 50" Plasma, Sony 32" LCD, Sammy 26 " LCD) |
#34
|
||||
|
||||
Have you checked the jetty/contexts/bmt.xml file? There is a known issue with it. See Sean's post for more.
__________________
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. |
#35
|
||||
|
||||
Quote:
Code:
I think that there is a bug in my jetty context file (jetty/contexts/bmt.xml). Edit the file and look for these lines and make sure both are set to true. EDIT: Fixed. I had an earlier version of BMT from another link in a post. Should have figured that was the problem from the get-go. Thanks for the help just the same.
__________________
Sage Server: SageTV v7.0.21WHS MB/CPU/RAM: Asus A8N5X NF4; Athlon64 X2 4200; 3GB RAM OS: WHS PP3 Capture: 1 x HDHR (Both tuning QAM); 1 x HD-PVR C2 (Component to Moto DCH-3200 - Channel change via Firewire); Extenders: 2 x STX-HD100; 1 x HD-300 (Panny G20 50" Plasma, Sony 32" LCD, Sammy 26 " LCD) Last edited by DOS64K; 06-27-2009 at 07:39 PM. |
#36
|
||||
|
||||
Jetty Starter Version 1.6
The Jetty Starter plugin version 1.6 has been released and can be downloaded here. This mainly has changes that can be adopted in future releases of web applications.
__________________
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. |
#37
|
||||
|
||||
For my setup, I have a Vista HTPC with SageTV installed as a service and do all my recordings. I also watch recordings and occasionally watch live tv or video files (from the media center) on what must be the "local client" (if I have that right).
I also have the SageTV client software installed on my Vista laptop for remote viewing over the network (my "remote client"). I have got Jetty 1.6 installed and working for the mobile web app and for the sagetweet plugin on the HTPC. However, I have noticed that neither of these plugins seem to be aware of the "local client" activities on the HTPC and certainly not aware of the "remote client". I have been told by that I need to install Jetty on both my local and remote clients and then add the plugins to those Jetty installations. However, I'm a little confused on how to do a separate installation on the "local client" since there can only be one jetty directory (I think) and one JettyStarter.properties in the SageTV directory. And even more confused on how to do one on the remote client where there isn't even a SageClient.properties file. Is it even possible to have separate Jetty installs? If so, would you be able to point me the right direction? Thanks! Last edited by darcilicious; 08-16-2009 at 01:54 AM. |
#38
|
||||
|
||||
It's been probably 3 years since I ran client and server on the same machine and I forgot about that setup when I created the Jetty plugin.
If I remember correctly, the client and server are installed in the same directory on Windows. If so, then right now it's not possible to run Jetty under both client and server from the same directory. I could change it to call a Sage API to check to see if Jetty is running in a client. If it is then I could do one of two things:
I don't think you'll need to worry about client and server both using the same SAGE_HOME/jetty folder. You can test that for me when I have it fixed You shouldn't have a problem running Jetty on your laptop. Just follow all the installation instructions on the wiki, except modify the load_at_startup_runnable_classes line in SageClient.properties not Sage.properties.
__________________
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. |
#39
|
||||
|
||||
darcilicious, I created a build of the Jetty plugin to allow it to run under both the client and server on the same machine. Would you mind testing it out? I don't have a client installation.
Follow the normal installation steps to get it running in the server. To run it in the client, modify the load_at_startup_runnable classes in SageClient.properties, then make a copy of JettyStarter.properties, name it JettyStarterClient.properties, and change the port in that file to something other than the existing port and nielm's web server's port. Download it from here.
__________________
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. |
#40
|
|||
|
|||
I am having a seemingly random issue...
I had JETTY installed once but I recently reinstalled my WHS box and now when installing JETTY, when I try to go to the web address for it, I get "invalid request". Any ideas? SageTV version is 6.6.1 and I am using the JETTY that comes in the current BMT package. |
Tags |
web |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? | Brent | SageTV Customizations | 8 | 02-24-2009 04:16 PM |
Plugin: MizookLCD | spook | SageTV Customizations | 2 | 08-12-2008 11:31 AM |
Caller ID Plugin | computer33 | SageTV Customizations | 1 | 04-20-2005 09:02 PM |