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
  #781  
Old 12-18-2005, 06:07 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
command line tool for displaying which process is using which port on Windows:
http://www.diamondcs.com.au/openports/
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #782  
Old 12-18-2005, 11:16 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
The openports tool worked perfectly! Now we know that having a default/typical install of IIS running in the background will use port 443.

---------- Output.txt----------------------------------------
inetinfo.exe [1648]
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1031 0.0.0.0:0 LISTENING
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING
TCP 0.0.0.0:21 0.0.0.0:0 LISTENING
UDP 0.0.0.0:3456 0.0.0.0:0 LISTENING
--------------------------------------------------------------

Great tool. Thanks guys for helping!
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #783  
Old 12-19-2005, 08:59 AM
Blkhrtd Blkhrtd is offline
Sage User
 
Join Date: Dec 2004
Location: Madison, Alabama
Posts: 15
Thank you so much

Neilm, thank you so very much for the time and effort you've put into this project and all the other one's you work on as well. This webserver is excellent. This was the one missing element that my MythTV friends would taunt me with. I was able to download, follow the directions on the Wiki and have it up and running within 10 mins or so. Very nice.

Thank you very much for your time and effort.

-Shadrach
Reply With Quote
  #784  
Old 12-19-2005, 10:16 AM
Stuntman's Avatar
Stuntman Stuntman is offline
Sage Fanatic
 
Join Date: Dec 2003
Location: Hemet, CA - USA
Posts: 784
Overlay issue...

Not a biggie.. was wondering if anybody else sees this..

If I go to 'schedule recordings' then select 'upcoming recordings' I get a list of all upcoming recordings as expected.. if I then hover over 'program guide' the dropdown menu then comes down BUT the 'for encoder' dropdown on the recording schedule screen seems to overlay the 'program guide' menu...

See the attached image...
Webservererror.GIF

Is there a workaround for this? It certainly isn't a show stopper, but thought I'd mention it!
Reply With Quote
  #785  
Old 12-19-2005, 11:36 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
its a bug in IE
Workaround: use a better browser (Firefox/Opera!)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #786  
Old 12-19-2005, 11:56 AM
Stuntman's Avatar
Stuntman Stuntman is offline
Sage Fanatic
 
Join Date: Dec 2003
Location: Hemet, CA - USA
Posts: 784
Quote:
Originally Posted by nielm
its a bug in IE
Workaround: use a better browser (Firefox/Opera!)


