PDA

View Full Version : Plugin: Web User Interface for SageTV 2.2-6.6 (V2.25 18 Sep 2009)


Pages : 1 2 3 4 [5] 6 7 8 9 10 11

JUC
03-14-2006, 06:27 AM
hey--i was able to get things working on my home network--pointing to my 192.XXXXXXX address. But--i still can't access it from outside on the internet. I think it is something to do with my router's settings though because i can't VNC or placeshift in either. But--i enabled access on my router--for testing turned off the firewall, forwarded all the right ports (this checks out using on the the sites that tests open ports). I am only running SP1 on my server and do not have any firewall on that either. I am not sure what is blocking it but something is not getting through for some reason. Any troubleshooting tips?
thanks
JUC


edit: after further investigating--it seems that my ports aren't open after all...i guess i will contact the manufacturer and see why it is not taking...

rickgillyon
03-14-2006, 07:47 AM
Did you reboot the router after changing the port-forwarding?

Could you post a picture of your forwarding page on your router for us to look at? Just in case...

tpardon
03-16-2006, 02:32 PM
Ok I'm getting the following error message when I try to open the web page at http://mybox:8080/sage/Home

-------------------------------------------------------
HTTP Status 404 - /sage/Home

type Status report

message /sage/Home

description The requested resource (/sage/Home) is not available.
Apache Tomcat/5.5.15
-------------------------------------------------------

It all worked prior to installing the Cayars stv. After installing Cayars, I reinstalled the latest webserver following the instructions precisely. Can anybody help?

Wakecrash
03-16-2006, 08:31 PM
I tried to install this and I get nothing, just "The page cannot be displayed".
I am going through the troubleshooting to verify webservier is running per the PID, the PID port 8080 is running si sageservice.exe. is that correct. I am using the following web address.
http://www.myname.no-ip.com:8080/sage/Home

This is first time install, I followed the instructions to install which seem pretty easy. I have my router set to forward port 8080 to the correct PC.

gplasky
03-16-2006, 09:21 PM
Try bringing it on the local machine using localhost instead of your domain name and verify if it is up and running/ If it doesn't come up using localhost you have more work to do.

Gerry

nielm
03-17-2006, 03:34 AM
Ok I'm getting the following error message when I try to open the web page at http://mybox:8080/sage/Home

-------------------------------------------------------
HTTP Status 404 - /sage/Home

type Status report

message /sage/Home

description The requested resource (/sage/Home) is not available.
Apache Tomcat/5.5.15
-------------------------------------------------------

It all worked prior to installing the Cayars stv. After installing Cayars, I reinstalled the latest webserver following the instructions precisely. Can anybody help?You have an apache server running on that port. Chose a different port for the Sage webserver.

