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
  #841  
Old 01-12-2006, 06:51 PM
lotusvball's Avatar
lotusvball lotusvball is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: PA
Posts: 482
I have lost my top menus. See attached. I upgraded to v2.4 from v2.2. I also do not get prompted for user name and password even though it is in realm.properties properly. What did I do wrong. I backed up realms.properties and then replaced it after I unzipped into SageTV directory.
Attached Images
File Type: jpg web server.JPG (48.5 KB, 350 views)
__________________
Intel Core Duo 2.5mhz, 2gb RAM
Windows Home Server, Sage 7 beta
2 Hauppauge PVR-250, 1 PVR-500 MCE
1 HDHomeRun
4TB Storage, GB Network
2 MVPs, 1 HD100 & 1 HD300
Reply With Quote
  #842  
Old 01-12-2006, 06:58 PM
lotusvball's Avatar
lotusvball lotusvball is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: PA
Posts: 482
Nevermind I figured it out. Somehow the files did not overwrite when I unzipped them.
__________________
Intel Core Duo 2.5mhz, 2gb RAM
Windows Home Server, Sage 7 beta
2 Hauppauge PVR-250, 1 PVR-500 MCE
1 HDHomeRun
4TB Storage, GB Network
2 MVPs, 1 HD100 & 1 HD300
Reply With Quote
  #843  
Old 01-13-2006, 12:51 AM
ToonGal's Avatar
ToonGal ToonGal is offline
Sage Aficionado
 
Join Date: Jan 2004
Location: Bay Area, CA, USA
Posts: 306
Quote:
Originally Posted by nielm
New version V2.4 Dec 11 2006 -- Sage 4.1 and higher required
  • For SageTV 4.1 and later only
  • BUGFIX: Removed 'null' menu items
  • BUGFIX: Channel logos default to enabled
  • BUGFIX: Fixed webremote and Sage command functionality for v4.1
  • BUGFIX: Added more protected paths for writenly user.
Nielm! Babe! You couldn't have put out a v2.3.1 which had bugfixes for Sage v2.x, first???

Oh well. Always knew at some point v2.x and Cayars were dinosaurs with their day. Was hoping this wasn't the end. If v4.x now a requirement, guess that's the wave of the future.

Thanks for any add'l details, hun!
Reply With Quote
  #844  
Old 01-13-2006, 02:56 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by jimmyb
Stopped working! I log on and can do all BUT when I press switch to Web Remote I get and error message showing on screen:
error: No UI context specified
What do I need to do here?
How are you switching? Are you clicking on the name of the UI/Extender in the 'Now Playing on...' in the Home screen?

If you are selecting it in the drop-down menu, then you need to merge your modified menu_items.js with the delivered one (I removed the quotes on the "null" items and modified the URL of the webremote).
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #845  
Old 01-13-2006, 02:58 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by jimmyb
What settings do I need in my Sage prop and or Sageclient props to be able to control the client using your webserver remote?

Do I load Webserver in the client computer also??
yes.
The webremote can only control the sage process that it the webserver is running in.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #846  
Old 01-13-2006, 03:02 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by ToonGal
Nielm! Babe! You couldn't have put out a v2.3.1 which had bugfixes for Sage v2.x, first???

Thanks for any add'l details, hun!
Well the code is available -- you could always port the fixes back

However, if you only want the bugfixes...
  • BUGFIX: Removed 'null' menu items
    -> use the menu_items.js from v2.4
  • BUGFIX: Channel logos default to enabled
    -> enable them manually in 'show Options' in Sage Recordings
  • BUGFIX: Fixed webremote and Sage command functionality for v4.1
    -> Worked fine in Sage 2.2
  • BUGFIX: Added more protected paths for write-only user
    -> use the realms.properties from 2.4
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 01-13-2006 at 03:12 AM.
Reply With Quote
  #847  
