SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #81  
Old 02-17-2010, 08:48 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
I think by default Jetty has a listener on 8080. I added an SSL port to it as well, but kept the 8080 one open. So, the gadget on my home desktop uses 8080 (that port is not available outside the LAN). Outside the LAN, the web server is only accessible over the HTTPS port. The gadget won't work over the Internet, but like cnbc said, you wouldn't want to do that anyway since your password is unencrypted...
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #82  
Old 02-17-2010, 10:36 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
I just installed the latest version just now. I actually have jetty with http as well, except it listens on port 8380. 8080 is already used for another network service on this machine. I have at least 9 network services running on this machine... (ssh2,sftp, vnc, II7 with asp.net apps/ssh, etc) so, common ports are very scarce.

Ive tried every single combination I could think of... (with jetty authentication enabled):

Stuff I've tried:

Server: localhost, localhost/sage, localhost/sage/home, http://localhost:8380/sage/Home, https://localhost:8090/sage/Home, localhost:8090/sage/Home (I've even tried all that replacing localhost with other valid resolvable/pingable DNS names).Port: 8380
Port: 8090

Oddly, the ONLY thing that worked this time thanks to your advice (it didnt work for me using the previous version of this gadget from yesterday) was when using my cloaked url: sagetv.myurl.com Port:80 ....Keeping in mind that is really pointing to https://myurl.com:8090/Sage/home.

I finally connect, and ------ for each tuner... However, they are all blank when my tuners are active and recording. Record schedule is blank too. So, its still not getting the data.

I doubt I've missed any other configuration to trick it to work using the latest version.

I dont know.. maybe its just better to leave this alone... This gadget is probably better suited for a more typical sageTV setup. Or, maybe I'm just too dumb to figure it out. However, CNCB, if you do have the motivation to help me get this working, I would be very grateful. It is a very cool app regardless if I can't use it. I just dont know what else to try,

PS: This is a relatively minor issue, but the gadget maxes out at only 10 tuners. I have 12 active tuners.

Thanks so much for all your help!
-Michael

Quote:
Originally Posted by KarylFStein View Post
I think by default Jetty has a listener on 8080. I added an SSL port to it as well, but kept the 8080 one open. So, the gadget on my home desktop uses 8080 (that port is not available outside the LAN). Outside the LAN, the web server is only accessible over the HTTPS port. The gadget won't work over the Internet, but like cnbc said, you wouldn't want to do that anyway since your password is unencrypted...
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #83  
Old 02-17-2010, 11:08 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by mkanet View Post
I just installed the latest version just now. I actually have jetty with http as well, except it listens on port 8380. 8080 is already used for another network service on this machine. I have at least 9 network services running on this machine... (ssh2,sftp, vnc, II7 with asp.net apps/ssh, etc) so, common ports are very scarce.
Can you access the webserver through a browser with a standard http address? That is, without the cloaked URL and SSL: e.g. "http://localhost:8380/sage/Home". It sounds like that is what KarylFStein is doing with 2 different ports. The same address and port should then work in the gadget. By the way, only the address part of the URL should go in the "Server" field for the gadget, not http or port number, /sage, etc.

I'm not sure if Jetty authentication is having any affect so you might want to try turning that off. You could also try "127.0.0.1" or the specific IP address of the local server instead of "localhost".
__________________
-Craig

Last edited by cncb; 02-17-2010 at 11:11 AM.
Reply With Quote
  #84  
Old 02-17-2010, 11:22 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Yes, of course, "http://localhost:8380/sage/Home" works fine for both ssl and non secure ports same for BMT. I've already tried 127.0.0.1 as well. The only thing I didnt try is disabling authentication.

I am also trying with two different ports... one SSL and one not. Plus, a third way for me using a cloaked URL which the gadget seemed to like best; which didnt really work.

Yeah, my understand of how to configure it was exactly how you mentioned below; but all those weird configurations I tried were just out of desperation

Quote:
Originally Posted by cncb View Post
Can you access the webserver through a browser with a standard http address? That is, without the cloaked URL and SSL: e.g. "http://localhost:8380/sage/Home". It sounds like that is what KarylFStein is doing with 2 different ports. The same address and port should then work in the gadget. By the way, only the address part of the URL should go in the "Server" field for the gadget, not http or port number, /sage, etc.