nielm
03-17-2006, 03:50 AM
I tried to install this and I get nothing, just "The page cannot be displayed".The reason for this might be displayed at the bottom of the page (bloody IE and it's un-friendly error msgs). IF you have a better browser (Opera/Firefox), it might give a more sensable error message.

I am going through the troubleshooting to verify webservier is running per the PID, the PID port 8080 is running si sageservice.exe. is that correct. I am using the following web address.
http://www.myname.no-ip.com:8080/sage/HomeTry dropping the www. and just connecting to myname.no-ip.com.

Also try connecting using your IP address (the one that the ISP assigns - you should see it using www.whatismyIPaddress.com, or in the router's status pages). If this works, the no-ip dynamic DNS is not working

If you have not done it already do the open port tests (such as GCR.com's ShieldsUp)

tpardon
03-17-2006, 09:00 AM
Hey, thanks for all the quick responses! Turns out I DID have Tomcat running in the background. I thought that I uninstalled it weeks ago, duh!

BTW, this project rocks! I've been looking into a way to real-time encode video files like ORB.com does instead of batching things. I don't know if you folks have ever checked it out, but ORB.com has a pretty slick streaming application that I use to watch my Sage stuff remotely (and occasionally live tv). I think that the real-time streaming of any media would be an excellent addition to this project!

Thanks again

Opus4
03-17-2006, 10:12 AM
I've been looking into a way to real-time encode video files like ORB.com does instead of batching things. I don't know if you folks have ever checked it out, but ORB.com has a pretty slick streaming application that I use to watch my Sage stuff remotely (and occasionally live tv). I think that the real-time streaming of any media would be an excellent addition to this project!Have you checked out the Placeshifter Client in the latest betas (http://forums.sagetv.com/forums/forumdisplay.php?f=17)? It uses the SageTV UI and can play your media over the internet.

- Andy

JUC
03-17-2006, 12:21 PM
Did you reboot the router after changing the port-forwarding?

Could you post a picture of your forwarding page on your router for us to look at? Just in case...

Hi, no pics as i'm at work now but i 'think' i might have figured it out. For some reason, when i installed the gateway/router i had to setup my server to auto detect IP address. Since i leave it on all the time its no biggie as it stays fairly constant. From what i have been reading--you need to have a static IP on the computer you want to forward the ports too. So, i called my DSL provider this morning and got the DNS servers so i think if i set it up with a static IP and use the provided DNS servers i 'should' be okay. Does this make sense? I will update later. Any other thoughts why the ports might not be getting forwared properly?
oh-and yes, router was restarted after forwarding ports.
Thanks
JUC

nielm
03-17-2006, 12:52 PM
From what i have been reading--you need to have a static IP on the computer you want to forward the ports too. -- yes but only the private address (192.168.x.y) needs to be static -- the public (ISP-issued) address can be dynamic as you like (mine seems to change daily!), provided the dynamic dns client is running, the internet hostname will be always updated.

Most routers allow you to predefine fixed addresses that will be issued to computers on the LAN, so you can make sure that your router always issues 192.168.0.4 to your sage system. Or you can setup a fixed address on your sage system that is outside of the dynamic range: eg 192.168.0.101

JUC
03-17-2006, 01:26 PM
Thanks, i was thinking of setting up the static IP on my sage server so it is outside the dynamic range. I hope that this was my problem. when i tried this out on my LAN--it was awesome. now i just need to be able to have it work from work.
Thanks
JUC

rickgillyon
03-17-2006, 02:02 PM
Thanks, i was thinking of setting up the static IP on my sage server so it is outside the dynamic range.

If you set up your router to never release the DHCP IP addresses it should have the same effect.

I also used to get new IPs on my WAN connection weekly, until I tweaked the router to never disconnect...now I don't have a static address, but it has been the same for a year and a half. :)

bgorrell
03-18-2006, 11:43 PM
Thanks, I will try clearing the watched and don't like flags and see what happens. This has been of great annoyance to me.

As for the episode ID, I actually wouldn't mind if new show data overwrote the current show data in most cases. I am only editing the show data so I at least have something for imported videos. Often, the show will come up in reruns down the line and I'd rather have the "official" data.

As an example of how this would be useful, I have a dozen episodes of American Dad on my cable box DVR that I missed recording in Sage because I was having computer problems. I'd like to copy them to the Sage server using the manual recording feature. I could then fill out the basic show info and episode ID, and if I understand correctly, if the show ever airs again, it will automatically gain the rest of the data.

I'm assuming the Episode ID is derived from the last three (or four) numbers of the ShowID field. Is that correct?

Maybe you could offer an option of "manual ShowID" or something to that effect. If not entered, you would auto-generate the ShowID as you do now. If I entered a ShowID using an existing recording as a template (American Dad is EP716445xxxx), there's a good chance I will get the rest of the info next time it's shown and will at least have the correct episode ID to sort by in the mean time. Optionally, this would also allow us to enter an alternate form of ShowID, such as "01x002" for Season 1, Episode 2.

If any of this is possible, I'd greatly appreciate having the option of using it. Thanks.

Nielm, thanks, the database cleanup is working as you described. It would be nice to see this automated somehow. Would it be possible to auto-select the duplicates, clear the don't like/watched flags and force an EPG update all at once, or does this get too complicated? I only ask because I've tediously cleared many already, but at the rate I'm going, it will take all weekend.

Also, any thoughts on the ShowID? Thanks.

e4gulf
03-20-2006, 12:35 PM
I can access the webserver at http://192.168.x.x:8080/sage/home

I can access the webserver from my lan at http://mypublicaddress:8080/sage/home


When I try to access the webserver from work by going to
http://mypublicaddress:8080/sage/home

I get 'page cannot be displayed' . I am forwarding 8080 to the internal IP of my Sage webserver. I have disabled the firewall feature on my router. I have also opened up 8080 on Windows firewall to all IP's. I 've even tried diabling windows firewall. Can anyone tell me how to get this working?

rickgillyon
03-20-2006, 01:15 PM
When I try to access the webserver from work by going to
http://mypublicaddress:8080/sage/home I get 'page cannot be displayed'

Are you sure that 8080 is allowed from your work address? There's no guarantee it will be allowed, they may only allow 80 or 800 etc. Try it from someone else's PC outside of work.

I have disabled the firewall feature on my router.

I wouldn't do that! :eek:

DocDrydenn
03-21-2006, 12:51 AM
Ouch! Turning off the firewall? Now, that is just asking for trouble.

The firewall on your router shouldn't give you any problems, so long as your port forwarding is set right. The windows firewall, now that’s a different story. It always gives me problems, so I just turn it off. Besides, a hardware based firewall is better anyways.

Here’s a few suggestions for your problems:

First thing you might want to check is your ISP. My ISP blocks some of the main ports that a server would use. i.e. 80, 25, 21 etc... (if I'm not mistaken, 8080 is considered an alternate port 80) Why would they do this? Simple. Its because these ports are mainly used for servers, and my ISP does not allow residential users to run their own servers. They want you pay the business price for that. (No thank you.) You may just need to use a port that your ISP has not blocked. Pick something like 8484. (BTW, we are talking about inbound ports here.)

If that doesn't work, it may be that your work's network is blocking you. Now, I cannot speak for every company out there, but I can speak for mine. They block entire ranges of IPs. As a matter of fact, they block the entire residential IP range my ISP uses. What ever can you do to fix this? Well, not much really, but there is a work-around you can try. You must use a web proxy.

For anyone not in the know about web proxies:
A web proxy allows you to bypass the restricted IPs set by your company’s network. A web proxy is nothing more than a website that allows you to enter a URL to another site. It then fetches the data from that site and passes it back to you. This only works if your work’s network allows access to the web proxy’s site. My work has a few of the biggest known web proxy sites blocked, but not all of them. I must warn you though. This may be a violation of your work’s network policy. As long as you don’t use it to surf porn or any other content deemed wrong by your work, you should be fine. Basically, just don’t surf places you shouldn’t. It’ll flag you for inspection by your company’s network ITs.
Here is an example of a site I use. It’s pretty simple to understand. Give it a try. You can even use it from home if you wish.
http://www.spysurfing.com/

nielm
03-21-2006, 03:43 AM
Also some routers have 'remote management' on port 8080, and even when disabled, they capture incomming communication on port 8080...

When you are at home, try using the firewall tester mentioned in the wiki docs (testing section) (http://www.sage-community.org/index.cgi/wiki/WebserverRemoteAccess) to check that the port is 'open'.. You could also try connecting from work via proxify (also in the docs) to see if you work is blocking port 8080.

(ps: DocDrydenn: nice link to spysurfing: added to the docs)

nielm
03-24-2006, 03:45 PM
Just uploaded v2.7 Mar 24 2006 -- for Sage versions 2.2-4.1
nielm's changes:

NEW FEATURE: most pages that display information can now have xml output
-- add xml=yes parameter on URL, or look for the [xml] icons[[br]]-- see SageXmlInfo
ENHANCEMENT: allowed new favorites to be added with a default priority
-- allows adding faves from an external program
ENHANCEMENT: Edit Show info allows keeping same EPGID, or specifying a known EPGID
ENHANCEMENT: version/last updated/validation links on every page
ENHANCEMENT: Recording Schedule RSS feed.
ENHANCEMENT: EpgList view: word-wrap titles, and only crop vertically
-- (this may cause problems on browsers that do not support CSS overflow-x and overflow-y properties)
BUGFIX: XHTML validation fixes for various pages.
BUGFIX: Favorite creation: check that at least one title/category/person/keyword is specified
BUGFIX: command buttons no longer add '&' characters to the URL

Jreichen's changes:

ENHANCEMENT: Add/remove manual record status, remove archive status in detailed Info page
ENHANCEMENT: Add/remove archive status in Search results
ENHANCEMENT: Add Original Air Date in Detailed Info


The XML output follows what was discussed in the RFC for XML info thread

rickgillyon
03-27-2006, 05:54 AM
Just uploaded v2.7 Mar 24 2006 -- for Sage versions 2.2-4.1
[list]
ENHANCEMENT: Recording Schedule RSS feed.

I love that feature - totally brilliant! :thumb:

BUT - I just have one problem. I use the webserver to serve up folders from my Sage Server and from my main PC too. I do this by changing the menu (menu_items.js):
/* Add other top-level menus here... */
[
'Rick',
null,
null, /* extra config, eg target window, title text */

/* submenu items */
[
'PVR C Drive',
'/pvr_c',
{
'title' :'PVR C Drive'
}
],
[
'Xpider Documents',
'/docs',
{
'title' :'Xpider Documents'
}
],
],
];

And by setting up aliases.properties:
from=/pvr_c/;dir=c:\
from=/docs/;dir=\\XPIDER\docs\

I'm now getting a "Not Found" for the PC remote to the webserver, whereas this worked last week. Any ideas?

I've also just thought, I also changed over to using Service Mode at the weekend, could that be causing my problem and not the new webserver version at all?

Thanks! :D

nielm
03-27-2006, 06:53 AM
from=/pvr_c/;dir=c:\
from=/docs/;dir=\\XPIDER\docs\I'm now getting a "Not Found" for the PC remote to the webserver, whereas this worked last week. Any ideas?
I've also just thought, I also changed over to using Service Mode at the weekend, could that be causing my problem and not the new webserver version at all?It's possible: Service mode cannot read from remote network servers (\\XPIDER ?) unless the service is configured to log in as a 'real' user, not the default 'localsystem'

rickgillyon
03-27-2006, 08:01 AM
It's possible: Service mode cannot read from remote network servers (\\XPIDER ?) unless the service is configured to log in as a 'real' user, not the default 'localsystem'

Yes, \\Xpider is the networked remote PC. Is there any way to specify a user for the service without a password? I don't want to have to go through the welcome screen and password every restart, but the service seems to fail to log on with a user with no password...

nielm
03-27-2006, 08:21 AM
Yes, \\Xpider is the networked remote PC. Is there any way to specify a user for the service without a password? I don't want to have to go through the welcome screen and password every restart, but the service seems to fail to log on with a user with no password...Enter the user/pass in the service properties of Window's service manager applet -- it will auto - add a 'run service' privilage to the user..

rickgillyon
03-27-2006, 08:29 AM
Sorry, obviously I'm not explaining myself very well! I understand how to use the services, and it gave me the appropriate privilege, but it still fails to log on. Does the user have to have a password to run the service?

BobPhoenix
03-27-2006, 08:37 AM
Sorry, obviously I'm not explaining myself very well! I understand how to use the services, and it gave me the appropriate privilege, but it still fails to log on. Does the user have to have a password to run the service?

Yes it does. I would setup two users. One with a password for the service and leave your regular user without a password. Then use TweakUI to autologon the user without a password (normal user account). Then you avoid the welcome screen. Note you may have to reapply this after a windows update. I have in the past. YMMV.

BobP.

rickgillyon
03-27-2006, 09:15 AM
Thanks guys, I'd forgotten all about TweakUI.

That's it working, and not really an issue with the webserver, sorry for doubting you nielm! :goodjob:

bgorrell
03-27-2006, 09:37 AM
ENHANCEMENT: Edit Show info allows keeping same EPGID, or specifying a known EPGID
.
.
.
ENHANCEMENT: Add Original Air Date in Detailed Info



Thank you! As you may have noticed, I am a perfectionist when it comes to the database and these features are greatly appreciated!

P.S. If I had my way, I would just put the whole thing in an exported dbf that I can edit in Access or FoxPro and then re-import to a fresh wiz.bin. I don't expect this to happen, but it would be nice as insurance for a corrupted wiz.bin. I'm good about backups, so have never lost too much, but it still concerns me.

rickgillyon
03-27-2006, 10:03 AM
Never satisfied, I think it would be a great idea to have an RSS feed of Recording conflicts too. :D An extra insurance, especially for those using a 3-day lookahead.

DisplacedDimCap
03-28-2006, 11:56 PM
First off thanks Nielm for all the awesome work on the web server and all the other various utilities for Sage, they are the icing on the cake for my Sage box. I was wondering if it'd be possible to add a couple of simple RSS feeds out of the web server? Basically what I'd like to see is a feed each for "watching", "currently recording" and "upcoming recordings". I think it'd be an easy way to share your recording/watching habits (say on your blog) with others and to monitor your own sage activity (or spy on the wife/gf/kids/grand pa/ect.) from anywhere.
Thanks again!
:goodjob:

Cool, I finally got my wish!!!

I tried searching and couldn't find anything on the new RSS feature. Is there a way to place the RSS feed into a public/read-only context so that I can add it to my blog as a feed? I tried this setting in the servlets.properties file but it didn't seem to help. I didn't think this would work or be the best way to do this but in experimenting it seemed like the quickest/dirtiest method that might work so it was worth a shot. Thanks again Neilm for the awesome work.


servlet./sagepublic/RecordingSchedule.code=net.sf.sageplugins.webserver.RecordingScheduleServlet

nielm
03-29-2006, 02:11 AM
:eek: following this thread on the daily WTF (http://www.thedailywtf.com/forums/65974/ShowPost.aspx) lead me to realise that there is a huge bug waiting to happen on the webserver: All the set/clear don't like / set/clear archived etc buttons are HTTP Get requests..

Therefore if you are using a web accellerator or pre-caching proxy, you may find all these buttons getting pressed for you... OOps!

Will have to make a quick fix for that, but in the meantime, don't use web accellerators with the webserver :blush:

Edit: after panicking a little, I found out that both google's and Mozilla's web accellerators do not prefetch links that have query strings... I am still going to fix it though :)

rickw
03-29-2006, 12:40 PM
Installed version 2.7 last night. Love the XML and it's working great. But when I tried the RSS link from the recording schedule I get an error. "unable to open site" The XML link next to it work fine.

Is there something I need to do for the RSS link?

Rick...

jimmyb
03-29-2006, 05:14 PM
I guess I have to add my ignorance as to what I can do with RSS feed. Is it a feed and something I can read with a reader??? If so where do I point the reader to?

EDIT: Well I did get it to work wih a Firefox plug in :). I cannot get it to work with xlobby rss feed database. I presume, since it does not end the same as say a yahoo rss news feed that there is some incompatibilties with RSS feeds?

phantomfsoc
03-29-2006, 06:45 PM
Question for Nielm,

My Sage for the longest time has taken a long time to start up (10+ mins)
Its my WIZ.BIN file. I've had it for 3years now. The problem is that I really don't want to part with it. The main reason is because the IR really works well. Took a long time to "teach it" to record things I like.

My question is,
Is there any way to use the new Webserver to export my Favorites and maybe other past stuff then reimport them back into a new sage? I know you added XML exports but can you import them too? Just so I can keep the good stuff and get rid of the garbage.

Thanks for all the good stuff
Nelson

cslatt
03-29-2006, 07:16 PM
Just wanted to say thank to Nielm, 2.7 works great for me. I setup Newsgator to check my Upcoming Records RSS feed with no problem whatsoever. I'd like to add my vote for a Recording Conflicts RSS feed as well.

nielm
03-30-2006, 05:14 AM
To those having a problem with RSS feeds: it is possible that the feed reader cannot cope with the authentication DisplacedDimCap's workaround should have worked, but I will have to look into why it did not.

phantomfsoc: not yet -- unless you do it manually!
XML Import is one of the next things on my to-do list: I also want to 'clean up' my wiz.bin (remove old unused channels, remove old unused titles), and the way I was intending was to do XML export of favorites, recordings, and viewing history; then remove wiz.*, and then re-import all the XML stuff into the 'clean' wiz.bin. When it is done, theoretically I should be able to get everything back as it was...

phantomfsoc
03-30-2006, 05:17 AM
Cool, thats sounds good. I have no problem waiting it out, so Thanks for the info.

rickgillyon
03-30-2006, 05:25 AM
To those having a problem with RSS feeds: it is possible that the feed reader cannot cope with the authentication

Anyone having trouble can use the free open-source reader at www.feedreader.com - works a treat with the webserver feed and it's free. :D

jimmyb
03-30-2006, 11:47 AM
Neil ... BRAVO ... you keep amazing me (all of us???). This thing just keeps getting better. Found java script RSS coverter, loaded into web page and now I can keep tabs on Upcoming Recording AND adjust (as I am doing) as need be.

Keep up the great work and get a job with Frey / Sage :)

DisplacedDimCap
03-30-2006, 12:03 PM
To those having a problem with RSS feeds: it is possible that the feed reader cannot cope with the authentication DisplacedDimCap's workaround should have worked, but I will have to look into why it did not.


I think it may have something to do with the authentication being set at the root of the site. So then anything "lower" than /sage requires authentication. I'm getting a 401 error, but in Firefox I can add it as a live bookmark and have it work beautifully, provided I've authenticated previously.

rickw
03-30-2006, 02:31 PM
To those having a problem with RSS feeds: it is possible that the feed reader cannot cope with the authentication DisplacedDimCap's workaround should have worked, but I will have to look into why it did not.


I was just using My Yahoo!'s capabiltiy to read and display RSS feeds. I don't think it allows for authentication. So that very well could be the problem.

Rick...

ToonGal
03-30-2006, 03:01 PM
Adding a new favorite only adds it at the bottom of the prioirity list, no matter whether Default, Above, or Below is selected. Using Favorites to edit a file also doesn't allow the prioiritization.

Used this feature on v2.6 (and LOVED IT!) and it worked fine, so I'm assuming it is a bug, not me using SageTV engine v2.2.8. Any help available greatly appreciated, because I use the webserver exclusively for this.

Thanks, Nielm! :)

nielm
03-30-2006, 04:43 PM
It's a bug... Sorry... Got my logic in a twist when adding the 'Default' priority stuff

JBurgin
03-31-2006, 10:07 AM
Hey guys, I'm working on testing out SageTV for use within our schools. We normally used classic TV distribution systems to feed a Comcast cable connection to all the classrooms. But now, we're thinking about using SageTV to replace our classic distribution systems and feed Comcast cable to the computers in our classrooms, which is then fed to a SmartTV (regular TV with VGA connections) for the students to watch. While adding PVR functionality and shared video connections.

Either way, we just got our Webserver setup, and we already love it. We were trying to decide between SageTv and BeyondTv, and because of the expanded functionality of SageTV and customization features (especially the ability to add things like the webserver with little to no effort) we're probably going to choose SageTV.

Anyway, not that you need that whole story, but it kinda sets up the question I have for the Webserver

Because of our classroom nature, we have parental controls enabled (another feature that BeyondTV didn't have) So that Teachers cannot accidentally tune to a channel that has something inappropriate for children to view. I'm sure there are other reasons that parental controls would work in this situation.

EITHER WAY, here's what I'm noticing. When you schedule recordings through the webserver, the program does not check whether or not the program violates the parental controls. It does not prompt for the password you have setup. Also, when the show is recorded and in it's mpg file format, you can easily download the show to your computer and view it. Thereby completely subverting the parental controls. (I realize that there's nothing you can do about the MPG file not being protected) but I'm wondering if there is a way for the Webserver to check whether or not the shows violate the parental controls standard. If so, prompt for a password. Maybe the same for downloading the file as well.

I understand there are other ways around this, such as setting up a read-only user account for teachers, so they can see what's coming up and what's on the TV right now, but have no ability to set their own shows to record. And another account for SageTV administrators, so they can be the one who can setup recordings and judge which shows are appropriate and which ones are not. But I'm just curious if it's even possible to integrate parental controls into the Webserver, some parents might like to see this feature so their kids cannot use the webserver to get past the controls.

WellThen
04-01-2006, 03:49 PM
Installed this plugin today, getting a Java error on the first web page. Any idea what might be wrong? I have IIS on this machine, so I tried changing the port to 8081, but still getting same error.

Currently watching:
On Local SageTV instance:
Exception while processing servlet:
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
at net.sf.sageplugins.webserver.HomeServlet.doServletGet(HomeServlet.java:126)
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:1553)
at Acme.Serve.ServeConnection.parseRequest(Serve.java:1528)
at Acme.Serve.ServeConnection.run(Serve.java:1415)
at java.lang.Thread.run(Unknown Source)

nielm
04-03-2006, 10:13 AM
EITHER WAY, here's what I'm noticing. When you schedule recordings through the webserver, the program does not check whether or not the program violates the parental controls.There are no parental restictions coded into the webserver, but the webserver is no different to the Sage UI in this case: you can schedule a restricted recording without entering the lock code - the lock code is only prompted for on playback..

nielm
04-03-2006, 10:15 AM
Installed this plugin today, getting a Java error on the first web page. Any idea what might be wrong?
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;The nielm_sageutls.jar did not unpack correctly, or did not overwrite a previous version you had...

davidjames
04-03-2006, 10:40 AM
I'm still having problems viewing streamed video.

A new window opens if firefox
No video shown
then after a few seconds the pause button changes to play.

This is the same error as some else reported earlier but I could not find an answer to his problem

http://forums.sagetv.com/forums/showthread.php?p=129108&highlight=vlc#post129108

I check the couple of things that Nielm mentioned.

Anyone any ideas?

JJ
I have a similar problem. I've tried Firefox and I.E. When using I.E. a new browser opens. A white window opens within the browser with the VLC logo in the center. The controls display under the window with Pause being the left most button. Also under the window on the right side is (( Live )) with the 'paren's moving in and out like it's playing. It stops moving when I press the Pause button (which then turns to Play).

Any ideas?

JBurgin
04-03-2006, 02:59 PM
There are no parental restictions coded into the webserver, but the webserver is no different to the Sage UI in this case: you can schedule a restricted recording without entering the lock code - the lock code is only prompted for on playback..


....so you are correct :bang:

Thanks for clearing it up nielm.

cslatt
04-03-2006, 03:30 PM
nielm,
There seems to be a bug in the paging links when I "Search EPG" or "Search Imported Videos". The link for page 2, 3, etc give me "File not found" errors. Example link:

http://myaddress:8080/Sage//Sage/Search?SearchString=the&searchType=Airings&Video=on&DVD=on&search_fields=title&TimeRange=0&Categories=**Any**&Channels=**Any**&watched=any&dontlike=any&favorite=any&autodelete=any&partials=none&sort1=airdate_asc&sort2=none&pagelen=100&page=2

I assume it is supposed to be

http://myaddress:8080/Sage/Search?SearchString=the&searchType=Airings&Video=on&DVD=on&search_fields=title&TimeRange=0&Categories=**Any**&Channels=**Any**&watched=any&dontlike=any&favorite=any&autodelete=any&partials=none&sort1=airdate_asc&sort2=none&pagelen=100&page=2

nielm
04-03-2006, 04:33 PM
nielm,
There seems to be a bug in the paging links when I "Search EPG" or "Search Imported Videos". The link for page 2, 3, etc give me "File not found" errors. Example link:yep.... Sorry! one more for the fix-list!

WellThen
04-03-2006, 06:19 PM
The nielm_sageutls.jar did not unpack correctly, or did not overwrite a previous version you had...

Hi neilm,

Thanks for responding. I tried shutting down Sage, moving the nielm_sageutls.jar completely out of the Program Files tree, and then unzipping that one file again. I'm still getting the same problem.

I did learn a few things today. First, all of the other pages work just fine; only the Home page gives this error. Also, I found that if I run Sage as a Service, I don't get this error - the Home page works. However, when I run as a Service, I can't connect to the webserver from any other PC on my network. I've tried changing the default user associated with the Service to be one that I know has Admin rights on the box, but I still cannot access the webserver from another machine.

Thanks for any suggestions you can offer...

nielm
04-04-2006, 05:05 AM
Thanks for responding. I tried shutting down Sage, moving the nielm_sageutls.jar completely out of the Program Files tree, and then unzipping that one file again. I'm still getting the same problem.Hmmm.. did you delete the 3 directories mentioned in the install instructions -- especially:
<SageTVProgDir>/net/sf/sageplugins/sageutils

However, when I run as a Service, I can't connect to the webserver from any other PC on my network. I've tried changing the default user associated with the Service to be one that I know has Admin rights on the box, but I still cannot access the webserver from another machine.This sounds like a firewall problem -- the SageTvService.exe may not be allowed to open the webserver port in your software firewall program... (The webserver need no special user privs, even in service mode)

davidjames
04-04-2006, 10:49 AM
I have a similar problem. I've tried Firefox and I.E. When using I.E. a new browser opens. A white window opens within the browser with the VLC logo in the center. The controls display under the window with Pause being the left most button. Also under the window on the right side is (( Live )) with the 'paren's moving in and out like it's playing. It stops moving when I press the Pause button (which then turns to Play).

Any ideas?Are there other requirements to get streaming to work? Is there some additional configuration that needs to be done on the PC running SageTV, other then installing the Webserver? Something must be doing the streaming from the PC? Is it SageTV or the Webserver Plugin or VLC or??

bcjenkins
04-04-2006, 08:35 PM
Nielm,

Tonight my 5 year old yells down that some show he doesn't like is on his TV, I popped open the web interface, and changed the channel on his MVP to a different show for him thanks to your plugin! :goodjob:

B

davidjames
04-05-2006, 01:03 PM
Are there other requirements to get streaming to work? Is there some additional configuration that needs to be done on the PC running SageTV, other then installing the Webserver? Something must be doing the streaming from the PC? Is it SageTV or the Webserver Plugin or VLC or??

Anyone have any thoughts on this?

crzyglue
04-05-2006, 04:55 PM
I am confused. I admit, I havent read all 50+ post yet, but can someone tell me in simple terms what this webserver by nielm does?

davidjames
04-05-2006, 05:05 PM
I am confused. I admit, I havent read all 50+ post yet, but can someone tell me in simple terms what this webserver by nielm does?It really is a wonderful compliment to the PC Interface of SageTV

I'll tell you about what I like.

The Program Guide display is great, it's fast and includes not only the grid display but includes a quick way to view prime time. Then you can display program info as well as record programs directly. It's search function is very sophisticated and fast. Everything is fast.

You can also manipulate already recorded programs (including playing them)

If you have an MVP you can actually control it from the the web pages

There is more as well.

My only complaint is I can't get the web streaming piece to work.

It's a great tool!.

davidjames
04-05-2006, 05:59 PM
I've done some playing around streaming recorded shows. When I stream it from the computer where SageTV is located and the file is stored, it works fine. But not from another computer. The computers are on the same subnet and neither has a firewall enabled. The URL's sent are identical except for the host name.

Here is the one from the "other" computer.
http ://theater:8080/sage/player.html?fntype=url&title=American+Idol+-+&filename=AmericanIdol-211007-0.mpg&MediaFileId=328665

I added a space after http so you could see all of the url

Anyone have this working or have any ideas?

rickgillyon
04-05-2006, 06:19 PM
I am confused. I admit, I havent read all 50+ post yet, but can someone tell me in simple terms what this webserver by nielm does?

Suck it and see. :)
It allows you to use a web browser anywhere to setup recordings, favourites, browse your EPG, see what's recording now or will record soon, and even allows you to setup web access to your documents at home.