Old 01-13-2006, 03:10 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by a_puty
Previous to Sage 4.1 I was able to select a current show in the webserver grid view and rather than "Record" I had the option to "Watch". This was no longer working since Sage 4.1.
Yes -- the changes to support media extenders in SageTV 4.1 broke the 'Play in SageTV' in webserver 2.3... I thought I had fixed this, but there is a bug in my fix -- instead of showing 'Play in SageTV' (or extender) for all media types apart from picture files, it shows it ONLY for picture files (which doesn't work anyway!) -- I missed out a '!'
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 01-13-2006 at 05:30 AM.
Reply With Quote
  #848  
Old 01-13-2006, 02:41 PM
jimmyb jimmyb is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 163
Quote:
Originally Posted by nielm
yes.
The webremote can only control the sage process that it the webserver is running in.

Errrrr .. I get no top menu items!!!
__________________
The The AnJ Show Will Cook Weather
Reply With Quote
  #849  
Old 01-13-2006, 02:44 PM
jimmyb jimmyb is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 163
Quote:
Originally Posted by nielm
How are you switching? Are you clicking on the name of the UI/Extender in the 'Now Playing on...' in the Home screen?

If you are selecting it in the drop-down menu, then you need to merge your modified menu_items.js with the delivered one (I removed the quotes on the "null" items and modified the URL of the webremote).

I click on Home then Web Remote. I thought I did merge however since I did not modify anything (?) I may have just over written it. What should I re-load to fix it if it is broken?
__________________
The The AnJ Show Will Cook Weather
Reply With Quote
  #850  
Old 01-13-2006, 03:06 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by jimmyb
I click on Home then Web Remote. I thought I did merge however since I did not modify anything (?) I may have just over written it. What should I re-load to fix it if it is broken?
No top menus -- ah I guess you are using a PDA
Yep -- another bug in the fallback (non JS) menu:
Workaround:
Click System Information
Click on the words 'Local SageTV instance' (or if you want to web-remote an extender, click on the name of the extender)

Workaround 2:
Edit menu.html (this is where the fallback menu is defined)
Replace:
Code:
<h3><a href="webremote.html">Web-Remote</a></h3>
with
Code:
<h3><a href="webremote.html?context=SAGETV_PROCESS_LOCAL_UI&contextname=Local%20SageTV">Web-Remote</a></h3>
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #851  
Old 01-13-2006, 05:49 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Nielm, I hope I'm not being a pest, but an FYI, I am fairly certain that the "MarkerHDTV.gif" icon not being displayed is a bug. All other new icons are displayed correctly.

I can try to help you any way I can since I know you don't use sagetv for HD.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #852  
Old 01-13-2006, 06:52 PM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
Quote:
Originally Posted by nielm
Yes -- the changes to support media extenders in SageTV 4.1 broke the 'Play in SageTV' in webserver 2.3... I thought I had fixed this, but there is a bug in my fix -- instead of showing 'Play in SageTV' (or extender) for all media types apart from picture files, it shows it ONLY for picture files (which doesn't work anyway!) -- I missed out a '!'
I, as I am sure all of us, really appreciate your work on this great utility for Sage. But I'm confused.... will you be fixing the code to bring back "Play in SageTV" from the guide? It is a great feature - While I'm working on my main computer, I can just bring up a browser and log on to change the channel on my Sage setup several feet away - don't have to pick up the remote.
Thanks for your hard work!
Rob
Reply With Quote
  #853  
Old 01-14-2006, 07:47 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
mkanet: yes I know - I found the bug with code-reading.
robk: yes I will fix it to bring back 'play in SageTV'
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #854  
Old 01-14-2006, 08:05 AM
jimmyb jimmyb is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 163
Quote:
Originally Posted by nielm
No top menus -- ah I guess you are using a PDA
Yep -- another bug in the fallback (non JS) menu:
Workaround:
Click System Information
Click on the words 'Local SageTV instance' (or if you want to web-remote an extender, click on the name of the extender)

Workaround 2:
Edit menu.html (this is where the fallback menu is defined)
Replace:
Code:
<h3><a href="webremote.html">Web-Remote</a></h3>
with
Code:
<h3><a href="webremote.html?context=SAGETV_PROCESS_LOCAL_UI&contextname=Local%20SageTV">Web-Remote</a></h3>

Sorry Nielm, this is not going well. FYI I am not using a PDA but am using a laptop. That second line is all ready in the menu.html and I do not know where to find the first work around you reference. BTW, the Webserver is working in my server desktop computer (except for no Webremote) but not on the client (laptop) which is the one I need the Webremote to change chanells and such on laptop.

Reload something on client??? Since I only have basic Client loaded it is no biggy.
__________________
The The AnJ Show Will Cook Weather
Reply With Quote
  #855  
Old 01-15-2006, 04:21 PM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Lost Sage Recordings Page

Nielm,

I have lost the Sage Recordings Webpage after experimneting with the "Sage Encoder" extras. I have tried to reinstall but that page still does not work. Additionally the latest version does not work at all. Ver 2.0 works sans the recordings page works ok. I can look at the recordings via the search page so this is kind of minor. Any idea how to fix this problem?
Reply With Quote
  #856  
Old 01-16-2006, 03:47 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by ldavis
I have lost the Sage Recordings Webpage after experimneting with the "Sage Encoder" extras.
Please define 'lost' and 'does not work at all' -- do you get any error messages etc.

Note that the latest version will only work with Sage 4.1 and higher.

To disable SageEncoder support, set the property
Code:
nielm/webserver/enableSageEncoderOpts=false
while Sage is shut down.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #857  
Old 01-16-2006, 04:32 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by jimmyb
Sorry Nielm, this is not going well. FYI I am not using a PDA but am using a laptop. That second line is all ready in the menu.html and I do not know where to find the first work around you reference. BTW, the Webserver is working in my server desktop computer (except for no Webremote) but not on the client (laptop) which is the one I need the Webremote to change chanells and such on laptop.

Reload something on client??? Since I only have basic Client loaded it is no biggy.
Rewinding a little. Please check my assumptions below and correct any of them if they are wrong.


You are running a Sage Client on a laptop.
You are using Sage V4.1 (the latest webserver 2.4 only works on sage 4.1 or higher)
You have setup the webserver on the laptop client.

You are using a normal recent web-browser (IE/Firefox/Opera/Safari/etc) and you connect to
http://laptopaddress:8080/sage/

When you do this, you do Not get the 'System information' screen (showing current recordings, currenly watching, disk space, epg info etc), but you do get a very basic 'Sage Main Menu' menu screen listing a

You also get no menu bar at the top.

If this is the case it is very odd -- the only time this screen should be displayed is if you have javascript disabled, or are using a browser that does not support recent Javascript functions. Similarly the menu bar should always be displayed unless Javascript is disabled, or not fully supported.


When you click on Web Remote in this menu, you get the webremote screen displayed with an error 'Error: No UI context specified' -- what is the address of this page?


Finally, you mention that you get a longer error if you try to use the webremote -- what is that error?
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #858  
Old 01-16-2006, 04:13 PM
robgfaulkner robgfaulkner is offline
Sage User
 
Join Date: Oct 2005
Location: Texas
Posts: 25
Send a message via MSN to robgfaulkner
I continuously get Invalid Mediafield/AiringID page warnings. Is my Wiz.bin corrupt? Any way to fix?

-Rob
Reply With Quote
  #859  
Old 01-16-2006, 08:47 PM
allen allen is offline
Sage User
 
Join Date: Nov 2005
Posts: 15
Installation Problems

After reading all the posts about the webserver, I am pretty excited about getting it to work but I just can't seem to get it to work.

I feel like I followed the instructions to the letter and have gone through the troubleshooting guide but no luck.

Here is what I did:
1. Downloaded the file off sourceforge.
2. Unzipped file into the SageTV directory
3. Changed the username/password in the realms.properties file.
4. Stopped the sageTV service.
5. Added the line to the Sage.properties file. Below is cut from the file:


linux/debug_rmf_push=false
linux/new_dev_scan_wait_period=10000
linux/sigma_player/buffersize=8192
live_playback_is_default=false
load_at_startup_runnable_classes=net.sf.sageplugins.webserver.StartServer
logfile_rollover_size=10000000
main_dvd_drive=Yes


6. Restarted the sageTV service.
7. Opened SageTV.

I tried opening the page from IE, but nothing. So, I checked if 8080 was being listened to using netstat -a but it doesn't show it.

I tried starting the webserver manually using the "java -cp . Acme.Serve.Serve -p 8080" and it starts without any errors and shows up in netstat.

I also enabled the console window on Sage. Not sure what this means, but it doesn't look good:

Mon 1/16 21:42:20.488 Succesfully setup system shell hook
Mon 1/16 21:42:20.509 Disabling offscreen DirectDraw acceleration
Mon 1/16 21:42:23.320 Error establishing server connection of:java.net.ConnectEx
ception: Connection refused: connect
Mon 1/16 21:42:23.321 at java.net.PlainSocketImpl.socketConnect(Native Method)

Mon 1/16 21:42:23.322 at java.net.PlainSocketImpl.doConnect(Unknown Source)
Mon 1/16 21:42:23.322 at java.net.PlainSocketImpl.connectToAddress(Unknown Sou
rce)
Mon 1/16 21:42:23.322 at java.net.PlainSocketImpl.connect(Unknown Source)
Mon 1/16 21:42:23.322 at java.net.Socket.connect(Unknown Source)
Mon 1/16 21:42:23.322 at java.net.Socket.connect(Unknown Source)
Mon 1/16 21:42:23.322 at java.net.Socket.<init>(Unknown Source)
Mon 1/16 21:42:23.322 at java.net.Socket.<init>(Unknown Source)
Mon 1/16 21:42:23.323 at sage.bl.do(Unknown Source)
Mon 1/16 21:42:23.323 at sage.bl.for(Unknown Source)
Mon 1/16 21:42:23.323 at sage.SageTV.<init>(Unknown Source)



Any ideas? Thanks for the help...
Reply With Quote
  #860  
Old 01-16-2006, 11:16 PM
Thor Thor is offline
New Member
 
Join Date: Jan 2006
Posts: 1
Nice job on the web server it works great.

Regarding the remote, I am also getting an error msg when clicking on any remote control button

The web server is running on the same box as Sage TV in Service Mode. I am accessing the webserver via laptop, however I have tried it on the box running Sage using localhost as well and get the same error msg.

Sage Version 4.1.3.67
Java Version 1.5.0_06

Url of Remote:
http://localhost:8080/sage/webremote...Local%20SageTV

Url of Button click on Remote:
http://localhost:8080/sage/SageComma...OCESS_LOCAL_UI

Error Msg:
UI Context: "SAGETV_PROCESS_LOCAL_UI" is not active:
use: /sage/SageCommand?command=<command>&context=<context>

Thanks.
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.