|
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
|
||||
|
||||
Nielm's webserver works with Linux SageTV
I'm so happy that this works with Sage Linux.
Install Webserver version 1.6 into the /opt/sagetv/app directory add the plugin line like it says on the website. Go to http://localhost:8080/sage/Home to see what's recording. I can't see the drop-down menu to jump to other parts, but you can go to: http://localhost:8080/sage/RecordingSchedule to see the recording schedule...... Lauren |
#2
|
||||
|
||||
here are 3 more:
http://localhost:8080/sage/EpgGrid http://localhost:8080/sage/Search http://localhost:8080/sage/Recordings Lauren Last edited by laurenglenn; 01-17-2006 at 12:24 AM. |
#3
|
||||
|
||||
Cool (although I am not surprised!)
The only parts of my plugins which will not work well on Linux (working in theory) would be: The execute external program part of the Dynamic Menu STVI The execute web browser part of the RSS News STVI Everything else should be pure OS-independant JAVA or STV code. Interesting that the menu does not work -- everything should be OS-independant -- can you show the JS errors in Firefox and attach them here pls? Can you also check the webserver log file in webserver/log/AWS-<date>.log Can you also try viewing the webserver on the linux server usign a browser on a Windows machine and see if it works there? Note that windows webserver pages work on linux Firefox (apart from media player), so it is probably a server issue...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki Last edited by nielm; 01-17-2006 at 02:59 AM. |
#4
|
||||
|
||||
Quote:
There's only one computer in my apartment, so I can't really login from another. But it's fully functional and makes it almost like when I was using Windows where I can run other programs now and not have to jump into the GUI as much. Lauren Last edited by laurenglenn; 01-17-2006 at 06:23 AM. |
#5
|
||||
|
||||
Quote:
The Class Not Found errors suggest that you have a newer servlets.properties with either an old nielm_webserver.jar, or some classes in net/sf/sageplugins/*
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#6
|
||||
|
||||
Quote:
Thanks, Lauren |
#7
|
||||
|
||||
Well, it looks like you are using a webserver 2.x servlets.properties file with a 1.6 webserver classes...
Probably best to do a reinstall of the webserver... Make sure that you delete all the webserver*, Acme, net/sf/sageplugins/webserver and net/sf/sageplugins/sageutils directories before re-extracting. (Why 1.6? do the 2.x versions not work?) By the way, which Sage version is the Linux version?
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#8
|
||||
|
||||
Thanks!..... The menus showed up now.
I couldn't get v2 to load. It kept giving me an error saying that it could not find the classes. But 1.6 does work with the menus, which is fine for now. Thanks again... Lauren P.S. Sage Linux version is 4.1.4.1 |
#9
|
||||
|
||||
Quote:
Are there any JARs subdirs of /opt/sagetv/app? Are there any other .JAR files? Do you have any logging from the server? If so, does it have a 'classpath=' in it's second line after startup which includes the 2 Jar files that come with the webserver? Anyway, a workaround for webserver V2 unzip the v2 webserver zip into /opt/sagetv/app as before cd to /opt/sagetv/app unzip JARs/nielm_sageutls.jar '*.class' unzip JARS/nielm_sagewebserver.jar '*.class' rm JARs/nielm_sageutls.jar JARS/nielm_sagewebserver.jar This will give you the directory tree of .class files like in 1.6...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#10
|
||||
|
||||
Quote:
I now have a Favorites Manager in the window and the full menus. Thank you. Lauren |
#11
|
||||
|
||||
Sage keeps giving me this error though:
Wed 1/18 14:35:31.585 ERROR: Stack pointer is invalid in parser! java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Unknown Source) at sage.d$a.int(Unknown Source) at sage.ak.byte(Unknown Source) at sage.a.a$41.new(Unknown Source) at sage.ak.a(Unknown Source) at sage.d.a(Unknown Source) at sage.SageTV.api(Unknown Source) at net.sf.sageplugins.sageutils.SageApi.Api(SageApi.java:17) at net.sf.sageplugins.sageutils.SageApi.StringApi(SageApi.java:105) at net.sf.sageplugins.webserver.Airing.printAiringTableCell(Airing.java: 280) at net.sf.sageplugins.webserver.RecordingsServlet.doServletGet(Recording sServlet.java:236) at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at Acme.Serve.ServeConnection.runServlet(Serve.java:1551) at Acme.Serve.ServeConnection.parseRequest(Serve.java:1526) at Acme.Serve.ServeConnection.run(Serve.java:1413) at java.lang.Thread.run(Unknown Source) The webserver and SageTV seem to be working very well with no problems. But, I thought you might want to know about this. Thanks, Lauren |
#12
|
||||
|
||||
yep - that error is why HDTV markers are not showing up -- will be fixed tomorrow
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#13
|
|||
|
|||
Beta 6 Linux
Quote:
|
#14
|
||||
|
||||
I'm able to run the webserver by extracting the zip download to /opt/sagetv/server. No need to extract the class files separately. The jar files are extracted into the JARs directory and everything else into the webserver directory.
__________________
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
|
|||
|
|||
I have everything (as far as i can tell) setup properly but still can't seem to get this thing to work. is there a firewall or something on the linux version? maybe something with gentoo? i added the line in sage.properties file (shows up in system info this confirms it right?) tried just about everything. i dont have a web browser on my server, or if i do i dont know how to get to it. server boots only into sage. i can get to the prompt but thats it. i am trying to open the page from another comp on the lan. should be "http://serverip:8080/sage/home" right? where would i even look for errors? can't find anything in any logs. seems like the webserver isnt even starting. i dont know....
|
#16
|
||||
|
||||
There shouldn't be a firewall installed.
Did you try 'http://serverip:8080/sage/Home' where Home has an upper case 'H'? That was an issue for a while but I'm not sure if it still is or not. Here are the settings from my /opt/sagetv/server/Sage.properties. Yours will vary some depending on whether you're using ssl. Code:
load_at_startup_runnable_classes=net.sf.sageplugins.webserver.StartServer nielm/webserver/aliases_file=aliases.properties nielm/webserver/backlog= nielm/webserver/bind_address= nielm/webserver/cgibin_dir= nielm/webserver/charset=UTF-8 nielm/webserver/enableSageEncoderOpts=false nielm/webserver/enable_gzip_encoding=true nielm/webserver/log_access=false nielm/webserver/log_referrer=false nielm/webserver/log_user_agent=false nielm/webserver/port=443 nielm/webserver/realms_file=realms.properties nielm/webserver/root=webserver nielm/webserver/rss_ttl_mins=360 nielm/webserver/sage_recordings_includes_archived_files=true nielm/webserver/servlets_file=servlets.properties nielm/webserver/session_timeout= nielm/webserver/ssl_args=-keystorePass keystorepass nielm/webserver/throttles_file=throttles.properties nielm/webserver/use_ssl=true nielm/webserver/video_path_translation_file=paths.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. |
#17
|
|||
|
|||
Custom EPG display (URL hack)
Here's a trick to just display the only channels you normally watch. In the EPG display, hover your mouse over the link for the channel (e.g., 3-WTKR) and look at the status bar for the browser (the bottom of the screen) (if it doesn't show at the bottom of the browser, try right-clicking and selecting "Properties"). You should see a value like "startchan=11884". Write down that number. Repeat for all of your other favorite channels, then string them together like the example below in an URL for your browser.
http:// 127.0.0.1:8080/sage/EpgGrid?Channels=11884&Channels=11292&Channels=11957 Don't for get to add the amperand between each of the Channels. When you go to that link, you should have a customized EPG display for only the channels you like to watch. |
#18
|
|||
|
|||
VlcTranscodeMgr.java:325
Does anyone else have a problem on the recording detailed information page? Stack trace shown below. The stack appears in the "Stream Original Video" box of the page and prevents the page loading properly which is annoying. Any ideas how to fix it please?
Exception while processing servlet: java.lang.NullPointerException java.lang.NullPointerException at net.sf.sageplugins.webserver.VlcTranscodeMgr.readProperties(VlcTranscodeMgr.java:325) at net.sf.sageplugins.webserver.VlcTranscodeMgr.(VlcTranscodeMgr.java:76) at net.sf.sageplugins.webserver.VlcTranscodeMgr.getInstance(VlcTranscodeMgr.java:85) at net.sf.sageplugins.webserver.DetailedInfoServlet.doServletGet(DetailedInfoServlet.java:614) at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at Acme.Serve.ServeConnection.runServlet(Serve.java:1567) at Acme.Serve.ServeConnection.parseRequest(Serve.java:1542) at Acme.Serve.ServeConnection.run(Serve.java:1429) at java.lang.Thread.run(Thread.java:595)
__________________
EPIA M9000, 1GB RAM, 300GB HD, Silverstone LC04 (Black), Hauppauge PVR250, GFX5200 256MB, DVD-RW, Noiseblocker S2 80mm, Red-Eye Serial, Keene RGB->SVID. EPIA ME6000, 256MB RAM, 80GB HD, Morex Cubid 2699RR (Black), Hauppauge PVR150MCE, CD-ROM |
#19
|
||||
|
||||
I reported this in the webserver thread. It's fixed in 2.15 but the workaround is easy if you don't want to upgrade.
__________________
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. |
#20
|
|||
|
|||
Webserver updates
Why is some of the Jar files are being left out of the webserver updates? after version 2.20
the nielm_sageutls.jar and nielm_sagexmlinfo.jar are not included with the 2.21 and 2.22 versions of the webserver download which caused problems with installing the webserver on my Linux box. To fix the problem I just copied new files from 2.22 server over the 2.20 server and the webserver works now on my sage box. -Glenn |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|