It's a wonder... :thumb:

e4gulf
04-05-2006, 08:33 PM
Is there any way to change the port that the webserver runs on? I think my router just won't allow port forwarding on 8080.

davidjames
04-05-2006, 09:02 PM
Is there any way to change the port that the webserver runs on? I think my router just won't allow port forwarding on 8080.
Yes, it's specified in the sage.properties file in the sagetv directory.

davidjames
04-05-2006, 09:03 PM
I have a similar problem. I've tried Firefox and I.E. When using I.E. a new browser opens. A white window opens within the browser with the VLC logo in the center. The controls display under the window with Pause being the left most button. Also under the window on the right side is (( Live )) with the 'paren's moving in and out like it's playing. It stops moving when I press the Pause button (which then turns to Play).

Any ideas?I've solved my problem - it had to do with VLC. Turns out I couldn't play any video files using VLC. I reinstalled and it's working.

e4gulf
04-05-2006, 10:53 PM
Alright I tried some different ports 80,81,82 and nothing worked. I also tried disabling windows firewall and my firewall on my router. Still doesn't work externally. Anybody got any ideas?

davidjames
04-05-2006, 11:13 PM
Alright I tried some different ports 80,81,82 and nothing worked. I also tried disabling windows firewall and my firewall on my router. Still doesn't work externally. Anybody got any ideas?I know a bit about networking, but not a lot. I think you may be better off choosing a very high numbered port (up to 64k?). On my dlink router, port forwarding is called "virtual server" and I used a port in the 19000 range and it worked fine. I tried to specify the default 8080 port and the dlink complained that it was already used. Make sure your router isn't giving you an error that you're missing.

You could try to open a cmd window and do netstat -a, that will display all listening ports. If you've succesfully changed the port you should see many lines, but one of them will be like this:

TCP TheHostName:xxxxxx (where TheHostName is the name of your computer and xxxxx is the port you put in the sage.properties file.

bcjenkins
04-06-2006, 06:56 AM
Alright I tried some different ports 80,81,82 and nothing worked. I also tried disabling windows firewall and my firewall on my router. Still doesn't work externally. Anybody got any ideas?
I have seen some ISPs (Cablevision jumps to mind) which don't allow ports below 10000 to be accessed externally. This is to prevent users from running "business" servers over residential pipes.

HIH

B

gplasky
04-06-2006, 07:25 AM
Alright I tried some different ports 80,81,82 and nothing worked. I also tried disabling windows firewall and my firewall on my router. Still doesn't work externally. Anybody got any ideas?
Did you follow the instructions in the wiki for opening or forwarding the port/ip address on your router and have a DNS name that references that IP address? disabling your firewall on your router isn't going to help-you need to forward the ip/port so the you can hit it from the Internet.

Gerry

crzyglue
04-06-2006, 09:12 AM
Suck it and see. :)
It allows you to use a web browser anywhere to setup recordings, favourites, browse your EPG, see what's recording now or will record soon, and even allows you to setup web access to your documents at home.

It's a wonder... :thumb:

Damn! This would kick ass!

So you are basically saying that I can control my sagetv on my home PC from my work PC via the internet?

Do I need the webserver installed on my home PC, work PC, or a seperate PC connected to the home network, or what?

If I wanted to watch a show on my work PC that I just recorded on my home PC, is this possible? If so, what do I need to install on what computer?

I need to get this to check out!

JBurgin
04-06-2006, 11:06 AM
It's me again Margaret

I am having a rather difficult time with the separate user accounts/permissions setup. Essentially what we want to do is have two different user accounts, one for the SageTV maintenance team, and one for the teachers. The Sage maintenance account would have access to everything. The teachers account would have read-only access so they can see what tuner is on which channels and what's being recorded, but they would be unable to schedule their own shows or delete recorded shows from the web interface.

Here's the user information from my realms.properties file. I have followed instructions from the Wiki and from other posts in this forum, but try as I might...it is not working. I hope you guys can help.

SageTV Web Interface=/sage,teacher:teach

SageTV Web Actions=/sage/RecordingSchedule,boesage:$ag3
SageTV Web Actions=/sage/Command,boesage:$ag3
SageTV Web Actions=/sage/AiringCommand,boesage:$ag3
SageTV Web Actions=/sage/ManualRecord,boesage:$ag3
SageTV Web Actions=/sage/ResolveConflict,boesage:$ag3
SageTV Web Actions=/sage/TimedRecord,boesage:$ag3
SageTV Web Actions=/sage/MediaFileCommand,boesage:$ag3
SageTV Web Actions=/sage/ForceEpgUpdate,boesage:$ag3
SageTV Web Actions=/sage/EditShowInfo,boesage:$ag3
SageTV Web Actions=/sage/EncodeCommand,boesage:$ag3
SageTV Web Actions=/sage/FavoriteCommand,boesage:$ag3

SageTV Web Actions=/sage,boesage:$ag3

nielm
04-06-2006, 11:58 AM
The order of entries is important...
try this:

SageTV Web Actions=/sage/RecordingSchedule,boesage:$ag3
SageTV Web Actions=/sage/Command,boesage:$ag3
SageTV Web Actions=/sage/AiringCommand,boesage:$ag3
SageTV Web Actions=/sage/ManualRecord,boesage:$ag3
SageTV Web Actions=/sage/ResolveConflict,boesage:$ag3
SageTV Web Actions=/sage/TimedRecord,boesage:$ag3
SageTV Web Actions=/sage/MediaFileCommand,boesage:$ag3
SageTV Web Actions=/sage/ForceEpgUpdate,boesage:$ag3
SageTV Web Actions=/sage/EditShowInfo,boesage:$ag3
SageTV Web Actions=/sage/EncodeCommand,boesage:$ag3
SageTV Web Actions=/sage/FavoriteCommand,boesage:$ag3

SageTV Web Interface=/sage,teacher:teach
SageTV Web Interface=/sage,boesage:$ag3

JBurgin
04-06-2006, 01:25 PM
The order of entries is important...






:bang: :bang: :bang:

Could've sworn I had it setup like that once....grrr...anyway. It works now, thanks Nielm!

e4gulf
04-06-2006, 06:16 PM
Did you follow the instructions in the wiki for opening or forwarding the port/ip address on your router and have a DNS name that references that IP address? disabling your firewall on your router isn't going to help-you need to forward the ip/port so the you can hit it from the Internet.

Gerry

I've forwarded each and every port that I tried though my router to my internal IP address. Why should I have to have a DNS name setup if I have the public IP? All I can say is that I do these sort of things on a daily basis. Anyone who has this working please offer any constructive input that you can. I also tried port 25000 and that didn't work either. As a side note, I am port forwading rdp, vnc, bittorrent, and emule ports without any problems. Oh, yea I am on cablevision/optimum online.

gplasky
04-06-2006, 07:45 PM
I've forwarded each and every port that I tried though my router to my internal IP address. Why should I have to have a DNS name setup if I have the public IP? All I can say is that I do these sort of things on a daily basis. Anyone who has this working please offer any constructive input that you can. I also tried port 25000 and that didn't work either. As a side note, I am port forwading rdp, vnc, bittorrent, and emule ports without any problems. Oh, yea I am on cablevision/optimum online.
You're not the only one that does this for a living.
On my router I forwarded port 8080 for TCP to the IP address of my Sage server 192.168.blah.blah and to always allow this. (Dlink 614+)
On DynamicDNS i created an account with my own DNS name that references my public address 68.blah.blah.blah

From outside of my house I input mydnsname.dvrdns.org/Sage/home and bingo-I get my dialog to log in and I get my Sage web page.

I guess you don't really need a DNS name if you don't mind leaving your public IP lying around in someone's Internet cache.;)

Did you actually verify your setup is working on the local machine with http://localhost:8080/Sage/home or whatever port you think you have it configured for. And do you have any other webservers running on that machine? Could be part of your issue.

Gerry

IVB
04-07-2006, 12:36 AM
Nielm, you are my new favorite person. Forever and a day later, I realized that I could use your webserver plug-in to render a SageTV screen inside CQC. The reason this is cool is that I can use CQC to control my HT equipment over RS232, and SageTV for the TV stuff, all on the same screen. Note the top/left nav.

Check it out...

Big thanks, man.

http://www.myhometheaterpc.com/screenshots/vladstudio/VladStudio_Sage1.JPG

nielm
04-07-2006, 07:25 AM
New version -- mainly bugfixes: V2.8 Apr 07 2006 -- for Sage versions 2.2-4.1

BUGFIX: search pages are correct now
BUGFIX: Favorite priority setting now works again
BUGFIX: Changed action links into real buttons (avoid possible pre-caching problems)
ENHANCEMENT: Added num resolved conflicts to home page
ENHANCEMENT: IR suggestions RSS feed, Conflicts RSS feed
ENHANCEMENT: Removed authentication for RSS feeds
-- (Record Schedule RSS feed path has been changed you will need to re-add the feed to your reader)
ENHANCEMENT: Added XML output for conflicts


Note: you may need to refresh your browser after installation to get the latest CSS stylesheets, otherwise you may have odd looking buttons on the detailed info pages...

cslatt
04-07-2006, 09:02 AM
You rock! :clap: :jump:

cslatt
04-07-2006, 10:58 AM
Hmmm...sadly all of the rss links just seem to point back the web page I'm on instead of actually having rss. Am I doing something wrong?

nielm
04-07-2006, 12:32 PM
The rss links should be:http://mediaserver:8080/sagepublic/Rss/RecordingSchedule
http://mediaserver:8080/sagepublic/Rss/IRSuggestions
http://mediaserver:8080/sagepublic/Rss/Conflicts
The servlets.properties file got updated in this build to add the sagepublic/Rss servlet -- check that the updated file got installed...

Neo
04-07-2006, 01:00 PM
This addon is brilliant, thanks Nielm!

I've got one small problem though. If I click on for example "additional airings" and the search field contains umlauts (like or ), the text in the search field gets garbled. I noticed that the browser in these cases switches character encoding from iso-8859-1 to utf-8. If I first change to 8859-1 and then correct the text, the search works. I get the same behaviour in both IE and Firefox.