I'm not sure if Jetty authentication is having any affect so you might want to try turning that off. You could also try "127.0.0.1" or the specific IP address of the local server instead of "localhost".
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #85  
Old 02-18-2010, 04:44 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Hmm, now I'm having problems. I reinstalled SageTV a few days ago and installed the Jetty and webserver stuff like I had before EXCEPT I used version 2.26 of the webserver instead of 2.25.

My gadget (1.2b) now keeps saying "NA" for everything including the flyout.

I used my browser to hit the same URL the gadget should be using, (http://192.168.0.101:8080/sage/Home?xml=currrecording), and it gave me the following:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE sageShowInfo (View Source for full doctype...)>
- <sageShowInfo version="1.3">
- <systemInfo>
<alertLevel description="Status" level="0" />
</systemInfo>
<channelList />
<favoriteList />
<showList />
<systemMessageList />
</sageShowInfo>

I looked at my Jetty logs and noticed that a "no recordings going on" reply in the old setup was 244 bytes while now it's 294. So, not sure if something changed in the message going to 2.26. (That means I *do* see the gadget making a successful request and getting a reply in the Jetty logs. It just doesn't seem to know what to do with the reply...)
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #86  
Old 02-18-2010, 04:51 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by KarylFStein View Post
Hmm, now I'm having problems. I reinstalled SageTV a few days ago and installed the Jetty and webserver stuff like I had before EXCEPT I used version 2.26 of the webserver instead of 2.25.

My gadget (1.2b) now keeps saying "NA" for everything including the flyout.

I used my browser to hit the same URL the gadget should be using, (http://192.168.0.101:8080/sage/Home?xml=currrecording), and it gave me the following:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE sageShowInfo (View Source for full doctype...)>
- <sageShowInfo version="1.3">
- <systemInfo>
<alertLevel description="Status" level="0" />
</systemInfo>
<channelList />
<favoriteList />
<showList />
<systemMessageList />
</sageShowInfo>

I looked at my Jetty logs and noticed that a "no recordings going on" reply in the old setup was 244 bytes while now it's 294. So, not sure if something changed in the message going to 2.26. (That means I *do* see the gadget making a successful request and getting a reply in the Jetty logs. It just doesn't seem to know what to do with the reply...)
I added the alert level and system messages to the xml so that would explain the size difference.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #87  
Old 02-18-2010, 05:08 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
It sounds like the gadget is not handling changes to the XML appropriately. I will take a look.
__________________
-Craig
Reply With Quote
  #88  
Old 02-20-2010, 12:10 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by jreichen View Post
I added the alert level and system messages to the xml so that would explain the size difference.
I installed the new 2.26 version of the web server and it seems that the problem is that the gadget is now getting an empty reply/document for the current recordings XML. Any idea what might have changed to cause this?
__________________
-Craig

Last edited by cncb; 02-20-2010 at 01:19 PM.
Reply With Quote
  #89  
Old 02-20-2010, 01:16 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by cncb View Post
I installed the new 2.26 version of the web server and it seems that the problem is that the gadget is now getting an empty reply/document for the current recordings XML. Any idea what might have changed to cause this?
At this url? http://192.168.xx.xx:8080/sage/Recordings?xml=yes

Mine is working fine. The Jetty build has a copy of nielm_sagexmlinfo.jar in the war file so it doesn't need it in the JARs folder. Do you have an older version in the JARs folder?

Is there anything in the sage log?
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #90  
Old 02-20-2010, 01:19 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Sorry, never mind. It turns out that it was failing to load the XML because it was (unexpectedly) validating the XML against the old schema. I will post a fix to the gadget for testing shortly.
__________________
-Craig

Last edited by cncb; 02-20-2010 at 01:23 PM.
Reply With Quote
  #91  
Old 02-20-2010, 03:41 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Ok, can you guys try the update posted below to make sure it works with your SSL setups before I submit it?
__________________
-Craig

Last edited by cncb; 02-21-2010 at 04:54 PM.
Reply With Quote
  #92  
Old 02-20-2010, 05:56 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
That one works for me now, thanks!
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #93  
Old 02-21-2010, 04:55 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by KarylFStein View Post
That one works for me now, thanks!
Thanks. I posted the update.
__________________
-Craig
Reply With Quote
  #94  
