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
  #2081  
Old 09-14-2008, 08:41 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
I tried to search for this but could not find an answer.


Is there away to do away with the /sage/home component of the URL? My server is ONLY running sageTV so it would be much nicer to type http://server and get the web UI instead of the whole path..
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #2082  
Old 09-14-2008, 08:59 AM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
Quote:
Originally Posted by FidgetyRat View Post
I tried to search for this but could not find an answer.


Is there away to do away with the /sage/home component of the URL? My server is ONLY running sageTV so it would be much nicer to type http://server and get the web UI instead of the whole path..
The only way I can think of doing it is to put a redirect in index.html in the folder
c:\program files\sagetv\sagetv\webserver\webroot

Edit the file and put some code in like below

<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://servername/sage/home"></HEAD>
<BODY>

</BODY>
</HTML>

If you're using a different port for the webserver then add that to the end of the line, ie //servername:8080/sage/home
Reply With Quote
  #2083  
Old 09-14-2008, 09:19 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Quote:
Originally Posted by doc View Post
The only way I can think of doing it is to put a redirect in index.html in the folder
I edited the default file under the webroot but for some reason it continues to use the old default of redirecting to blank and printing the nothing to see here notification, even after a system reboot..

Odd.
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #2084  
Old 09-14-2008, 09:25 AM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
I don't understand that. I just pasted the code above and replaced the existing code in the file.

I've got apache on my sage server which uses port 80 so I'm using 8959 instead. If I go to http//sageserver:8959 it automatically gets forwarded to http://sageserver:8959/sage/home

You're not running Vista are you?
Reply With Quote
  #2085  
Old 09-14-2008, 11:37 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Quote:
Originally Posted by doc View Post
I don't understand that. I just pasted the code above and replaced the existing code in the file.

I've got apache on my sage server which uses port 80 so I'm using 8959 instead. If I go to http//sageserver:8959 it automatically gets forwarded to http://sageserver:8959/sage/home

You're not running Vista are you?
No, I did figure it out though. My browser cached the old index so the new one isn't getting loaded. A different PC showed the proper behavior.

Thanks
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #2086  
Old 09-14-2008, 01:32 PM
markley268 markley268 is offline
Sage User
 
Join Date: Nov 2004
Posts: 8
webserver /sage/Home won't load on particular kernel

So here's a weird one for ya......when i load to my 2.6.24-16-server ubuntu kernel, i can get to the 'home' page of the webserver http://sever/sage/Home

but when i have my 2.6.24-19-server kernel loaded, the 'home' page doesn't load. All the other pages load just fine, but the browser just sits there saying it's transferring data from the server and never loads the page when i try the /sage/Home page.

Any ideas? Is there an easy place for me to edit to see if there's something specific on the home page that is preventing the whole thing from loading?
Reply With Quote
  #2087  
Old 09-14-2008, 08:12 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I'm running 2.6.24-19-generic and haven't seen that problem. I'm using Java 1.6.0_06.

Does your sagetv_0.txt file have any errors in it?

The page is generated by a servlet so it wouldn't be very easy to modify it, unless you're a Java programmer.
__________________
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
  #2088  
Old 09-15-2008, 01:05 AM
zoundz zoundz is offline
Sage Advanced User
 
Join Date: Sep 2004
Location: Jericho, VT
Posts: 205
Web server stream original while recording?

Probably been asked and answered a bunch, but I couldn't find it. Running the latest webserver on WinXP running SageTV in service mode. When I connect to the web page and tell it to stream the original video of a recording in the web player, it works just fine. If, however, I tell it to play the original stream of a program that is currently recording, it stops with "no video" in the embedded screen. If I tell it to transcode the same program to mpeg 2 it works just fine. This occurs running the browser on either the same machine as the server or on another machine on the lan. I have the latest VLC with mozilla plugin and the directx plugin. The behavior is the same in Firefox, in an IE window in Firefox, and in IE itself.

I guess the question is whether I am missing something or is this a feature or is this a bug.

Inquiring minds want to know.

Thanks
Reply With Quote
  #2089  
Old 09-16-2008, 04:56 AM
davephan's Avatar
davephan davephan is offline
Sage Icon
 
Join Date: Mar 2004
Location: Minnesota
Posts: 1,911
Logging off the website

I installed the webserver, and it works great. However, I did not see a way to log off anywhere. When I log off, then close the web browser, the next time I connect, there is no username or password required. I am concerned that someone would follow my connection to the webserver without a username or password to connect.

Is there a way to log off, so the next time a connection is tried, a username and password is required?

Dave
Reply With Quote
  #2090  
Old 09-16-2008, 05:00 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
If you exit the browser it should prompt you the next time.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #2091  
Old 09-16-2008, 11:23 AM
davephan's Avatar
davephan davephan is offline
Sage Icon
 