Is this a bug in the webserver, or in windows? Or maybe usage error? :blush:

cslatt
04-07-2006, 10:42 PM
If I type those RSS urls into my browser they work fine, but the orange RSS buttons don't seem to take me to those urls.

DisplacedDimCap
04-08-2006, 12:26 AM
If I type those RSS urls into my browser they work fine, but the orange RSS buttons don't seem to take me to those urls.

It's working beautifully for me, thanks Neilm!!! Sounds like some files didn't get overwritten with the new version. I'd suggest making sure you have a good back up of your important Sage files and folders (better safe than sorry), exiting any open clients, stopping the service, and then overwriting all the webserver files again with the most current version, with the exception of any of the *.Properties files you've modified of course. Start everything back up and give it a try. I can't say for sure that'll fix your problem but it's not a bad place to start.

Thanks again Neilm

:goodjob: :thumb: :clap: :dance: :D

nielm
04-08-2006, 02:10 AM
If I type those RSS urls into my browser they work fine, but the orange RSS buttons don't seem to take me to those urls.Try the blue http://www.sage-community.org/~nielm/webserver/rss_button.png ones :) (the orange ones are for XML show info output)

davephan
04-08-2006, 09:56 AM
I had the web server 2.6 version setup under my Windows 2000 installation of SageTV, the web server was working OK and allowed me to configure Show Analyzer to not process commerical free channels.

I then tried using the web server version 2.7 on my Windows XP Pro rebuild of the SageTV software. The version 2.7 web server did not allow me to successfully configure Show Analyzer to not process commerical free channels.

I then tried using the web server version 2.6 on my Windows XP Pro rebuild of the sageTV software. The web server did work with Show Analyzer, but resulted in 100% sustained CPU. I let the computer stay in that state to determine how long the high CPU utilization would last -- it was still at 100% CPU after running all night. Warm and cold booting did not help. I immediately resolved the problem by removing net.sf.sageplugins.webserver.StartServer from the Load _at startkup_runnable_classes= line in the sage.properties file.

I haven't tried the version 2.8 on my Windows XP Pro rebuild yet.

Has anyone experienced this 100% CPU utiliization problem using Windows XP?


Dave

cslatt
04-08-2006, 10:46 AM
Try the blue http://www.sage-community.org/~nielm/webserver/rss_button.png ones :) (the orange ones are for XML show info output)

I swear, I'm not crazy. I am clicking on the blue ones and instead of taking me to http://mediaserver:8080/SagePublic/Rss/RecordingSchedule it takes me to http://mediaserver:8080/Sage/RecordingSchedule

I even tried re-installing. I closed the sage ui, stopped the sage service, unzipped the new zip file to my sagetv folder, updated my username and password in the realms.properties file and started everything back up again and it is still doing it.

cslatt
04-08-2006, 10:49 AM
A picture is worth a thousand words right?

http://mizook.com/temp/rssproblem.jpg

gplasky
04-08-2006, 11:47 AM
And what RSS reader are you using?

And you right-clicked on the RSS button and copy shortcut to your RSS reader and pasted that in. Correct?

Gerry

nielm
04-08-2006, 01:55 PM
cslatt: Ok I believe you...
I am replacing /sage/ in the path with /sagepublic/Rss...
You are accessing it with /Sage/
Guess I should make that replace case-insensitve :)
(Workaround: use /sage/ in your path!)

Alfiegerner
04-08-2006, 04:32 PM
hi nielm,

Just spotted a small problem. This happens in the grid epg page. if you click on on a program link for the detailed info of a program that is currently recording you get an invalid AiringId page.

It looks like the AringId and MediaFileId's are getting mixed up for programs that are being recorded.

e.g. Here is the broken link in the grid epg section for a program I am recording:

http://127.0.01:8080/sage/DetailedInfo?AiringId=2275553

This takes you to the invalid AiringID page.

'2275553' is actually the MediaFileID. In this instance the AiringID is '2204289'. So the link should be:

http://127.0.01:8080/sage/DetailedInfo?AiringId=2204289

which goes to the right page.

Just to let you know :)

p.s. I use your web interface pretty much every day - thanks for a great bit of kit.

cslatt
04-08-2006, 08:14 PM
cslatt: Ok I believe you...
I am replacing /sage/ in the path with /sagepublic/Rss...
You are accessing it with /Sage/
Guess I should make that replace case-insensitve :)
(Workaround: use /sage/ in your path!)


Yep, that did it! Thanks!

MrE
04-12-2006, 12:22 AM
Only been a SageTV user for 1 month, but this is a great plugin!
I was using TightVNC to manipulate my SageTV box, but this is so much easier and provides much more information visually!

michelkenny
04-12-2006, 07:26 AM
It looks like the new buttons don't support line breaks. Take a look at my attached screen shot for the "Play in Extender" buttons.

teknubic
04-12-2006, 02:26 PM
After failing a couple attempts at remembering to record a show or sending myself an email reminder, I installed this plugin last weekend.
First, let me say that there are not many things that change a persons TV viewing habits like TiVo or SageTV does but I have to say that this plugin is quite possibly one of them:
Gone are the days of missed recordings due to my ever-failing memory for these types of things.
Gone are the days of losing a recording because the archive flag was not set after I watched it when the wife fell asleep.
And gone are the days of not recording coverage of historical events happening right now.
Thank you, nielm, for making it so easy to fix such a big problem. :thumbup:

ToonGal
04-16-2006, 07:17 PM
Playing around w/ SageTV v4.1.13 and I like what I see, especially the integration you have with the webserver.

- BUG: The "Ebert & Roeper" bug I've PM'd you about is STILL present w/ Sage v4 / web v2.8. I thought it was using old SageTV, but anything I've tried w/ an '&' in the title simply doesn't work for "Search", "Additional Airings" or the like. Just FYI.

- BUG: "Show description in title-text" toggle on "EPG grid view" broken
However, when you "Enable" the "show description" on "EPG list view", then the descriptions work on both grid/list views.

- SUGGESTION: "EPG week view" (i.e. http://tvlistings2.zap2it.com/grid_1.asp?station_num=10717&partner_id=national&4/16/2006)
This is close to the "EPG grid view", but shows a full week for a specific channel (7 days midnight to midnight of day selected onward). Should have left/right arrows to show different channels with a text box on top to select date/channel to display. Options should allow same as grid/list.

- SUGGESTION: Categories filter
On Zap2It, they have an ability to filter out categories. For example, selecting "sports" shows only channels with a sports entry. Best if, like on Zap2It, it is available for all of the EPG display sections.

- SUGGESTION: Channel logos / names
If CLs are enabled, the station ID disappears. I think it should have both (i.e. pic + "2 - KTVU"). In addition, if possible, it would be nice to have a configurable .ini file to associate with the station ID. In the .ini file associate a URL with the call sign. For example: KTVU http://www.ktvu.com/index.html, for quick access, with no link of the call sign is not listed in the .ini file.

- QUESTION: Ratings?
On the Zap2It version, it shows ratings like "TV-13" for shows. Since I don't have access to Sage's innards, is this something available, or not passed on by SageTV? If so, VERY useful info to display on detail and/or grids.

- QUESTION: Colors?
On SageTV v4, it looks easy enough to change colors for categories. Was thinking of setting them up there. Figured might as well do it on the web server too. Looked at the .css files and got confused. For instance, what's "oldmovies

- QUESTION: wiz.bin access?
With the intelligent suggestions, it seems to use things no longer of interest (i.e. things of my ex). Any possibility of removing 'watched' shows via the webserver in the future to help clean up sins of the past? Would slim down the wiz.bin file (which grew by 35+% after upgrading to v4) and make the history more accurate.

- SUGGESTION: watched shows grouping
I think I might have mentioned it before, but especially if you can clean up the wiz.bin, grouping the files by title in the 'watched' section would be greatly helpful.

- COMMENT: Firefox really does look nice the way it highlights the cells. Too bad it can't work as well on IE.

- COMMENT: REALLY like the way this integrates into v4.x in that I can control EVERYTHING from the webserver! Yay! I -love- the intelligent suggestions! Seriously considering abandoning v2.2.8/Cayars because of your integration, here! Just have to learn now how to rebuild everything I've grown used to using.

Thanks as always Nielm! :)

nyplayer
04-25-2006, 05:57 PM
I currently encode some of the series I want to keep to WMV.

This is the procedure I use.

1.Shutdown all of Sage.
2. Delete the Recorded shows.
3. Copy the WMV files to my import folder.
4. Bring up sage.

Sage recognizes the new files and keeps the Details. But there is just one problem. The File start time gets messed up. It changes from 0 to a random number. This causes the time to be off on the file.

I use Webserver to change the File start time back to 0..... but this changes the EPGID. It makes it something like EPext1.. etc... Is there a way to change File start time and not have the EPGID change. If I unselect Generate New EPGID.. the file gets deleted.

nielm
04-26-2006, 03:23 AM
The file gets deleted? Ouch... Will have to look into that one... (part of the edit show info means that the file has to be renamed: is it possible that the Sage user does not have privilages on the directory?)

To solve your problem at source, set the WMV files' timestamp to be the time/date when the show finished before bringing up sage (Sage uses the timestamp + file duration to get start time)...

mkanet
04-26-2006, 01:02 PM
I'm not sure if it was already mentioned in this lengthy thread; but, is there a way to have the web interface automatically try to launch Placeshifter (if installed on the local PC) and switch to the appropriate channel from the "Detailed Information" section?

-Michael

ToonGal
04-28-2006, 05:20 PM
When running "Web Remote for Local SageTV" I get the following error:

UI Context: "SAGETV_PROCESS_LOCAL_UI" is not active:
Webserver is running in SageTV Service - no remote control possible
use: /sage/SageCommand?command=<command>&context=<context>

I also used to have an option to control which file was playing from the web server. I don't know if this broke when I upgraded from v4 to v5 or if something else is wrong.

Ideas?

ignarps
04-28-2006, 05:54 PM
I love this mod. I am getting this error when I have an MVP plugged in.


Fri 4/28 15:50:25.161 java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
Fri 4/28 15:50:25.190 java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
Fri 4/28 15:51:15.908 Exception in the MiniUIClientReceiver of: java.net.SocketException: Connection reset
Fri 4/28 15:51:15.909 Killing UIMgr UIManager:localhost@@000dfe077b48
Fri 4/28 15:51:15.910 Seeker.finishWatch(UIManager:localhost@@000dfe077b48)

gplasky
04-28-2006, 08:08 PM
When running "Web Remote for Local SageTV" I get the following error:

UI Context: "SAGETV_PROCESS_LOCAL_UI" is not active:
Webserver is running in SageTV Service - no remote control possible
use: /sage/SageCommand?command=<command>&context=<context>

I also used to have an option to control which file was playing from the web server. I don't know if this broke when I upgraded from v4 to v5 or if something else is wrong.

Ideas?
You can't Web remote with only Sage TV service running. You have to run the full UI instead of the service.

Gerry

ToonGal
04-28-2006, 08:54 PM
You can't Web remote with only Sage TV service running. You have to run the full UI instead of the service.This is going to sound stupid, but what do I have to do to "run the full UI"? I upgraded from v2.8 to v4 to v5 in very quick succession, and thought I did it right. (Even think this worked on v4.)

I have the SageTV service running to record programs; I have a SageTV process running to be the viewer. Is there more to it than that?

Thanks!

