|
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 |
#1
|
||||
|
||||
Plugin: Jetty Starter 1.6
The Jetty Starter plugin provides integration of the Jetty web server within SageTV. It enables running one web server engine inside the SageTV process that can host multiple web applications.
The first application written to run in Jetty was the mobile web interface. Early support for this plugin was provided in the thread that requested the mobile web interface. A separate thread is now being created here to support developers who are writing other applications to run in Jetty. See the download page and wiki for more information including installation instructions. Source code is available on SourceForge. Please Note: any questions regarding the upgrade of the Jetty plugin from SageTV V6 to SageTV V7 should be posted in the thread over in the SageTV V7 Customizations forum. Questions regarding Jetty 2.0, which adopts the SageTV V7 Plugin Manager, should be posted to its thread, also in the SageTV V7 Customizations forum.
__________________
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; 05-28-2010 at 10:31 PM. |
#2
|
|||
|
|||
Linky for download has an extra http...
Thanks again for your work on this!
__________________
-Jason |
#3
|
||||
|
||||
Fixed. Thanks!
__________________
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. |
#4
|
||||
|
||||
Since each application must have a unique context root, I created a wiki page to track them.
__________________
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. |
#5
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#6
|
|||
|
|||
text/properties files have no line breaks
Hi- I'm fairly new to the world of sagetv and was playing around trying to install jetty starter. I'm not sure if this is something I'm doing wrong or not, so I figured I ask.
The JettyStarter.properties file and realm.properties files that I downloaded don't seem to have any line breaks in them. I also checked the license text files, and it seem to be the same thing. Is there something wrong with the files, or am I doing something wrong? Thanks |
#7
|
||||
|
||||
jreichen probably created them in linux. They should still work fine. you can try to edit them with wordpad instead of notepad, since wordpad support unix line feeds.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#8
|
|||
|
|||
That worked! Thanks for the quick reply. I knew it was probably something simple like that, but I got nervous editing a file that lacked any -visible- formatting.
Thanks! Last edited by beerandt; 12-06-2008 at 04:22 PM. |
#9
|
||||
|
||||
stuckless is right, I use Linux. I modified the build script so the build process will convert the line feeds to Windows format starting with the next release. The web server will work either way but it's easier for Windows users to read and edit the files if the line feeds are in Windows format.
__________________
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. |
#10
|
|||
|
|||
How to add root context?
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#11
|
||||
|
||||
Do you mean Serving other files with Sage Web Server, but with the Jetty server rather than nielm's web server?
I'm not positive, but I don't remember nielm's using a servlet, so it's probably down in the server code, meaning I can't just configure a reference to a servlet of his (that probably wouldn't work in the root context anyway). I think you can put files in the jetty/webapps folder and serve them up, but in order to point to somewhere else on the file system, I'd have to research how Jetty handles the root context and override it.
__________________
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. |
#12
|
|||
|
|||
Specifically, I am having issues with serving http://server/crossdomain.xml. I am getting a 404. The file is in webapps and in /remote as well. I am not familiar enough with Jetty to understand the syntaxing, but a quick trip to Google with "jetty crossdomain.xml" does turn up some hits. It's not for Jetty though, some variant of it.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#13
|
||||
|
||||
I have the same problem but haven't found a fix today. I'll put it on my todo list.
__________________
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. |
#14
|
||||
|
||||
The Jetty Plugin version 1.5 has been released and can be downloaded here. This addresses bcjenkins' crossdomain.xml file issue as well as a couple other things.
Jason EDIT: Added download link.
__________________
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. |
#15
|
|||
|
|||
danke
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#16
|
||||
|
||||
I just spent the past 3 days trying to figure out how I hosed my Jetty installation on my WHS box and believe I've finally figure out the cause: IE8. I uninstalled and reinstalled everything I could possibly think of and then decided to remove IE8 and it's associated single update and now things are right back to where they were: working!
Basically, I could no longer connect to SJQ's interface, the Mobile Web Interface, or even nielm's Webserver. The Webserver issue could very well mean it's not only Jetty or that I managed to break it during my Jetty troubleshooting. So, take that part for what it's worth. I also had issues getting the SJQTaskClient service to stay running while IE8 was installed. I was getting "error code 1" messages. Has anyone else noticed something similar? I'm not pointing a finger at Jetty or even at Microsoft at this point, but wanted to see if anyone else noticed anything that might help pinpoint the issue or a possible remedy (other than uninstalling IE8--not that I wanted it in the first place). |
#17
|
||||
|
||||
By the lack of responses, I guess I'm the only idiot who installed IE8.
In case anyone else tries to uninstall IE8, you may wind up with the following Windows Event errors: Code:
Source: Userenv TimeGenerated: 5/5/2009 1:50:45 PM InstanceId: 3221226513 Catagory: (0) CatagoryNumber: 0 EntryType: Error Message: Windows cannot query DllName registry entry for {7B849a69-220F-451E-B3FE-2CB811AF94AE} and it will not be loaded. This is most likely caused by a faulty registration. ---- Source: Userenv TimeGenerated: 5/5/2009 1:50:45 PM InstanceId: 3221226513 Catagory: (0) CatagoryNumber: 0 EntryType: Error Message: Windows cannot query DllName registry entry for {CF7639F3-ABA2-41DB-97F2-81E2C5DBFC5D} and it will not be loaded. This is most likely caused by a faulty registration. |
#18
|
||||
|
||||
Is IE8 really a barrier to getting this working? I'm running Neil's Web Interface without problems using IE8 but can't seem to get Jetty working. It won't run in Chrome or Firefox either. I find it hard to believe the browser makes a difference at the OS.
[Edit] Never mind. This is working fine with IE8. I was going to the wrong URL. I'm pretty sure IE8 didn't have anything to do with Skirge01's problem.
__________________
Currently using SageTV Media Center Server on Windows 7, SageTV Client as an HTPC on Windows 7, and an HD Theater HD200. The server controls 3 Motorola DCH-3200 cable boxes and 3 Hauppauge HD-PVRs (all Rev F1) with HD audio and changes channels via firewire WITH NO LOCKUPS. It's awesome. 4 Steps to Perfect Stutter Free Playback for SageTV Quick Guide: How to Bitstream Audio in Windows 7 Last edited by GollyJer; 05-25-2009 at 10:35 AM. |
#19
|
||||
|
||||
If that's the case, then I sure would like to know what caused the issue. As far as I can recall, my WHS box had no other changes, except for installing IE8 on it and that's when it stopped working. I uninstalled IE8 and Jetty worked again. I really have no need for IE8 on my WHS box, so I won't bother trying it again unless (until?) Microsoft decides to lock users out of updates based on the IE browser version they have installed.
|
#20
|
|||
|
|||
jreichen,
Thanks for the awesome Jetty SageTV plugin. Quick question for you... is there an easy way to enable HTTP compression with the plug-in? I looked around for some documentation but wasn't knowledgeable enough about Jetty to easily piece together a solution from what I found. The main motivation for this is that I'm using Stuckless's SageX APIs (hosted by Jetty) and I would like to test compression of the API call results to see if it would provide any speed increase. Thanks! |
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 |