Old 03-05-2010, 02:38 PM
shill shill is offline
Sage User
 
Join Date: Aug 2009
Location: Dallas, TX
Posts: 28
I've just moved from the TJWS version of nielm's webserver (which is working fine) to the Jetty version (2.26) and added the gadget to my Windows 7 desktop. Unfortunately, I'm getting the same "NA" error message complaining about network connections, server, and settings issues. The XML pages all appear to work fine, and my login info works as well.

Interestingly, the jetty log file shows no request activity UNLESS I intentionally flub the password, in which case it shows the 401 response.

I'm really looking forward to this gadget - thanks for providing it!


Never mind - it randomly started working
__________________
Windows 8
SageTV 9.1.6.747
Intel Core i5 @ 3GHz, 8GB RAM
4x STP-HD200
1x Sony AndroidTV
HDHomeRun CONNECT: 2x OTA DTV Tuners

Last edited by shill; 03-05-2010 at 02:50 PM.
Reply With Quote
  #95  
Old 03-12-2010, 05:18 PM
sbeaulieu sbeaulieu is offline
Sage User
 
Join Date: Mar 2010
Location: Epsom, NH
Posts: 21
Greate gadget! I got it working without issue.

One thing I noticed is how infrequent something is actually recording midday. Because of this it would be very cool to be able to see a few lines of the recording schedule in the Now Recording window so I can see what is coming up tonight without the having to click to get the full list from the fly out.
Reply With Quote
  #96  
Old 03-13-2010, 12:31 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by sbeaulieu View Post
One thing I noticed is how infrequent something is actually recording midday. Because of this it would be very cool to be able to see a few lines of the recording schedule in the Now Recording window so I can see what is coming up tonight without the having to click to get the full list from the fly out.
I agree - that's a good idea. Perhaps for each "slot" in the gadget that doesn't have a current recording I could instead show the next upcoming recording? I will definitely consider this for a future update.
__________________
-Craig
Reply With Quote
  #97  
Old 03-13-2010, 04:53 PM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
You should also consider a couple of minor issues with the Include padding in start and end times option. I am currently seeing a favorite program listed in the gadget showing the requested 2 minute end padding. However, Sage does not show the 2 minute end padding, I suspect because of a back to back shows. If not an easy fix I would prefer the current logic to show the longest length. The issue that bothers me the most is with a manual recording. When I manually add end padding to a manual recording, the gadget does not see that padding, Sage does. It is fairly common for me to make a recording manual just so I can add the end padding. I consider this to be an oversight in the logic.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #98  
Old 03-13-2010, 05:43 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by carlgar View Post
The issue that bothers me the most is with a manual recording. When I manually add end padding to a manual recording, the gadget does not see that padding, Sage does. It is fairly common for me to make a recording manual just so I can add the end padding. I consider this to be an oversight in the logic.
There really is no "logic" involved. I just use the padding supplied by the web server (XML) for the recordings and the padding is not available for manual recordings.
__________________
-Craig
Reply With Quote
  #99  
Old 03-13-2010, 06:05 PM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
Quote:
Originally Posted by cncb View Post
There really is no "logic" involved. I just use the padding supplied by the web server (XML) for the recordings and the padding is not available for manual recordings.
Interesting, I never even considered what was available to an external program. I had only been thinking that it was studio code.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #100  
Old 05-05-2010, 03:57 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
v1.4 Update

I just submitted v1.4 that also shows upcoming recordings in the gadget.
__________________
-Craig
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV vs. Vista Media Center Brent General Discussion 29 05-03-2009 03:01 PM
My Sage TV 6.3 Problems and Fixes (Long) tcsubwoofer SageTV Software 12 05-08-2008 07:35 PM
Vista Issue and my Solution jobe1022 SageTV Software 2 11-21-2007 11:46 AM
Any way to view SageTV as a sidebar gadget? SAGEaustin General Discussion 6 10-17-2007 07:56 PM
SageMC - Stop button causes AWTThread Hang Mahoney SageMC Custom Interface 7 10-25-2006 12:47 AM


All times are GMT -6. The time now is 02:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.