nielm
04-29-2006, 03:50 AM
If you want to contol the ui when you are also using service mode, add the webserver startup to SageClient.properties, and specify a different port. Connect to this second webserver port to control the UI. (bottom of installation instructions (http://www.sage-community.org/index.cgi/wiki/WebserverInstall))

gplasky
04-29-2006, 08:05 AM
This is going to sound stupid, but what do I have to do to "run the full UI"? I upgraded from v2.8 to v4 to v5 in very quick succession, and thought I did it right. (Even think this worked on v4.)

I have the SageTV service running to record programs; I have a SageTV process running to be the viewer. Is there more to it than that?

Thanks!
So you learn something new everyday. When you run the service you need to also run Sage as a client (sagetv.exe on the server) and add the webstart to the Sageclient.properties file using a different port. Or don't run the service and run sagetv.exe. You will get the UI (user interface)and it also runs as the server. The webstartup would be in the sage.properties file for it to work with the default port.

Gerry

ToonGal
04-29-2006, 10:17 AM
As it turns out, I (originally) had everything configured correctly, but a DISASTROUS problem. My C: drive ran out of space, due to a log gone crazy. Consequently, my .properties files for SageTV were both truncated. I can't even figure out how that machine continued to work at all during that period. VERY strange.

A good history of backups is invaluable, and all back as it should be by basically replacing the truncated part with the backup.

Thank you all for the help. All is once again as it should be, and the other recent system errors in my life are probably related to that.

nicklaz
04-30-2006, 08:20 PM
will any versions work with sageV5?

ke6guj
04-30-2006, 08:27 PM
will any versions work with sageV5?

Worked just fine with v5

DIBU
05-02-2006, 02:53 AM
i have switch to v5 (with the german gui). now in web epg the movies..ect.. are not with color. :eek:

all are blue..also in the upcoming recording..but the old recording are with color.

cu

BBCritical
05-02-2006, 08:47 AM
Is there a builtin way to list all music files albums, tiltes or playlists without doing a search first? .. and on top of that can we play files directly from a playlist? If not this would be a great addition and yet another way areound the flawed music interface ... :D

briands
05-02-2006, 02:03 PM
Is there an RSS for recordings?

nielm
05-08-2006, 04:39 AM
I currently encode some of the series I want to keep to WMV. ...
I use Webserver to change the File start time back to 0..... but this changes the EPGID.

If I unselect Generate New EPGID.. the file gets deleted.Found out why this was occurring... If the Show ID, the Airing Start Time and Duration are the same, Sage keeps the old Airing ID... Which means that the file does not get renamed, and then when the old Sage DB entry is deleted, the file also gets deleted...

For the moment, consider the 'do not Generate New EPGID' as unsafe -- it will probably be OK if you change the airing start time, or the airing duration... I will have to figure out a different way of doing this...

bmadgett
05-08-2006, 11:58 AM
I love this mod. I am getting this error when I have an MVP plugged in.


Fri 4/28 15:50:25.161 java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
Fri 4/28 15:50:25.190 java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
Fri 4/28 15:51:15.908 Exception in the MiniUIClientReceiver of: java.net.SocketException: Connection reset
Fri 4/28 15:51:15.909 Killing UIMgr UIManager:localhost@@000dfe077b48
Fri 4/28 15:51:15.910 Seeker.finishWatch(UIManager:localhost@@000dfe077b48)

I get the exact same problem. Sage v5, MVP, webserver plugin 2.8. Would love to know how to fix it.

nielm
05-08-2006, 01:22 PM
Fri 4/28 15:50:25.161 java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;check that nielm_sageutls.jar in the JARs dir matches the one in the webserver zipfile; check that you have deleted any net/sf/sageplugins folders in the sagetv home dir (as mentioned in install instructions). Other than that, can you let me know where you saw that error, and check if there is something similar but more detailed in the webserver log file (webserver/log directory)

banmj
05-09-2006, 01:05 PM
I am trying to figure out a way to turn the mvp player off remotely from the internet. I have been playing around with webremote. I am able to use the power command, but this only puts it to sleep or wakes it up. Does anyone know of a command that will power the MVP down.
Thanks

Jere_Jones
05-09-2006, 08:43 PM
neilm,

Is there a "Context" that will check all clients if the webserver is running on the server? I'm talking about the currently playing screen.

Jere

nielm
05-10-2006, 05:06 AM
Jere: no. Sage has no API which can tell you what the Sage Clients (as opposed to extenders/placeshifters) are doing -- the only workaround would be a webserver instance running on each client.

banmj -- there is no Sage API that can remotely power down the MVP -- there are rumours of a port on the MVP that you can telnet into though...

JUC
05-11-2006, 08:31 AM
Is there a way to stream whole albums? I don't see a way to play the entire album using the webserver (i'm probably missing it though). If I click on the first song in the album it only plays that one and stops...
Thanks
JUC

cmaffia
05-16-2006, 08:07 PM
Did a fresh install of 5.02 with 2.28 webserver
When I choose Watch (local file) and choose Media Player.. get a black box.. no stream.. When I install VideoLanClient.. does not play or even make a call to videolan.. says error on page on the bottom of the browser. Am I missing something? Thanks

dragon
05-16-2006, 08:49 PM
Did a fresh install of 5.02 with 2.28 webserver
When I choose Watch (local file) and choose Media Player.. get a black box.. no stream.. When I install VideoLanClient.. does not play or even make a call to videolan.. says error on page on the bottom of the browser. Am I missing something? Thanks The default install of VideoLan does not install the plug-ins for IE and Mozilla. You need to select those manually during the install.

cmaffia
05-16-2006, 08:56 PM
Thanks for the tip Dragon!:)
I reinstalled and checked everything.
Now I can go to Watch Streamed and VideoLan plays however when I choose Watch Local nothing starts regardless if I choose VideoLan or IE.

The default install of VideoLan does not install the plug-ins for IE and Mozilla. You need to select those manually during the install.

dragon
05-16-2006, 09:38 PM
Thanks for the tip Dragon!:)
I reinstalled and checked everything.
Now I can go to Watch Streamed and VideoLan plays however when I choose Watch Local nothing starts regardless if I choose VideoLan or IE.Same here. I never have gotten Watch Local to work -- which I really don't need since I have SagePlaceshifter and the WatchStreamed.

Of course, what is "watch local" supposed to do? Does it copy the entire file to the current client and then play it -- if so, that will take a few minutes to transfer a 2GB file across the network from the SageTV server. I'd rather watch it streamed...

cmaffia
05-16-2006, 10:28 PM
Then i am content if it doesn't work on someone else's setup :D
Thanks again

Same here. I never have gotten Watch Local to work -- which I really don't need since I have SagePlaceshifter and the WatchStreamed.

Of course, what is "watch local" supposed to do? Does it copy the entire file to the current client and then play it -- if so, that will take a few minutes to transfer a 2GB file across the network from the SageTV server. I'd rather watch it streamed...

nielm
05-17-2006, 01:29 AM
Of course, what is "watch local" supposed to do?it tells the media player plugin to play the file directly from the disk path shown in the detailed info page... (it uses the 'file playlist' that is also on the detailed info page)
This will only work if
you are on the server
or you are using UNC paths with appropriate share permissions
or if you are using drive letters, and the PC you are browsing from has a mapped drive to the server drive with *exactly* the same drive letter/path to the video files...

cmaffia
05-17-2006, 09:11 AM
Makes sense now.
Thanks for the clarification Nielm!

it tells the media player plugin to play the file directly from the disk path shown in the detailed info page... (it uses the 'file playlist' that is also on the detailed info page)
This will only work if
you are on the server
or you are using UNC paths with appropriate share permissions
or if you are using drive letters, and the PC you are browsing from has a mapped drive to the server drive with *exactly* the same drive letter/path to the video files...

BBCritical
05-25-2006, 02:06 PM
Is there something that I can enter into the search box for albums to list all of the albums in my music directories... I tried to use (*) but it does not work...

cslatt
05-25-2006, 04:39 PM
Is there something that I can enter into the search box for albums to list all of the albums in my music directories... I tried to use (*) but it does not work...

Leaving the search box blank seems to work. When I tested this though, I ran into a (I think) unrelated problem. I got this error for one of my albums/songs/whatever

Exception while processing servlet:
java.lang.reflect.InvocationTargetException: Exception while executing SageApi: "HasAlbumArt" numargs=1
java.lang.reflect.InvocationTargetException: Exception while executing SageApi: "HasAlbumArt" numargs=1
at net.sf.sageplugins.sageutils.SageApi.Api(SageApi.java:20)
at net.sf.sageplugins.sageutils.SageApi.booleanApi(SageApi.java:144)
at net.sf.sageplugins.webserver.Airing.printAiringTableCell(Airing.java:355)
at net.sf.sageplugins.webserver.SearchServlet.doServletGet(SearchServlet.java:520)
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:1553)
at Acme.Serve.ServeConnection.parseRequest(Serve.java:1528)
at Acme.Serve.ServeConnection.run(Serve.java:1415)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sage.SageTV.api(Unknown Source)
at net.sf.sageplugins.sageutils.SageApi.Api(SageApi.java:17)
... 10 more
Caused by: sage.d.e: Error in method reflection of HasAlbumArt of java.lang.NullPointerException
at sage.as.a(Unknown Source)
at sage.d.a(Unknown Source)
... 12 more

Just thought nielm would want to know.

dragon
05-25-2006, 08:28 PM
Is there something that I can enter into the search box for albums to list all of the albums in my music directories... I tried to use (*) but it does not work...
Just leave the search field blank and pick the "Search in" "Title/Album" option. This will give every track on every album.

Set the display to "All" if you want all entries listed; but, if your MP3s are across your network, expect the result to take a while.

I don't see an option for Album only -- sounds like it could be helpful for big collections.

klunde
06-06-2006, 03:38 AM
Why can't I select recurring interval when adding a timed recording? Is there a special reason this isn't included in the web interface?

nielm
06-07-2006, 02:14 PM
Why can't I select recurring interval when adding a timed recording? Is there a special reason this isn't included in the web interface?It's because the web interface cannot handle the possibility of recording conflicts with other manual recordings when adding recurring timed recordings...

klunde
06-08-2006, 01:52 AM
OK, I see. The reason for asking was that I in the past few days had to re-enter 120 manual schedules about 5 or 6 times and that sure takes time when you have to scroll up/down on the time-wheel all the time...

stanger89
06-10-2006, 10:33 PM
Hey neilm, do RSS and SSL not play nicely together? I'm having trouble with the RSS pages/feeds once I subscribe to them with IE 7

dblaine2
06-11-2006, 06:24 PM
Sorry if this has been answered but....

I have webserver 2.8 installed on Sage 5.0.3 beta and trying to watch streaming content on my lan using the latest VLC (0.8.5). VLC starts and plays maybe a second of content then freezes.

I switched to HTTPS and I don't even get that far. VLC just stays blank.

Any ideas?