Yeah, I use both (there are still some places that FireFox just doesn't cut it with, thought it's Microsoft's fault as most site developers develop for IE functionality, right or wrong!) I'm using IE7's beta too.. so it doesn't appear to be something they have fixed, or plan to fix...
Reply With Quote
  #787  
Old 12-20-2005, 05:47 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Is there a way to change "Today PrimeTime" and "Tomorrow PrimeTime" to start from 8pm instead of 6pm? I couldnt find any information on this on Wiki.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #788  
Old 12-20-2005, 08:34 PM
Alfiegerner Alfiegerner is offline
Sage Aficionado
 
Join Date: Oct 2005
Location: Auckland, NZ
Posts: 383
Can anyone help me debug this? I've reverted back to 2.28 temporarily to try and get everything stable for a bit and now can't seem to get the webserver running. I've followed the trouble shooting guide but am getting no logs.

These are the exceptions displayed by the debug console:

Code:
Wed 12/21 2:28:47.781 (Retryable)Error communicating with encoding server:java.i
o.EOFException
Wed 12/21 2:28:48.504 Exception in thread "Startup-net.sf.sageplugins.webserver.
StartServer" Wed 12/21 2:28:48.504      at net.sf.sageplugins.sageutils.SageApi.
Api(SageApi.java:17)
Wed 12/21 2:28:48.505   at net.sf.sageplugins.sageutils.SageApi.StringApi(SageAp
i.java:85)
Wed 12/21 2:28:48.505   at net.sf.sageplugins.sageutils.SageApi.GetProperty(Sage
Api.java:130)
Wed 12/21 2:28:48.505   at net.sf.sageplugins.webserver.StartServer.run(StartSer
ver.java:28)
Wed 12/21 2:28:48.505   at java.lang.Thread.run(Unknown Source)
Reply With Quote
  #789  
Old 12-21-2005, 03:11 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by mkanet
Is there a way to change "Today PrimeTime" and "Tomorrow PrimeTime" to start from 8pm instead of 6pm? I couldnt find any information on this on Wiki.
edit the menu_items.js -- they are just saved URLs in the menu file -- just change the '18' to '20':
Code:
[
    'Today PrimeTime',
    'EpgGrid?starthr=18',
    {
    'title' :'Show the EPG Grid view for today at 18:00h'
    }
],
[
    'Tomorrow PrimeTime',
    'EpgGrid?starthr=18&startdate=1',
    {
    'title' :'Show the EPG Grid view for tomorrow at 18:00h'
    }
],
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #790  
Old 12-21-2005, 03:22 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Alfiegerner
Can anyone help me debug this? I've reverted back to 2.28 temporarily to try and get everything stable for a bit and now can't seem to get the webserver running. I've followed the trouble shooting guide but am getting no logs.
The logs you give are very odd -- the webserver code is failing to call Sage API functions on startup so it fails to start...
Is sage 2.2.8 working at all ? Did you uninstall the previous version before reverting?
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #791  
Old 12-21-2005, 03:48 AM
Alfiegerner Alfiegerner is offline
Sage Aficionado
 
Join Date: Oct 2005
Location: Auckland, NZ
Posts: 383
Hi nielm, thanks for the response.

Yeah apart form the webserver its working fine. If its an unfamiliar exception I wouldn't worry about it too much - I've done so much installing / uninstalling of all sorts of apps lately its probably something in my setup. Also, as soon as I get back tonight I'll be installing the latest 4.14 beta as I'm desperate to try out the PAL MVP support. I'll let you know how I get on.

Just to let you, when i did have the webserver up and running before I was totally blown away with it. Brilliant bit of software. The only feature request I'd like to see in it is a thumbnail / gallery type set up for the picture imports.
Reply With Quote
  #792  
Old 12-21-2005, 12:40 PM
owilsky's Avatar
owilsky owilsky is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Germany
Posts: 447
I have a strange problem, I cannot add a favourite that is only recorded on a specific day. I try to record "The Simpsons", but only on Saturdays, because that is the newest season. Monday-Friday there are reruns of older seasons.

But I only get this exception whenever I enter a"Saturday":
Quote:
id:5745103 -- java.lang.reflect.InvocationTargetException: Exception while executing SageApi: "UpdateFavorite" numargs=15
I guess it is not a problem with the webserver, because I am not able to create that favourite within the SageTV GUI, but who knows....

Has anybody else seen this? I also tested it with the original SageTV3.xml without any imports, but no luck...
__________________
Oliver Kötter
------------
Check this thread for importing German TV Data into SageTV

Using SageTV 7.1.9, Java 1.6.0_24 Win7 Home Premium on an
Asus M4N78-AM Mainboard, AMD Athlon II X2 215, 4 GB RAM, 500 GB HDD, 2xTechnoTrend S-2400 as Network Encoder (LM DVB Smart Recorder), ATI Radeon HD 3450 with analog TV-Out on good old CRT TV (100Hz)
My avatar shows the world's best composer!!!
Reply With Quote
  #793  
Old 12-21-2005, 05:47 PM
Alfiegerner Alfiegerner is offline
Sage Aficionado
 
Join Date: Oct 2005
Location: Auckland, NZ
Posts: 383
Quote:
Originally Posted by Alfiegerner
Can anyone help me debug this? I've reverted back to 2.28 temporarily to try and get everything stable for a bit and now can't seem to get the webserver running. I've followed the trouble shooting guide but am getting no logs.

These are the exceptions displayed by the debug console:

Code:
Wed 12/21 2:28:47.781 (Retryable)Error communicating with encoding server:java.i
o.EOFException
Wed 12/21 2:28:48.504 Exception in thread "Startup-net.sf.sageplugins.webserver.
StartServer" Wed 12/21 2:28:48.504      at net.sf.sageplugins.sageutils.SageApi.
Api(SageApi.java:17)
Wed 12/21 2:28:48.505   at net.sf.sageplugins.sageutils.SageApi.StringApi(SageAp
i.java:85)
Wed 12/21 2:28:48.505   at net.sf.sageplugins.sageutils.SageApi.GetProperty(Sage
Api.java:130)
Wed 12/21 2:28:48.505   at net.sf.sageplugins.webserver.StartServer.run(StartSer
ver.java:28)
Wed 12/21 2:28:48.505   at java.lang.Thread.run(Unknown Source)

Just in case anyone else gets this problem - a clean install of java sorted it for me, including deleting the whole c:\program files\java directory.
Reply With Quote
  #794  
Old 12-22-2005, 09:46 PM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
I've been using the webserver for several months now, and just installed the latest version. Very nice! But, I ran into a problem - in the EPG, if I choose a program, "Play in SageTV" doesn't show up, (the first choice is "Record") and the web remote errors out with "Webserver running in Service mode -- cannot execute any commands". What am I missing?
Thanks,
Rob
Reply With Quote
  #795  
Old 12-23-2005, 02:18 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
If you are using service mode, the webserver cannot control the front-end because it is a separate process.
You need to configure the webserver *also* in the sageclient.properties using a different port to control the client front-end... (this is in the wiki docs somewhere)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #796  
Old 12-23-2005, 06:43 AM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
I'll read the docs. Seems strange though - SageTV service control shows Service State: Stopped. I never ran Sage as a service.
Rob
Reply With Quote
  #797  
Old 12-23-2005, 06:54 AM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
robk I'm curious. What version of Sage are you running?
Reply With Quote
  #798  
Old 12-23-2005, 06:58 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I'm having the same problem and am not running as a service. 'Currently watching' doesn't show up on the home page either.

Nielm: I found that 'GetAllWidgets' is returning a zero-length array so hasUI is false.

Sage 4.1.3.67. Webserver 2.3
__________________
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
  #799  
Old 12-23-2005, 07:02 AM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
Toxmox-
I'm running 4.1.3.67, installed over previous version, saved old sage.properties and wiz.bin .
Rob
Reply With Quote
  #800  
Old 12-23-2005, 08:36 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Ok.. looks like the webserver needs an update to be able to control the front-end on v4.1...

I did suspect this during the beta of 4.1, but have not yet had time to do a fix, and will probably not be able to do anything before mid Jan... (haven't even had time to upgrade my own system to 4.1!)

It's related to the way a single Sage process has to handle multiple front-ends for MVPs -- if anyone cares, you have to call GetUIContextNames() and then instead of the Java API call: sage.SageTV.api() you have to call sage.SageTV.apiUI(String uiContext, String method, Object[] args)...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
Reply

Tags
web


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
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
Can't get Web-based User Interface to install SSBrian SageTV Customizations 3 11-04-2008 08:12 PM
Web User interface link for the metadata file. zzmystique SageTV Customizations 0 06-21-2008 02:26 AM
Idea to enhance the Web User Interface: Messaging jbarr SageTV Customizations 3 05-14-2007 03:59 PM
Linkplayer, Linktheater with SageTV Web User Interface fyodor SageTV Customizations 0 10-08-2006 06:03 PM


All times are GMT -6. The time now is 09:53 PM.


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