|
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: Sage Web Lite (SWL)
Posting this now in order to solicit some testers. The current snapshot builds are certainly in an alpha/preview/PoC state, but with that said it is functional. Some of GUI elements are a little rough around the edges, etc., but the functionality that's in there is working properly.
What is SWL? The plan is to make SWL a subset of the web server plugin. It will consist of the most used (by me) features from nielm's web server plugin with a focus on enhancing the GUI and refreshing the functionality to support the latest features of the SageTV system. The motivation for this plugin started with a desire to have support for multi-channel favourites on the web. The current web server plugin doesn't support this feature and it was the big one that I was really missing. Therefore, the current snapshot builds of SWL have just one module - the favourites manager. Key features of the favourites manager:
NOTES:
Planned Modules:
Thoughts, suggestions, etc. welcomed. I'm especially interested in feedback from those who install the current snapshots and play around with them.
__________________
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; 02-07-2009 at 06:53 PM. Reason: Update snapshot link |
#2
|
|||
|
|||
I can tell you now I use the current webserver interface more as a remote control for my clients then anything else.
I basically reformatted the web remotes for each MAC address and built a custom page to display it with all the other web interfaces related to that specific area. |
#3
|
|||
|
|||
Great work... it's always nice to see folks continue to improve upon nielm's already solid web server.
I got it up and running in no-time... couple suggestions I have for you:
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#4
|
|||
|
|||
Quote:
Those two fields (isc_OID_*) are the storage/display areas for the multi channel lists. If you select a channel from the dropdown it gets added to the text box beside it. Selecting multiple channels will populate the text box with the CSV string to be used when creating/updating the favourite. I just forget to give those fields a label and so it chose a default display label, which appears to be just the object identification string.
__________________
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... |
#5
|
|||
|
|||
Slugger - I don't know if you are looking for other functionality but one thing that I think would be fabulous would be to have the web page facilitate streaming of content to the client over the web. This would likely require some sort of a server streamer (i.e. VLC, Windows Media Encoder) to be running on the client but I think that this would be fabulous to allow streaming to non-Placeshifter clients like iPhones, Blackberries, and other handheld devices.
I believe that you can do this with VLC today but I think it is rather tricky.
__________________
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 |
#6
|
|||
|
|||
Great
I'll try this out later today when I get home. I needed jetty for SJQ and had no desire to run another web server to get neilm's running. I'd love to see this and the mobile interface combined and could spend some coding time to help that effort.
|
#7
|
|||
|
|||
Quote:
Also, I'd expect dev on this to be somewhat slow. Support for my other plugins (SJQ and SRE) will take precedence and based on the number of issue tickets opened today, it might be awhile before I get back to working on this. But with that said, I will get back to it eventually. This preview release was more to solicit some feedback/ideas, etc. I can't give a time line on this project, but I wouldn't expect the completion of all those modules I listed for some time. But do keep the ideas/questions coming.
__________________
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... |
#8
|
|||
|
|||
Snapshot 255 was just built. This snapshot contains the implementation of the added features to the favourites manager, specifically:
Add ability to ignore channels for a favourite: When creating a favourite in SWL you can give a list of channels to exclude from the favourite. Motivation: Some sports events I record are blacked out on some channels even though the SageTV EPG data still lists the game in the EPG. By using the ignore channel option I can ensure that SageTV will only pickup airings known not to be blacked out for me. Add ability to ignore airings with generic data: When creating a favourite in SWL you can tell the favourite not to record airings that only have generic program information (shows with external IDs starting with 'SH'). Motivation: A lot of the syndicated sitcoms I record (Seinfeld, etc.) are shown on dozens of channels and some of those channels don't provide episode info in the EPG. I don't want to record them because they're likely to be recorded on another channel. This is a way to avoid duplicate recordings. WARNING: These features are implemented by spawning threads that periodically scan airings that match your favourite rules and mark those airings that shouldn't be recorded as "don't like". This accomplishes the task as desired, but may have side effects for those users who enable intelligent recording. Please be advised that your IR results may (will?) be affected by constantly marking various airings as "don't like." I'm looking at adding an "HD only" and "non HD only" options to the favourites manager (i.e. only record HD airings or only record non-HD airings). I'm also looking for other favourite rule "enhancements" that I haven't thought of so please feel free to chime in with any ideas you may have.
__________________
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... |
#9
|
|||
|
|||
Slugger,
where are you getting the password from it defaults to the sage default pwd any place to change it?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#10
|
|||
|
|||
It's using the password you set for Jetty. Only way to change it is to change your Jetty password.
__________________
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... |
#11
|
|||
|
|||
This is set in the realm.properties file which you should find here: C:\Program Files\SageTV\SageTV\jetty\etc
__________________
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 |
#12
|
|||
|
|||
A new snapshot is available (stick to 262 or higher). These latest snapshots lay the groundwork for the "home page portal". You can see where I'm heading with this module - when done you'll have a bunch of windows each containing various information about your SageTV system.
__________________
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... |
#13
|
|||
|
|||
Did development for this stop?
The snapshot builds aren't available anymore. |
#14
|
|||
|
|||
It's definitely on the back burner, no immediate plans for any changes/enhancements to what's there. The latest snapshot is still available at Google Code though.
__________________
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... |
#15
|
||||
|
||||
For some reason I can't get this to work. I've got the
Mobile Web Interface by jreichen working just fine.. so I know I've got Jetty working ok. when I try to go to http://my_server:myport/swl/SWLClient.html It spins for a while and then I get a "Internet Explorer cannot display the webpage" I never get a prompt to ask for the username/password. I've got the 332 snapshot. And I see from the log stuff It seems to be loading and such.. I know this is on the back burner.. but if it's something easy.. Thanks, Jim |
#16
|
|||
|
|||
What happens when you try to load /swl/ (you should get a directory listing)?
__________________
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... |
#17
|
||||
|
||||
Same thing.. It waits for a while and then it gives the same error.
If I go striaght to the root I get a Code:
HTTP ERROR: 403 FORBIDDEN RequestURI=/ Powered by Jetty:// And if I undeploy and try it again I get the Code:
HTTP ERROR: 404 NOT_FOUND RequestURI=/swl/SWLClient.html Powered by jetty:// Thanks, Jim |
#18
|
||||
|
||||
Where is the war extracted at? It seems like it's some temporary location.
|
#19
|
|||
|
|||
Jetty unzips the war in a temp dir and runs the app from there. If you enable debug logging in Sage and Jetty then the logs should tell you why the deployment is failing. Also ensure that the context file (swl.context.xml) and the war file are in the proper locations (\SageTV\jetty\contexts and \SageTV\jetty\webapps, respectively). Unzipping the pkg from the \SageTV dir and maintaining zip dir structure should ensure that.
__________________
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... |
#20
|
||||
|
||||
Here is the last bit of of the log file. I'll attach the full history as an attachment..
Code:
Thu 4/23 14:27:55.428 (org.mortbay.log) <DEBUG> loaded class org.sqlite.RS from ContextLoader@SageTV Web Lite([file:/C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/Jetty_0_0_0_0_8081_swl.war__swl__-1m31yw_1098163677601874355/webapp/WEB-INF/classes/, file:/C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/Jetty_0_0_0_0_8081_swl.war__swl__-1m31yw_1098163677601874355/webapp/WEB-INF/lib/gkusnick.sagetv.jar, file:/C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/Jetty_0_0_0_0_8081_swl.war__swl__-1m31yw_1098163677601874355/webapp/WEB-INF/lib/json.jar, file:/C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/Jetty_0_0_0_0_8081_swl.war__swl__-1m31yw_1098163677601874355/webapp/WEB-INF/lib/sqlitejdbc.jar, file:/C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/Jetty_0_0_0_0_8081_swl.war__swl__-1m31yw_1098163677601874355/webapp/WEB-INF/lib/swl-worker.jar]) / sun.misc.Launcher$AppClassLoader@11b86e7 Thu 4/23 14:27:55.429 (org.mortbay.log) <DEBUG> loaded class java.lang.IllegalStateException Thu 4/23 14:27:55.429 (org.mortbay.log) <DEBUG> loaded class java.lang.IllegalStateException from null Thu 4/23 14:27:55.430 (org.mortbay.log) <DEBUG> loaded class java.lang.Long Thu 4/23 14:27:55.430 (org.mortbay.log) <DEBUG> loaded class java.lang.Long from null Thu 4/23 14:27:55.431 (org.mortbay.log) <DEBUG> loaded class java.util.HashMap Thu 4/23 14:27:55.431 (org.mortbay.log) <DEBUG> loaded class java.util.HashMap from null Thu 4/23 14:27:55.431 (org.mortbay.log) <DEBUG> loaded class java.util.ArrayList Thu 4/23 14:27:55.431 (org.mortbay.log) <DEBUG> loaded class java.util.ArrayList from null Thu 4/23 14:27:55.431 (org.mortbay.log) <DEBUG> loaded interface java.util.Iterator Thu 4/23 14:27:55.431 (org.mortbay.log) <DEBUG> loaded interface java.util.Iterator from null Thu 4/23 14:27:55.431 (org.mortbay.log) <DEBUG> loaded class java.lang.Integer Thu 4/23 14:27:55.431 (org.mortbay.log) <DEBUG> loaded class java.lang.Integer from null Thu 4/23 14:43:20.029 (org.mortbay.log) <DEBUG> REQUEST /swl/SWLClient.html on org.mortbay.jetty.HttpConnection@1da9420 Thu 4/23 14:43:20.029 (org.mortbay.log) <DEBUG> sessionManager=org.mortbay.jetty.servlet.HashSessionManager@14ef725 Thu 4/23 14:43:20.029 (org.mortbay.log) <DEBUG> session=null Thu 4/23 14:43:20.029 (org.mortbay.log) <DEBUG> RESPONSE /swl/SWLClient.html 302 Thu 4/23 14:44:16.347 (org.mortbay.log) <DEBUG> REQUEST /swl on org.mortbay.jetty.HttpConnection@f87198 Thu 4/23 14:44:16.348 (org.mortbay.log) <DEBUG> RESPONSE /swl 302 Thu 4/23 14:44:16.386 (org.mortbay.log) <DEBUG> REQUEST /swl/ on org.mortbay.jetty.HttpConnection@f87198 Thu 4/23 14:44:16.386 (org.mortbay.log) <DEBUG> sessionManager=org.mortbay.jetty.servlet.HashSessionManager@14ef725 Thu 4/23 14:44:16.386 (org.mortbay.log) <DEBUG> session=null Thu 4/23 14:44:16.386 (org.mortbay.log) <DEBUG> RESPONSE /swl/ 302 Jim |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I get sage to recognize my media player plugin? | redondo_se | SageTV Studio | 7 | 01-26-2009 04:43 PM |
A Couple of Sage Web Server Questions... | robhix | SageTV Customizations | 4 | 01-22-2009 06:37 PM |
Sage is relying on its cached metadata too much | bastafidli | SageTV Beta Test Software | 6 | 08-06-2008 05:46 AM |
Sage Plugin for Chat, AIM or Google Chat | personalt | SageTV Customizations | 1 | 06-24-2008 03:50 PM |
Sage crashes | rfutscher | SageTV Software | 0 | 01-23-2006 04:31 PM |