nielm
06-12-2006, 01:54 AM
stanger: (I don't use SSL) There should be no difference on the webserver side between RSS over HTTP and RSS over HTTPS -- perhaps IE7 does not like RSS over HTTPS? Have you tried a different reader?

dblaine2:
I have not tried VLC 0.8.5 yet: try using the full VLC to view the streaming content (either click on the streaming M3U playlist and open it in VLC, or copy the filename http hotlink and open it in VLC). Turning on messages in VLC may indicate where the problem is.

Streaming over HTTPS is not supported by most video players.

dblaine2
06-12-2006, 07:22 PM
Thanks nielm.

I tried your suggestion and when using the full VLC client it play excruciating slow - really low fps. I don't have this problem with placeshifter or even the sage client. Is there some tuning to help this out? I am using 802.11g with standard HTTP.

So your statements says most... does that imply you know some that do support HTTPS streaming?

kato
06-13-2006, 08:37 AM
I just started playing with a trial of Sage TV and the this webserver plug-in and I've managed to fix any problems i've had so far using the forums...anyway I've encountered some issues with the webserver I just can't figure out:

When I try to select "Favorites Manager" or "Intelligent Recording" I get a Page not found 404 error(I'm using IE6). Intelligent recording is enabled in Sage TV and there are favorites present as well.

Station logos won't show up properly in the EPG Grid View or List View. They show up as broken links(picture with a red X). The Station names show up when I pass my mouse over them but that's it. The Station logos do appear properly in Sage TV itself.

Any help is appreciated...I'm using the latest 2.8 version.

cslatt
06-13-2006, 10:09 AM
I just started playing with a trial of Sage TV and the this webserver plug-in and I've managed to fix any problems i've had so far using the forums...anyway I've encountered some issues with the webserver I just can't figure out:

When I try to select "Favorites Manager" or "Intelligent Recording" I get a Page not found 404 error(I'm using IE6). Intelligent recording is enabled in Sage TV and there are favorites present as well....Any help is appreciated...I'm using the latest 2.8 version.


I believe the Intelligent Recording feature in the web server requires version 4.0 or higher of SageTV. The favorites manager might require the same thing, I'm not sure.

kato
06-13-2006, 10:34 AM
I'm using v5.0.4 of Sage TV...

nielm
06-14-2006, 04:45 AM
When I try to select "Favorites Manager" or "Intelligent Recording" I get a Page not found 404 error(I'm using IE6). Intelligent recording is enabled in Sage TV and there are favorites present as well.Check that you installed it correctly -- it sounds like the webserver/servlets.properties file was not updated.

kato
06-14-2006, 11:22 AM
Thank you! I just re-extracted the .zip file and started from scratch. I guess SageEncoder(which I installed after) has an older servlets.properties(was missing some lines of code) file and replaced your newer one. I don't even think I was supposed to extract that "Neilm's Web Server changes v1.4.zip" file. That was my own stupidity... :bang: Anyway all my problems are solved.

robgfaulkner
06-14-2006, 10:06 PM
Curious, Im getting a strange error when I try to access my sagepublic/RecordingSchedule RSS Feed.

Check out the screenshot.

I checked the servlets.properties file, and it matches what you have in the 2.8 zip. I have no real clue. XML files come back fine.

Any ideas?

-Rob

mkanet
06-16-2006, 06:14 PM
Hi Nielm, any chance we will see an update some time soon which has HDTV/First run marker icons when showing the TV listings in grid view? Currently, I have to click on each show to find out whether its in HD format or first run.

Thanks for the irreplaceable addon!

jamart3d
06-19-2006, 12:37 PM
Thanks nielm , Wheemer, jreichen,
for this very usefull plug-in..
:thumb:

nickmpower
06-20-2006, 01:28 AM
it seems like the installation guide is only to run it on the computer with sage installed???

what do i do if i want to do it through a laptop on the same network as the comp with sage installed?

or is the "localhost" suppose to be changed with the computers IP? what if i have a dsl modem and router and want to use a computer not on my network?

Opus4
06-20-2006, 02:16 AM
Have you checked out all the instructions on the Sage TV Web Interface wiki (http://www.sage-community.org/index.cgi/wiki/WebServer)?

The installation instructions also cover using it on a client, and there is a link that explains how to configure for remote access.

- Andy

nickmpower
06-20-2006, 10:49 AM
well i guess that wont work for me because the client is too much for the 600mhz I wanted to use it on

rickgillyon
06-20-2006, 11:01 AM
I don't know if you're misunderstanding this plugin, but you install the webserver as per the instructions on your Sage server. Then by putting in the ip address of your Sage machine e.g.
http://128.168.1.1/sage/Home
you can run the web interface from any PC with a web browser on your network - no install is required there, just a browser. External to your network, you can do the same using your external IP as long as you set up the routing through the router.

nickmpower
06-20-2006, 01:54 PM
ok nice
i thought it would be kind of weird if it only worked on the computer with sage installed!!!

I will install it this afternoon and come back if (when) i run into trouble

thanks

nickmpower
06-20-2006, 06:19 PM
how am i supposed to edit the .properties files?

Opus4
06-20-2006, 06:34 PM
how am i supposed to edit the .properties files?Do you mean the sage.properties file? If so, just close SageTV (or stop the service) so it isn't running any more. If you edit the file while SageTV is running, any changes will be ignored & overwritten.

After closing SageTV, you can edit the properties file in any text editor -- Notepad works, but be sure to uncheck Format -> Word Wrap. You should probably make a backup copy before you try editing it.

- Andy

nickmpower
06-20-2006, 06:53 PM
yeah i fugured that out. I went through the directions several times but it still wont work.

i go to http://localhost:8080/sage/Home and the page can not be displayed. I added the 3 or so files to JARs, coppied teh webserver folder in the same directory the jars folder is in, I also coppied it to the frey/sage tv folder, and i edited the 2 files.

any ideas? i had sage completly shut down during whole install and im running 5.0.4 with the newest web server

nickmpower
06-20-2006, 07:10 PM
well i think the directions say to edit the wrong file because i edited the sage.proerties file in program files/sage tv not the frey folder, and now i am a little farther. Now the login comes up but i cant login

ok it seems as the directions were wrong for both now i got it working, now to get it working on my laptop

rickgillyon
06-21-2006, 02:37 AM
If you are a new user with 5.0.4 there would never have been a "Frey" folder.

horseflesh
06-22-2006, 01:01 AM
I have a Roku M1000 SoundBridge--it's just a network MP3 player--but it has a big VFD display and a RSS ticker screen saver. Right now I have it showing the web server addon's Upcoming Recordings RSS feed. It's good, but it's too much data. I don't need episode titles and descriptions on that display.

An alternate RSS feed would be even better for my needs; really, all I want is what's recording now (in the feed's title) and what show is recording next as a single entry. I'm going to try assembling such an RSS file myself using scripts running my web server, pulling data in from the Sage web server, but I thought I'd throw out a feature request for even more RSS export. :)

Anyway, this addon is fantastic. Another benefit to ditching Beyond TV...

millers_35
06-23-2006, 09:16 AM
Do I have to configure this Plugin in anyway to get it to work with Placeshifter. I am using placeshifter at work and while it is connected I try to open up the web interface and I reciever the following error.

Currently watching:
On Sage Extender at 0007e95c08bb: [XML]

Exception while processing servlet:
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
at net.sf.sageplugins.webserver.HomeServlet.doServletGet(HomeServlet.java:151)
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:1553)
at Acme.Serve.ServeConnection.parseRequest(Serve.java:1528)
at Acme.Serve.ServeConnection.run(Serve.java:1415)
at java.lang.Thread.run(Unknown Source)




Everything else runs fine when the placeshifter client isnt running.

Miller

Opus4
06-23-2006, 11:21 AM
Just as a point of reference, I am able to have both the Placeshifter client & this web interface connect at the same time.

I don't know if it could make any difference, but are they both configured to use the same port to connect to the server? That's my only uninformed guess. :)

- Andy

nielm
06-23-2006, 12:14 PM
Do I have to configure this Plugin in anyway to get it to work with Placeshifter.noI am using placeshifter at work and while it is connected I try to open up the web interface and I reciever the following error. Exception while processing servlet:
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;Check that nielm_sageutls.jar was installed correctly (check that it has the same date/time and size as the one in the webserver zipfile)
Check that there is no net/sf/sageplugins/sageutils directory tree in your Sage program directory, and if there is, delete it.

millers_35
06-23-2006, 12:24 PM
Check that there is no net/sf/sageplugins/sageutils directory tree in your Sage program directory, and if there is, delete it.

The only directory there is net\sf\sageplugins\sagemenu "sageutils" is not there

The version of the jar file is 15KB 10/9/2005 @ 11:47 PM so that would be where the problem is.

Thanks for the help!!

Miller

srothwell
06-28-2006, 08:41 AM
For the first time, I tried to set up a favorite through the web server and it doesn't work.

I am using the latest version (2.8 I think) when I use the Search EPG, it will find the show. I then go into the detail and say SET FAVORITE. It will come up with the screen but nothing ever happens to the favorite list. If I try to hit SAVE FAVORITE button at the bottom of the screen, the next page just says ERROR.

I am running my server in service mode..... cvould this be it?

Thanks!

nielm
06-28-2006, 09:16 AM
Worked for me just now (also service mode) -- when you say 'Error', is it just that? Does the show name have any special characters (&+) in it?

srothwell
06-28-2006, 09:32 AM
Worked for me just now (also service mode) -- when you say 'Error', is it just that? Does the show name have any special characters (&+) in it?

On the show I'm trying to do, there is an exclamation mark in the title. Could that be messing it up? I tried on another and it worked fine.

hemicuda
06-28-2006, 11:28 PM
I'm not normally this dense, but maybe it's to do w/ the clock showing near midnight.:confused:

Went to http://www.sage-community.org/index.cgi/wiki/WebserverInstall
and followed it to the sourceforge download page for v2.8. Then went through the wiki page line by line to install it. Something seems odd to me that the link in the directions points to a place that doesn't appear to exist in the directory structure. I can load any of the html files in webroot/sage/ by opening them in a browser. However, when I try to use the localhost link in the wiki I get the error:
Firefox can't establish a connection to the server at localhost:8080.:bang:
Even tried 127.0.0.1:8080 "Home" just doesnt seem to exist. Did I miss something trivial?

Edit: Like I said "I'm w/ Stupid." Should have RTFM a little closer (Troubleshooting). 8080 was in use locally by something. Changed to 808 and it seems to be working.

Stuntman
06-28-2006, 11:32 PM
I'm not normally this dense, but maybe it's to do w/ the clock showing near midnight.:confused:

Went to http://www.sage-community.org/index.cgi/wiki/WebserverInstall
and followed it to the sourceforge download page for v2.8. Then went through the wiki page line by line to install it. Something seems odd to me that the link in the directions points to a place that doesn't appear to exist in the directory structure. I can load any of the html files in webroot/sage/ by opening them in a browser. However, when I try to use the localhost link in the wiki I get the error:
Firefox can't establish a connection to the server at localhost:8080.:bang:
Even tried 127.0.0.1:8080 "Home" just doesnt seem to exist. Did I miss something trivial?

Any chance you are running Windows XP? My guess would be a possible FireWall block on port 8080.. force that port open on both server and client and see if it changes anything...

hemicuda
06-29-2006, 12:12 AM
Any chance you are running Windows XP? My guess would be a possible FireWall block on port 8080.. force that port open on both server and client and see if it changes anything...

I use a form of 'secure' login to my box at home via SSH port forwarding. All my traffic goes through 127.0.0.2: port format. My initial trouble was on the laptop where it seems something else has 8080 tied up or blocked. That port works fine on the box at home though. Thanks.

dblaine2
07-04-2006, 10:05 AM
Hi nielm,

I record lots of VCR stuff which shows up in Sage as "No Data" but thankfully with your web server I can add all the information about the recording back in. The one thing I can't do is rename the file - it states file maybe in use. I'm certainly not watching it at the time but I do run Sage in service mode - could that be the problem?

pawn
07-06-2006, 09:04 AM
After upgrading to the latest webserver (from an early 1 .X version), i no longer get a fallback menu on a web browser with javascript disabled (not important, just debugging), but more importantly on my BlackBerry. The BlackBerry supports javascript, but I get an "Error in menu_items.js - check syntax" with it enabled (never got that with the older version either). The text menu would be just fine for the BlackBerry, but I can;t find a way to make it show up.

Something wrong?

Thanks.

AJ Bertelson
07-20-2006, 12:10 AM
After upgrading to the latest webserver (from an early 1 .X version), i no longer get a fallback menu on a web browser with javascript disabled (not important, just debugging), but more importantly on my BlackBerry. The BlackBerry supports javascript, but I get an "Error in menu_items.js - check syntax" with it enabled (never got that with the older version either). The text menu would be just fine for the BlackBerry, but I can;t find a way to make it show up.

Something wrong?

Thanks.
**IMPORTANT** If you are upgrading from a v1.x version, you must delete the following directory trees in your SageTV directory:
Acme
net/sf/sageplugins/sageutils
net/sf/sageplugins/webserver

found that on the web page http://www.sage-community.org/index.cgi/wiki/WebserverInstall
deleted those two files and it worked for me.

Kirby
07-23-2006, 07:12 AM
First off, this plugin is awesome! Thanks for writing it! But I have a few questions. I had one of my recording drives 'disappear' at some point, and all the files on it had their associated guide data erased because Sage couldnt 'see' them. I've recovered the files, but only as imports, so I am editting the guide info for them.

1) is it possible to add HDTV icons to shows that I am adding program information for? I set the program to be from the proper channel (in this case HDNet) and saved it, but it doesnt get an HD icon, and I didnt see a place to flag the file for such icon. Maybe this could be added as a feature if it isnt there already?

2) Ok, new question for #2, when I edit a show that HAD the HD icon, to change only its Category listing, the HD icon disappears. Am I doing something wrong, or is this just how it is for now?

nielm
07-24-2006, 05:12 AM
kirby:
1: No
2: it's how it is for now...

When this got written there was no way for entering the HDTV flag into Sage's db.. I think there is now, but I have not had time to update it... Sorry :)

Kirby
07-24-2006, 05:55 AM
kirby:
1: No
2: it's how it is for now...

When this got written there was no way for entering the HDTV flag into Sage's db.. I think there is now, but I have not had time to update it... Sorry :)

No problem! This whole plugin is so damn awesome that the lack of the HDTV flag doesnt matter, and I dont save non-HDTV shows anyway, so it doesnt matter. If you ever add it, it will just be an added little bonus! :)

rickgillyon
07-24-2006, 06:02 AM
Can I ask why shows with edited details become archived? Seems a bit strange to me, I never use archiving so I thought they'd disappeared when I couldn't see them in Sage. I then have to unarchive them to put them back where I want them...

Is it possible to make archiving optional when editing? Editing is another brilliant feature BTW, well done! :thumb:

Kirby
07-24-2006, 07:09 AM
Can I ask why shows with edited details become archived? Seems a bit strange to me, I never use archiving so I thought they'd disappeared when I couldn't see them in Sage. I then have to unarchive them to put them back where I want them...

Is it possible to make archiving optional when editing? Editing is another brilliant feature BTW, well done! :thumb:

Just go read here, and use one of the 2 methods listed towards the bottom of the page: http://www.sage-community.org/index.cgi/wiki/WebserverEdit

nielm
07-24-2006, 08:23 AM
Can I ask why shows with edited details become archived? Seems a bit strange to me, I never use archiving so I thought they'd disappeared when I couldn't see them in Sage. I then have to unarchive them to put them back where I want them...

Editing is done by:

rename file to a .tmp extension
delete sage's record of file from Sages DB
Add the edited Show info to db
Add a new Airing for the edited Show
Rename filename back to .mpg
Tell Sage to Add the file as a new library file
Tell Sage that this file refers to this new airing.
Step 6 will automatically make the file archived (so that Sage does not auto-delete it).

I considered adding an auto-unarchive step, but decided not to because Sage takes time linking airings to favorites. So there will be a finite amount of time when the newly edited file will not be a fave or manual record, and during that time will be a high priority candidate for deletion...

I decided it would be safer to leave it as archived, rather than risk the chance that Sage deletes it.

Also, edited files are likely to be ones that you don't want Sage to delete...

In any case, you can manually unarchive in both Sage and the webserver; and you can optionally include archived files in the Sage recordings list.

Is it possible to make archiving optional when editing? So, techinically yes, but it is risky. The whole editing thing is really prone to nasty things happening, hence the big warnings, and there is a big bug in there waiting for me to figure out a fix (keeping EPGID without changing Airing info leads to the file being deleted)

rickgillyon
07-24-2006, 08:54 AM
That makes sense. I guess I'll hunt out that option, then it won't really matter...

Thanks! :D

Kirby
07-24-2006, 08:55 AM
..and there is a big bug in there waiting for me to figure out a fix (keeping EPGID without changing Airing info leads to the file being deleted)

You mean the physical file is removed, or just the entry in the DB? I came very close to doing this last night, almost hit update without changing anything.

What would happen if we were to manually set a file to read-only in windows, prior to editting? I'm only thinking of things I would be keeping long term. Would that help protect things?

jreichen
07-24-2006, 08:52 PM
You mean the physical file is removed, or just the entry in the DB? I came very close to doing this last night, almost hit update without changing anything.

What would happen if we were to manually set a file to read-only in windows, prior to editting? I'm only thinking of things I would be keeping long term. Would that help protect things? I was able to go to the Edit Show Info page, copy the EPGID over to notepad, select Generate New EPGID, and click the Update button. This creates a new EPGID of EPext1. Then go back to the Edit Show Info page, enter the original EPGID, deselect Generate New EPGID, and click the Update button. The show will now have its original ID but will be archived.

If you want to unarchive, click Unarchive in the Detailed Info page. The show will be unarchived and set to a manual recording. As nielm said, if you want it to clear the manual recording status and have it show up as a recorded favorite you should wait a while before removing the manual status. I got back to it about an hour later and it had been reassociated with the favorite.

geogecko
07-24-2006, 10:15 PM
Would this be the correct entry in my router to set up port forwarding (virtual server) on my DI-604?

Sage Webserver 192.168.0.201 TCP 80/80 always

I entered 80 as the private port, and 80 as the public port, or should it read TCP 8080/8080?

Edit.

Oh, I get "Port range conflit with "Remote Managment http Server", when I try 8080/8080...

Edit 2.

I changed it to 8088/8088.

http://localhost:8088/sage/Home from the Sage machine works, but when I check with http://validator.w3.org/, I get "500 Can't connect to ***.no-ip.org:80 (connect: timeout)

Oh, why is it trying to connect to just port 80? Is that a setup thing with no-ip?

Edit Last.

Okay, figured it out, have to use Host Type: Port 80 redirect, and type in 8088.

Thank you for all your help, geogecko, it's been nice working with you.

Thank you nielm, this is a WONDERFUL plugin. I'm surprised I'm just now using it!

Snuffy2
07-27-2006, 10:55 PM
2 Webserver questions (v 2.8, Sage 5.04):

1. Can I search just for HDTV content using the Webserver?

2. When looking at the Grid view is there any way to add an HDTV icon for HD content?

Thanx
Snuffy2

