|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#361
|
|||
|
|||
menu.properties
I added a download menu to my menu.properties but the only problem is when viewing it in firefox it puts the menu under all the other ones but when you go to click on it it moves it to the end of all the menus (See attached pics). It seems to work fine in Internet Explorer. Is this a problem with my code or with the web server?
Here is the code I added to the end of the menu.properties [Downloads] Recordings=/Recordings/ Video Library=/Video_Library/ |
#362
|
||||
|
||||
Ok I've played around a little more and now get the [file] link on the details page. However, when I click on it I get the message that files cannot be directly accessed. This is also stated in the path.properties file. So now how do I actually make it so that I can access the file? I guess I'm unsure why you can tell the webserver where files are, when you cannot do anything with them?
thanks, |
#363
|
||||
|
||||
Re: file:// links:
all web browsers (that I have tested) prevent you from clicking on file:// URLs when you are looking at a page served by http:// I guess the reason why is related to security... and preventing web pages from accessing local files (though javascript). Why did I support it? to prevent people from being too confused when they added a file:// URL in paths.properties, and finding it was not clicklable!. It also allows copy/pasting of a link with a right-click (rather than select/copy/paste) |
#364
|
||||
|
||||
Quote:
|
#365
|
|||
|
|||
Quote:
|
#366
|
||||
|
||||
Nielm,
Thanks for the answer. It was just confusing for me. I did get everything to work after playing around with it. I had to put my externally viewable hostname in the http path to get it to work. Otherwise I what I got was http://video/moviename.mpg and this was not found. With the change the link now comes up as http://name.dyndns.org:8080/video/movienename.mpg and is available. thanks for all your work, |
#367
|
||||
|
||||
Quote:
|
#368
|
|||
|
|||
Quote:
|
#369
|
||||
|
||||
WebServer Error: "Unknown airing/media file ID passed"
Error: Unknown airing/media file ID passed
-------------------------------------------------------------------------------- I installed Webserver for 2.1. When I hit the website I get the main screen comes up but I only see the blue logo, there is not information other than the error message: Unknown airing/media file ID passed The menu is available at the top and if I select 'Home' everything refreshes and then works without any more issues. It only shows when I first access the page. Seeking wisdom Boxpin
__________________
|
#370
|
||||
|
||||
Quote:
If the latter, check the address: it should be: http://server/sage/Home (it sounds like your bookmark is to a detailed info page) |
#371
|
|||
|
|||
Possible Feature Request
Is there any way I can remotely control Sage via your webserver to automatically play back music that the box controls? SageTV is plugged into my entertainment center and the receiver controls sound to most of the house. Would love to be able to pipe sound at whim from my bedroom
Btw, this plug in rocks. I stopped using VNC and now exclusively use this to control it remotely! |
#372
|
|||
|
|||
Quote:
Would it be possible to have play/stop/pause/FFW/REW controls served by the web server as well? I would love to use an Audrey touch screen to control my SAGE server. |
#373
|
||||
|
||||
Quote:
Quote:
Syntax: http://server:8080/sage/SageCommand?command=xxx?returnto=yy Where xxx is a command name from the Sage Commands list and yyy is a url to return to when the command is sent. Attached is a simple page (and necessary icons) that gives playback controls (FF/REW/up/down) -- unpack into your Sage directory, make sure the webserver is running in the client and go to: http://server:8080/sage/controls.html |
#374
|
|||
|
|||
Quote:
|
#375
|
||||
|
||||
I tried this controls.html... but all I get is "page cannot be displayed" errors after clicking on something...
|
#376
|
||||
|
||||
Quote:
does the click 'work' ie is the playback paused or whatever? Any detailed message/error code at the bottom of the page (eg 404--file not found?) |
#377
|
||||
|
||||
In internet explorer from the server machine I get no specific errors... from my client with firefow I get this:
Exception while processing servlet: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sage.SageTV.api(Unknown Source) at net.sf.sageplugins.webserver.SageApi.Api(SageApi.java:16) at net.sf.sageplugins.webserver.CommandServlet.doServletGet(CommandServlet.java:44) at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:129) 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:1528) at Acme.Serve.ServeConnection.parseRequest(Serve.java:1503) at Acme.Serve.ServeConnection.run(Serve.java:1392) at java.lang.Thread.run(Unknown Source) Caused by: sage.a.e: Error in method reflection of SageCommand of java.lang.NullPointerException at sage.u.a(Unknown Source) at sage.ai.if(Unknown Source) ... 10 more On a side note, from that same client, the web interface doesn't load properly. There is no top menus and no background image, amoung other things... Thanks |
#378
|
||||
|
||||
I just went though and reinstalled everything because of other hickup I was having. Now this seems to work very well.
I've gone ahead and added more functions, hope you don't mind nielm. You'll need to replace your existing menu.properties file, located in C:\Program Files\Frey Technologies\SageTV\webserver with the one in the archive. Then place the images and html file in your C:\Program Files\Frey Technologies\SageTV\webserver\webroot\sage directory. Make sure you exit sage (including the service before you do this). If there are any other function you would like added, it really easy for me to throw them in, so let me know. Last edited by Wheemer; 03-11-2005 at 05:34 PM. |
#379
|
||||
|
||||
I think i found my original error again... it seems to happen when I'm running in service mode. Any suggestions on how to get around or solve this??
|
#380
|
||||
|
||||
No problems with adding functionality: I will probably incorporate it in the (mythical) next version
You cannot send commands to the service, only the client front-end (I did mention that in the above post!), this is because ther service doesn't know what to do with them! You might prefer to run two webservers, one in the context of the service (for reliability/external access/scheduling), and one in the client (for remote control) - I do this myself! Just remember to choose a different webserver port in the sageclient.properties file... |
Tags |
web |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
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 |