Join Date: Mar 2004
Location: Minnesota
Posts: 1,911
My computer and browser is not setup to remember usernames and passwords. Yet, when I close the Firefox, and re-connect, then there is no request for the username and password. The SageTV web page opens up without a username or password.

I go to other web sites, such as Yahoo or Google e-mail, and there is an icon for logging off. I did not see anything on the menu or an icon to log off the web page.

Dave
Reply With Quote
  #2092  
Old 09-16-2008, 05:16 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by jpme View Post
This Web interface is an awesome capability, works great! I've been searching for a way to start a named Music playlist in Sage to play in SageTV. Any way to do this via the web server?

Thanks,
John
I don't know if this was ever answered... Is there a way to play a playlist via the webserver? I sometimes like to listen to music on the extender and don't want to turn the tv on to get to it.

Jim
Reply With Quote
  #2093  
Old 09-16-2008, 09:01 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by jbuszkie View Post
I don't know if this was ever answered... Is there a way to play a playlist via the webserver? I sometimes like to listen to music on the extender and don't want to turn the tv on to get to it.

Jim
Play music via webserver:
  • In webserver put your mouse over the "media library" menu item
  • From the "media library" menu select "export playlists"
  • You should now see a list of each playlist you have on SageTV.
  • From these lists you can select wvx, m3u or pls and once you select one of those it should open that playlist in your music player on your PC and then you can listen to your music streamed from your SageTV server to your PC webserver.
Reply With Quote
  #2094  
Old 09-16-2008, 09:21 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
I want to actually want to play it on the extender... Not the PC that I'm using the web page on... I can play a show or music file on the extender... but not a playlist as I far as I can tell
Reply With Quote
  #2095  
Old 09-16-2008, 09:22 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by jbuszkie View Post
I want to actually want to play it on the extender... Not the PC that I'm using the web page on... I can play a show or music file on the extender... but not a playlist as I far as I can tell
This thread is really for the web interface though.

But you should be able to play a music playlist using your extender just as you can on your SageTV server PC.
Reply With Quote
  #2096  
Old 09-17-2008, 05:27 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
I think you are misunderstanding me.. I want to start playing a playlist on the extender USING the web interface to start it!
Reply With Quote
  #2097  
Old 09-17-2008, 06:20 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
The web remote can control different extenders, but it just navigates the extender UI. The TV has to be turned on to see what's happening.
__________________
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
  #2098  
Old 09-17-2008, 07:13 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
I can play a recording in the extender but just clicking on the recording and then hitting the "play on extender" button. I'd like the same functionality with playlists.. I'd like to browse the playlists and then start one playing.

Jim
Reply With Quote
  #2099  
Old 09-18-2008, 04:28 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Alright, I have a problem. I have had the webserver running fine for the last two Sage versions that I used (6.3.10, 6.4.3 beta). I installed 6.4.8, and now it is not working. When I attempt to access it in IE, it just gives me the "Internet Explorer cannot display the webpage" error (same old error as if you tried a website that did not exist).

I am running Java 1.6.0_06, and webserver 2.22.

Since installing 6.4.8, do I have to do anything or change anything to get it working? I don't recall having to do a thing when I went from 6.3.10 to 6.4.3.

Disclaimer: this whole webserver/Java/code/xml stuff is way over my head, so be gentle with me please. I was able to follow the instructions to get it working in the first place, but if I need to edit some code or something, please "talk me through it".
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #2100  
Old 09-18-2008, 04:52 PM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Quote:
Originally Posted by pjpjpjpj View Post
Alright, I have a problem. I have had the webserver running fine for the last two Sage versions that I used (6.3.10, 6.4.3 beta). I installed 6.4.8, and now it is not working. When I attempt to access it in IE, it just gives me the "Internet Explorer cannot display the webpage" error (same old error as if you tried a website that did not exist).

I am running Java 1.6.0_06, and webserver 2.22.

Since installing 6.4.8, do I have to do anything or change anything to get it working? I don't recall having to do a thing when I went from 6.3.10 to 6.4.3.

Disclaimer: this whole webserver/Java/code/xml stuff is way over my head, so be gentle with me please. I was able to follow the instructions to get it working in the first place, but if I need to edit some code or something, please "talk me through it".
I finally installed 6.48 this afternoon. I'm running Java version 1.6.0_07. I am still using version 2.20 of the webserver though.

I just tried accessing through both Firefox (my default) and IE (v6) with no troubles.

When you installed 6.48 did you uninstall the previous version? If so did it nuke the webserver files that reside in the Sage folder/subfolders?
Or, did it somehow nuke the "load_at_startup_runnable_classes= net.sf.sageplugins.webserver.StartServer" line in sage properties that loads the webserver?

I know there are a couple version differences between my Java, and webserver and your versions, but since it worked before and not after I'd suspect something amiss during the install of 6.48. Most likely one of the two things mentioned above.
__________________
Wayne Dunham
Reply With Quote
Reply

Tags
web


Currently Active Users Viewing This Thread: 2 (0 members and 2 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:52 PM.


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