popechild
07-28-2006, 10:34 AM
2 Webserver questions (v 2.8, Sage 5.04):

1. Can I search just for HDTV content using the Webserver?

2. When looking at the Grid view is there any way to add an HDTV icon for HD content?

Thanx
Snuffy2
2. No. Check the post about 10 before yours.

tmiranda
07-29-2006, 04:02 PM
Since there are a few recent posts on editing the show info I'd thought I'd take the opportunity to share a problem I've been having and see if anybody has an answer.

I have a bunch of recordings (mostly Christmas shows) made with BeyondTV that I wanted to get into Sage without having my wife have to go into the imported video section (WAF is important and getting her to understand Archived vs. normal Sage Recording was enough.) Anyway, when I edited the info for some of the shows I got an error "Error: failed setting airing on new MediaFile".

After editing all 50 or shows I noticed some very strange things such as the title of the show no longer matching the actual file on disk. (For example, "Rudolph and the Island of misfit Toys" shows up in the Archived Recordings but chosing it plays "Thomas The Train - Seasons".) An yes, I am sure I did not make a mistake during editing. Something like 25% of the editied shows end up like this.

Also, some of the source recordings are duplicated. From reading nielm's post from above it seems to me that the new copy with the updated show title and ID is created but never deleted after the editing procedure fails.

Sometimes after this failure I end up with a new archived recording that has the show name and episode changed to be just the episode name. (For example, after trying to edit "Jack Frost" to have a show name of "Christmas" and episode name of "Jack Frost" I have an imported video "Jack Frost" with an episode name of "Jack Frost".) Again, I am sure I did not type "Jack Frost" as the show name.

Anybody seen this behavior before? I'm using the latest 2.8 version, just redownloaded and installed it this AM. It's the middle of the summer but I'd like to have this fixed by December!

Edit: After poking around some more I think the problems arise when the MetaFileID and AiringIDs get scrambled. For example, I have one recording that appears both in Archived Recordings and Imported Videos. Both places reference the same file but in one case the MetaFileID=615435 and AiringID=615434 and in the other case the MetaFileID=615457 and AiringID=615460.

lotusvball
08-01-2006, 10:28 AM
Ok, I have seen post where people were having problems accessing this from work, but they could get it at home on the internet and their LAN. I am having the exact opposite problem. I can get to it from work, but when I pull up the same url address at home it takes a really long time to even get to the password popup. And then it timesout before it pulls up the home page. What am I missing. I have a netgear router ( a lightening strike took out my previous netgear router and a bought the same model to replace it last week).

geogecko
08-01-2006, 11:21 AM
I think there was somewhere that said that some routers don't like having the web access coming from INSIDE the LAN, versus when you are at work, where the request is coming from the WAN.

Are you using your external IP address, or an internal IP address? (Are you using a no-ip (or similar service) to try it from home?)

When I'm at home, I just type the internal IP address, 192.168....:8080/sage/Home, and that seems to work fine for me. But, I'm also able to use my no-ip domain to do the same, without issues...

lotusvball
08-01-2006, 11:56 AM
I was able to do this with the old router. But since I put in the new router (same model, different version, v2 (old one) v3 (new one)) I can't do it with the url. I am using no-ip. I will try the ip address 198... this evening.

rickgillyon
08-01-2006, 12:07 PM
If it's a new router it might be a different version of the software, so may behave differently. Anyway, if you're within the LAN you should use the internal IP, it'll be quicker...

heffe2001
08-01-2006, 12:08 PM
Using your inside-ip address should work fine. Most routers do not like looping back on themselves, so that would be why it's not working. You could also just add the hostname to your hosts file (whatever.no-ip.com 192.168.xxx.xxx) and still use the same name (but that change needs to be made on each PC you want to browse to it from).

Easier to just use the internal IP addy..

geogecko
08-01-2006, 01:42 PM
Hmm...speaking of internal IP addresses, I haven't tried this, but wonder if it will work.

I have computer names setup for each computer. Now, if my HTPC's IP was 192.168.0.50, but the computer name was "htpc", couldn't I just enter the following in my browser?

htpc:8080/sage/Home

Or would it choke on that?

Kirby
08-01-2006, 01:45 PM
htpc:8080/sage/Home

thats how i use mine...

lotusvball
08-01-2006, 01:57 PM
Thanks for the input. I like the idea of using computername:8080/sage/home should be nice and simple.

geogecko
08-01-2006, 03:50 PM
Great, much easier to type, let alone, remember...

rickgillyon
08-01-2006, 03:56 PM
But surely, your PVR shortcut at home is either a favourite or shortcut, you wouldn't type it more than once. It's on both my Start Menu and Links bar...

lotusvball
08-01-2006, 07:45 PM
:clap: :jump: :goodjob: Works great. And is much faster. And yes it is both a shortcut and a favorite. Thanks a bunch everyone.

mkanet
08-04-2006, 05:00 PM
I always forget to ask this...

but, is there a reason why the year of the movie is not displayed under detailed info? In order to find out what year it's made, I have to actually go to the IMDB website to find out.

silkshadow
08-06-2006, 02:03 AM
There was a time when I didn't use the webserver plugin (except for the one time where if fixed my ghost recording, for which I am still so happy about till this day). Now I just don't see how I lived without it! Love the new version, nielm! Just wanted to say THANK YOU! :goodjob: :thumb: :clap:

GoMike
08-07-2006, 05:23 AM
Hello,
is there a slimed-down version of the interface for the webserver? When I am on the road I'd like to use my PocketPC and my Cellphone to schedule new recordings with the help of the webinterface. Unfortunatelly, my provider is charging me for each transfered kilobyte. That's why it would be nice (and cheaper for me) to have a smaler interface. Would that be possible?

This plugin is great!

GoMike

nielm
08-07-2006, 06:35 AM
There is no slimmed down or WAP interface...

I use OperaMini on my cellphone which works OK-ish (it goes via a proxy which precompiles and compresses the pages)

geogecko
08-07-2006, 08:21 AM
LOL, Web Server on the cell phone...and I thought it was just cool to have web access!

I tried to load up the web server on my phone last night, just messing around, but it told me that the page was not loadable.

Do you have to load OperaMini on your cell phone to get that to work? What type of phone do you have, one of those ones with Windows on it?

nielm
08-07-2006, 09:55 AM
Do you have to load OperaMini on your cell phone to get that to work?yes:
http://www.opera.com/products/mobile/operamini/

What type of phone do you have, one of those ones with Windows on it?No, it's a basic Nokia... I think you just need a phone that supports Java applications..

geogecko
08-07-2006, 10:57 AM
Cool. Works pretty well, except that when I try and look at Schedule Recordings, it gives me a 404 Error message. Basically, the only thing that works for me is the "Home" screen.

That browser uses a LOT less data than the built-in one does. Just my 3-5 minute browsing trying to set things up last night, cost me two sessions of 150k each! Good thing the first month's data is free!

Ah, it appears to be because "Schedule Recordings" is actually a pull-down menu itself. How did you get that working in the mini browser?

nielm
08-07-2006, 01:38 PM
hmm i see the same.. It used to work (dammit). I guess Opera's proxy server is attempting to render the page as if Javascript is enabled, so only the top-level menus work.
You can enter the URL manually though.

Opera mini does work very well on other web sites -- I have even browsed IMDB via it (to resolve an argument at a dinner party!)

geogecko
08-07-2006, 03:03 PM
LOL, that's funny, about IMDB.

Sorry about the menu's. Only way around it that I could see, is making the actual menu a web page by itself, that has the menu items listed on it's page (but I do like the drop down menu's, so if those could be kept, that would be nice).

Although, I'm not sure how much I'll use this, it will be nice if I'm away from home or work, but being that they charge out the butt for data, I don't plan on using much data after this first month...

It is nice to know that you can get away with a 10k session using Opera though, versus the 50k+ when using the built-in browser. Heck, you can even turn off images in the Opera browser, which I'm sure you probably can in the other as well, just haven't found it.

nielm
08-07-2006, 04:16 PM
Only way around it that I could see, is making the actual menu a web page by itself, that has the menu items listed on it's page Oh, I forgot -- that already exists (it is the default on non-JS enabled browsers)
http://mediaserver:8080/sage/menu.html
That was probably how I worked around the menu problem last time (which shows how often I use it!) :)

For anyone else who is interested, Opera have a fully functional simulator:
http://www.opera.com/products/mobile/operamini/demo.dml

(added something to wiki)

geogecko
08-07-2006, 05:03 PM
Oh, I forgot -- that already exists (it is the default on non-JS enabled browsers)
http://mediaserver:8080/sage/menu.html
That was probably how I worked around the menu problem last time (which shows how often I use it!) :)

For anyone else who is interested, Opera have a fully functional simulator:
http://www.opera.com/products/mobile/operamini/demo.dml

(added something to wiki)

Wow, that works better, but the menu's seems little hard to figure out at first (multiple menu's showing up on the same page...).

It's a tad slow, but I guess I shouldn't expect FiOS speeds on my cell phone, huh?

:dance:

jimmyb
08-08-2006, 06:10 PM
I have been using no-ip.com for some time and lately to access my Sage webserver software. Recently though, no-ip has a new policy. It seems if you do not access the site within 90 days they erase your settings. Has happened twice to me since once setup I do not need to access.

I am in the biz of repairing an dservicing computers. recently a few of us have been playing with Hamachi. To my surprise it is only mentioned 3 times in the formum and none on this thread. With Hamachi you can setup secure VPN's to access your Sage webserver and DO NOT have to play with port forwarding or even touch your router. I am now even watching Placeshifter using it. I am throughly in love with this little free VPN software and you can be up and running in 5 steps.

Basically any software that generates it's own webserver can be accessed over the internet. I have it loaded on my laptop and can run RDP, VNC, Sage Placeshifter, and the Nielm webserver with no problems. Check it out and eliminate some headaches: http://hamachi.cc

mayamaniac
08-08-2006, 06:48 PM
I use dyndns.org to redirect IPs for years and no problems at all. They even provide a small app you can install on your computer to auto update your IP if it changes or force update once a month.

Thanks for the info on hamachi, will check it out. Do you still use no-ip.com with hamachi or is it unnecessary?

jimmyb
08-08-2006, 08:26 PM
no-ip had same app, but because it is free you had to visit the site and live thru the ads. With Hamachi there is no need for anything else. I ditched no-ip.

hemicuda
08-08-2006, 08:57 PM
hmmm... I'll have to check it out too... might remove the need for me to have a Linux router for SSHd.

Edit:

After some reading I decided that I'm not comfortable w/ the initial handshaking arrangement "calling home" even though the actual connection *is* P2P. If all else fails I have a Linksys WRT w/ 3rd party firmware and SSHd support. WAF isn't as high as I'd like it for running a full-blown PC simply as a firewall/router. "but hun.. it's only an HP Vectra desktop..."

rickgillyon
08-08-2006, 11:00 PM
Last I tried to use Hamachi, you needed to install it on the PC you wanted to connect from and it used a non-standard port. No good from a work machine behind a firewall...

nielm
08-09-2006, 03:00 AM
hmmm... I'll have to check it out too... might remove the need for me to have a Linux router for SSHd.Cygwin (www.cygwin.com) has a fully featured sshd...

stanger89
08-09-2006, 03:37 PM
dnydns is working good for me.

mkanet
08-09-2006, 03:40 PM
I also use Dyndns.org (along with DirectUpdate client)

hemicuda
08-09-2006, 06:38 PM
Cygwin (www.cygwin.com) has a fully featured sshd...

I've played around w/ Cyg in the past. I forgot what I was trying to do; maybe VPN or SSHd. Call me paranoid but I just don't trust M$ not to cludge it up somehow w/ that open port on the firewall. Thanks though.

feamster
08-09-2006, 10:04 PM
When I click on the link to see the recorded shows I imediately get this message:

Exception while processing servlet:
java.lang.NoClassDefFoundError: net/sf/sageplugins/webserver/SageApi
java.lang.NoClassDefFoundError: net/sf/sageplugins/webserver/SageApi
at net.sf.sageplugins.webserver.RecordingsServlet.doServletGet(RecordingsServlet.java:141)
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:1553)
at Acme.Serve.ServeConnection.parseRequest(Serve.java:1528)
at Acme.Serve.ServeConnection.run(Serve.java:1415)
at java.lang.Thread.run(Unknown Source)

All of the other functions seem to work. Anyone have a clue. Also what do I need to get the sageencoder plugin to work beyone the switch in the Sage.Properties file?

Thanks

cslatt
08-21-2006, 08:58 AM
Hey nielm, I have two feature requests. It would be really great if I could specify for the EPG Search to only return First Runs and if I could create an RSS feed of EPG Search results.

ybrew
08-24-2006, 06:50 PM
finally got around to installing web pluggin today.

Awesome.

This product just keeps getting better and better.

horseflesh
08-29-2006, 10:22 PM
I'm having a problem using the web plugin to schedule recordings. The tool seems to work, but at the end of the process there's no red dot in the guide. This used to work great, it just kind of died on me. (I can still schedule through the guide in the client, but the upcoming shows page in the webserver doesn't show anything now either.)

The only change I have made lately is to upgrade from SageMC 16x9 version 6.8 to 6.9b. I am not positive, but that seems to be about the time the webserver began to act up. Since I noticed the problem I have upgraded SageMC 16x9 to v 6.10 and reinstalled the web server with no improvement. Any ideas?

Here's a log entry:

[Tue Aug 29 19:58:43 PDT 2006] /sage/ManualRecord: Exception while processing servlet
java.lang.IllegalStateException: Already was returned as servlet output stream
at Acme.Serve.ServeConnection.getWriter(Serve.java:2306)
at net.sf.sageplugins.webserver.ManualRecordServlet.doServletGet(ManualRecordServlet.java:289)
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:1553)
at Acme.Serve.ServeConnection.parseRequest(Serve.java:1528)
at Acme.Serve.ServeConnection.run(Serve.java:1415)
at java.lang.Thread.run(Unknown Source)

[Tue Aug 29 19:58:43 PDT 2006] unexpected problem running servlet net.sf.sageplugins.webserver.ManualRecordServlet: java.lang.IllegalStateException: Already was returned as servlet output stream

geogecko
08-29-2006, 11:04 PM
Would it be possible to mirror the installation archive somewhere? Sourceforge is always down when I need it. I think I need to reinstall the web server, it's acting up. (Specifically I can't use it to schedule recordings anymore... the forms seem to work but nothing actually sticks. Problem started about the time I installed SageMC 16x9 v 6.10.)

Download seems to be working now...

Also, I upgraded to SageMC 6.10, and my Webserver still appears to be working...but, then again, I usually only install the xml file, not any of the other files in there. Maybe an older JAR or something is replacing a newer JAR...

bcjenkins
08-30-2006, 05:18 AM
I'm having a problem using the web plugin to schedule recordings. The tool seems to work, but at the end of the process there's no red dot in the guide. This used to work great, it just kind of died on me. (I can still schedule through the guide in the client, but the upcoming shows page in the webserver doesn't show anything now either.)

The only change I have made lately is to upgrade from SageMC 16x9 version 6.8 to 6.9b. I am not positive, but that seems to be about the time the webserver began to act up. Since I noticed the problem I have upgraded SageMC 16x9 to v 6.10 and reinstalled the web server with no improvement. Any ideas?

Here's a log entry:

[Tue Aug 29 19:58:43 PDT 2006] /sage/ManualRecord: Exception while processing servlet
java.lang.IllegalStateException: Already was returned as servlet output stream
at Acme.Serve.ServeConnection.getWriter(Serve.java:2306)
at net.sf.sageplugins.webserver.ManualRecordServlet.doServletGet(ManualRecordServlet.java:289)
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:1553)
at Acme.Serve.ServeConnection.parseRequest(Serve.java:1528)
at Acme.Serve.ServeConnection.run(Serve.java:1415)
at java.lang.Thread.run(Unknown Source)

[Tue Aug 29 19:58:43 PDT 2006] unexpected problem running servlet net.sf.sageplugins.webserver.ManualRecordServlet: java.lang.IllegalStateException: Already was returned as servlet output stream
I had this problem, too. I replaced servlet.jar

horseflesh
08-30-2006, 12:44 PM
I am not sure what the root cause of my problem was but I reinstalled everything and it all works again. My digitizer driver seemed to have bit the dust too, so I dunno what really went on.

FidgetyRat
09-01-2006, 10:04 AM
Speaking of dyndns, there are some routers, (mine is by dlink) that will automatically update dyndns info when it detects a dynamic IP change. No need to set up extra software on your boxes. Plus, the router is the first one to know of an IP change anyway :)

sennbj
09-03-2006, 04:23 PM
With the new season of TV just around the corner I second the motion for the ability to display just first runs. It would be great to be able to identify new series and season premiers in a nice and clean interface such as the Web one :)

I tried to use the filter, but it does not seem to look at the "First Run" text even in all fields are selected.

Hey nielm, I have two feature requests. It would be really great if I could specify for the EPG Search to only return First Runs and if I could create an RSS feed of EPG Search results.

bbig119
09-03-2006, 11:42 PM
With the new season of TV just around the corner I second the motion for the ability to display just first runs. It would be great to be able to identify new series and season premiers in a nice and clean interface such as the Web one :)

I tried to use the filter, but it does not seem to look at the "First Run" text even in all fields are selected.


Great plugin!!! I can't believe its taken me nearly 6 months to get around to installing it. Lots of little bugs to squash on my first HTPC, so cool features like this take a back seat.

Anyway, I'm trying the webserver along side a trial of placeshifter, and so far, I like webserver for what I want to do-- remotely control sage. Placeshifter seems to crash whenever its not within the local network.

If you do make an update to the plugin, I would also like to put a vote in for having the ability to search for first run.

Thanks for your hardwork, its truly appreciated.

UFGrayMatter
09-13-2006, 04:45 PM
Don't know if this is out there yet - I found a great PPC browser w/ JAVA 1.5 compatibility - works perfectly w/ the Web Interface.

http://www.bitstream.com/wireless/products/pocketpc/index.html

Enjoy
Ryan

owilsky
09-16-2006, 05:47 PM
Don't know if this is out there yet - I found a great PPC browser w/ JAVA 1.5 compatibility - works perfectly w/ the Web Interface.

http://www.bitstream.com/wireless/products/pocketpc/index.html

Enjoy
Ryan
Why would you need a Java enabled Browser for the webserver? Could it be you confused Java with Javascript?
I use Opera Mobile 8.6 (Link (http://www.opera.com/products/mobile/products/winmobileppc/)), works perfektly!

nickmpower
09-18-2006, 01:45 AM
Videos will not play unless i am on my home network. So it seems like my internet upload speed may be too slow, anything i can do to help this? The computer im trying to access it from is using the my schools fast connection

jamjam
09-18-2006, 03:08 AM
I think the best thing to look at would be a placeshifter client. The webserver plugin does no encoding at all. I think you could try using ORB. I've never tried this, placeshifter works fine for me apart from my poor upload speed (100Kbs). But its still watchable at ths speed.

HTH

JJ

UFGrayMatter
09-20-2006, 01:09 AM
A Few Questions -

1) Are XML files created for all shows recorded? All shows in a library? etc?
2) Where are these XML files saved locally?

I want to manipulate these files to extract the info somewhere else. I REALLY want to use .my files but can't in the default stv :(, which i use for the DVD burning (don't want MC)

Thanks,
Ryan

nielm
09-20-2006, 01:53 AM
wrong plugin :)

The webserver can generate XML data *on request only* for whatever you ask it for: recordings, viewing history, schedule, etc...

The XML file generator plugin generates 1 XML file for each sage recording only , named after the recording and saved in the same place.

motobarsteward
09-21-2006, 04:56 AM
I've sent you a PM. Anyway, is there a way of streaming the whole album or do I have to do it one track at a time? This question has been asked before but I've just read all the thread and I don't think you answered the question.

nielm
09-21-2006, 08:40 AM
The answer is no, not directly.

You can add the album to a playlist in sage and then use the webserver to dowload the playlist (with streaming links) and open it with something like WMP or winamp...

UFGrayMatter
09-21-2006, 07:55 PM
Can I please be informed as to where the XML files are saved if at all. I want to use the files to load info into another app, but can't find them! :)

Thanks,
Ryan

nielm
09-22-2006, 01:45 AM
Click on the xml buttons -- its a webserver so the files are only downloadable via HTTP (if you need to save them to disk, use a command-line web-fetching tool such as wget or lynx with the --source flag)

UFGrayMatter
09-23-2006, 09:31 AM
I'm absolutely loving this web server. I'm constantly on it. Thank you.

one request :) - More RSS feeds, especially for Now Recording.

I'm trying to automate this info being pulled into meedio. The RSS feeds are the best way to do this.

Here is what I'm trying to do

http://img128.imageshack.us/img128/9409/rssfeedsye5.jpg

Thanks,
Ryan

nielm
09-24-2006, 01:28 AM
UF graymatter: the now recording items would be the first few items in the recording schedule where
"start time" <= now

You may be better off using the sageXML output rather than the RSS feeds for this: it contains more data and should be easier to parse:

_creator_
09-24-2006, 01:41 PM
I cant seem to download your web server software. I'm looking for ver 1.6 to go along side my XBMC script.

Can you help?

nielm
09-24-2006, 03:20 PM
direct link to download (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=153357)

_creator_
09-24-2006, 03:37 PM
thanks m8

jsonnabend
09-24-2006, 07:54 PM
Is it possible to customize the pages served by the web server? Specifically, I'd like to add the "Year" field to the Detailed Information page. The field shows in the XML for the page, so I know that data is somewhere.

TIA

- Jeff

BBCritical
09-25-2006, 07:49 AM
Is it possible to add the same remote functionality from the server for the MVPs to clients instead of having to install a web server on each client?

equalize
09-25-2006, 06:28 PM
The docs aren't available at http://www.sage-community.org/index.cgi/wiki/WebServer
Could someone post them?

geogecko
09-25-2006, 06:33 PM
The docs aren't available at http://www.sage-community.org/index.cgi/wiki/WebServer
Could someone post them?

You mean the download?

nielm
09-25-2006, 07:00 PM
docs from google cache:
http://www.google.com/search?client=opera&rls=en&q=site:www.sage-community.org+WebServer&sourceid=opera&ie=utf-8&oe=utf-8
click on 'Cached'
and then on 'cached text only'

nielm
09-25-2006, 07:01 PM
Is it possible to add the same remote functionality from the server for the MVPs to clients instead of having to install a web server on each client?No.
The reason why MVPs are possible is the MVP user interfaces all run in the same process as part of the server

jsonnabend
09-26-2006, 07:45 AM
There's no way to bump a thread within a thread, so I thought I'd repost just once to see if I could get an answer.


Is it possible to customize the pages served by the web server? Specifically, I'd like to add the "Year" field to the Detailed Information page. The field shows in the XML for the page, so I know that data is somewhere.

TIA


- Jeff

jreichen
09-26-2006, 08:00 AM
Is it possible to customize the pages served by the web server? Specifically, I'd like to add the "Year" field to the Detailed Information page. The field shows in the XML for the page, so I know that data is somewhere.
- JeffThe year field will be in the next version. You can get the Java source from the sageplugins project on SourceForge and build it, or wait for the next version to be released.

jsonnabend
09-26-2006, 08:10 AM
Thanks for the info. I didn't see any source code on Sourceforge, only compile JAR's. Am I missing something? Do I need to open the Jars in a particular editor?

Thanks again.

- Jeff

Nevermind. Found it in the CVS.

equalize
09-26-2006, 11:22 AM
Thanks neilm. I should have been more clearer about the webpage being unavailable. Perhaps the installation docs should be included in the zip file.

nielm
10-01-2006, 01:55 PM
Thanks to a lot of hard work by Jreichen, you get a load of new features!

NOTE:
The menu_items.js and the servlets.properties files have been changed (to add the EPG by channel), so if you have customised these files, make sure to merge in the changes.

V2.9 Oct 1 2006 -- for Sage versions 2.2-6.0
Jreichen's changes:
EPG views:
ENHANCEMENT Add HD and First Runs markers to EPG guides
ENHANCEMENT Add NEW EPG Channel View
Default EPG Channel View to start at midnight
BUGFIX Some font sizes on EPG Grid View and EPG Search pages were being reset when Firefox went into "quirks mode". It shouldn't be going into quirks mode based on the DOCTYPE declaration, and refreshes of the same page may change the mode. Possible bug. Firefox 1.5.0.6 Windows XP.

Search:
ENHANCEMENT Add HDTV, FirstRun/ReRun and Archived options to Search Criteria
ENHANCEMENT Add RSS feed for search results
BUGFIX Query string is already encoded. When clicking the Set button, the query string is encoded a second time and there are no results when the page refreshes.

Favorites:
ENHANCEMENT Add columns for favorite properites to cells in FavoritesServlet.

Detailed info:
ENHANCEMENT Show scheduled encoder in detailed info page of scheduled recording.
ENHANCEMENT Show 'year' and 'runtime' in detailed info (if data is present, eg for movies)


Various fixes:
BUGFIX Add nowrap property to markercell class
ENHANCEMENT Add ratings marker columns to airing cell and detailed info.
BUGFIX Fix exception written to web server log file when creating a manual recording. java.lang.IllegalStateException: Already was returned as servlet output stream
BUGFIX Change Mb -> MB

nielm's changes:

Edit show info: temporarily remove buggy 'keep EPGID feature'
ENHANCEMENT: Home page now displays number of resolved and unresolved conflicts
ENHANCEMENT: better generation of RSS urls
BUGFIX: epg links for currently recording shows now work

nielm
10-01-2006, 01:56 PM
Small note: the first run/hdtv icons in the EPG views are disabled by default if you are running with the service: use the Options button at the bottom of the EPG view to enable.

Mark SS
10-01-2006, 02:14 PM
Good work, thanks chaps.

Is there anything that can be done about the following error which occurs if a Placeshifte client is connected?

Exception while processing servlet:
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
at net.sf.sageplugins.webserver.HomeServlet.doServletGet(HomeServlet.java:151)
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:1553)
at Acme.Serve.ServeConnection.parseRequest(Serve.java:1528)
at Acme.Serve.ServeConnection.run(Serve.java:1415)
at java.lang.Thread.run(Unknown Source)

geogecko
10-01-2006, 02:53 PM
Getting this error when trying to get to the download page:

Oops...
Trac detected an internal error:

database is locked

If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.

Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below.

TracGuide The Trac User and Administration Guide

mkanet
10-01-2006, 03:14 PM
Everything worked right out of the box! THANK YOU NIELM! I've waited a long time for HD, First-Run, Record, icons. Clicking on the channel logo (or channel #) now displays a schedule just for that channel. Pretty slick!

sundansx
10-01-2006, 03:32 PM
I get the same error as geogecko.
Update: It is working now. Note, you can download this plugin directly from sourceforge.net.

nielm
10-01-2006, 05:42 PM
Everything worked right out of the box! THANK YOU NIELM! I've waited a long time for HD, First-Run, Record, icons. Clicking on the channel logo (or channel #) now displays a schedule just for that channel. Pretty slick!that wasn't anything to do with me :) Thank jreichen!

nielm
10-01-2006, 05:44 PM
Good work, thanks chaps.

Is there anything that can be done about the following error which occurs if a Placeshifte client is connected?

Exception while processing servlet:
java.lang.NoSuchMethodError: net.sf.sageplugins.sageutils.SageApi.ApiUI(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;Check that nielm_sageutls.jar is correctly overwritten with the correct version in the webserver installation zipfile
Check that there are no net/sf/sageplugins/sageutils folders in the sagetv directory.