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
  #1981  
Old 06-07-2008, 06:36 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by Sparhawk6 View Post
Power costs. There's a reason.
Another reason, is that some people may only want to buy one license for an extender (whether it be an HD extender, or Placeshifter). If away from the house, and you wanted to use Placeshifter, and only had one license, and your HD Extender was on at home, it would be using the license, with no way for you to turn it off. Since you can turn it off via the Webserver, you are in luck!
__________________
-Jason
Reply With Quote
  #1982  
Old 06-07-2008, 09:58 PM
David HVR1600 David HVR1600 is offline
Sage User
 
Join Date: May 2008
Posts: 60
Just buy an IP based power toggling unit But these things are what? 17 watts when on? thats not much power.
Reply With Quote
  #1983  
Old 06-08-2008, 01:46 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by David HVR1600 View Post
Just buy an IP based power toggling unit But these things are what? 17 watts when on? thats not much power.
The Webserver is free...
__________________
-Jason
Reply With Quote
  #1984  
Old 06-08-2008, 03:50 PM
motobarsteward's Avatar
motobarsteward motobarsteward is offline
Sage Aficionado
 
Join Date: Dec 2005
Location: Swindon
Posts: 311
I've managed to break the convert facility in the webserver but I don't know how. Can any one help? I set a file to convert and after a second or two, it is listed as 'Failed'. There is nothing obvious in the log, see below, unless missing icon files are an issue?

Code:
[Sun Jun 08 22:23:15 BST 2008] /sage/ChannelLogo: Exception while processing servlet
java.lang.Exception: logofile not found in C:\Program Files\SageTV\SageTV\ChannelLogos\ for Channel: UKTV Gold
	at net.sf.sageplugins.webserver.ChannelLogoServlet.doServletGet(ChannelLogoServlet.java:63)
	at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:82)
	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:1501)
	at Acme.Serve.ServeConnection.parseRequest(Serve.java:1476)
	at Acme.Serve.ServeConnection.run(Serve.java:1363)
	at java.lang.Thread.run(Unknown Source)
I'll try replacing the icon folder with an empty one on the server and see if that helps.

Every thing else works, including transcoding/streaming.
__________________
Setup: - Server - Intel 3.4G D + XP, 2Gig ram, 3TB of raid. All running in service mode with 2 Hauppauge HVR4000 Running v7 with LMGestion's XMLTV and DG2XML. I also have the web server running.
Client - x2 plus PlaceShifter on various machines including eeepc Ubuntu 8.04. I am streaming Live TV to my PocketPC.
Stable but can use DVB-S on second HVR400.
Reply With Quote
  #1985  
Old 06-09-2008, 12:31 PM
motobarsteward's Avatar
motobarsteward motobarsteward is offline
Sage Aficionado
 
Join Date: Dec 2005
Location: Swindon
Posts: 311
Broken transcode

I am now replying to my own thread! If I empty the icon folder, I get an exception for many icons, so I think that has nothing to do with it.

If I look at the sagetv log, I find...

Code:
Mon 6/9 19:24:20.416 Added for transcoding:MediaFile[id=3922505 A[3894403,3892511,"Filth: The Mary Whitehouse Story",8115@0528.21:00,90] host=deepthought encodedBy=Hauppauge WinTV PVR PCI II Capture DVD Standard Play format=MPEG2-PS 1:34:58 0 kbps [#0 Video[MPEG2-Video 25.0 fps 720x576 4:3 interlaced]#1 Audio[MP2 48000 Hz 2 channels 768 kbps MAIN idx=1 id=c0]] \\DEEPTHOUGHT\SageCap\FilthTheMaryWhitehouseStory-3894403-0.mpg, Seg0[Wed 5/28 21:00:00.004-Wed 5/28 22:35:00.072]]
Mon 6/9 19:24:20.419 Initiating xcode for \\DEEPTHOUGHT\SageCap\FilthTheMaryWhitehouseStory-3894403-0.mpg
Mon 6/9 19:24:20.419 Set Transcode format source=MPEG2-PS 1:34:58 0 kbps [#0 Video[MPEG2-Video 25.0 fps 720x576 4:3 interlaced]#1 Audio[MP2 48000 Hz 2 channels 768 kbps MAIN idx=1 id=c0]] dest=avi 0:00:00 0 kbps [#0 Video[mpeg4 25.0 fps 720x576 2000 kbps progressive]#1 Audio[ ]{CompressionDetails=-vtag xvid -deinterlace}]
Mon 6/9 19:24:20.421 Ministry is waiting for 180 sec
Mon 6/9 19:24:21.424 Ministry is waiting for 180 sec
Which suggest to me that it is a problem with sage rather than the web server plugin. Or, does the web server post things to the sage log?
__________________
Setup: - Server - Intel 3.4G D + XP, 2Gig ram, 3TB of raid. All running in service mode with 2 Hauppauge HVR4000 Running v7 with LMGestion's XMLTV and DG2XML. I also have the web server running.
Client - x2 plus PlaceShifter on various machines including eeepc Ubuntu 8.04. I am streaming Live TV to my PocketPC.
Stable but can use DVB-S on second HVR400.
Reply With Quote
  #1986  
Old 06-09-2008, 02:14 PM
kevine kevine is offline
Sage Expert
 
Join Date: Aug 2007
Posts: 514
Invalid Command Passed

I receive "Invalid Command Passed" when I try to save a favorite. Deletion of a favorite works. I recently changed the port from 8080 to 8088 to access externally. When I chagned this I did a search and replace of 8080 in the props file. It is not working externally through the internet. When I try it internally I do not have this problem. Any thoughts?
Reply With Quote
  #1987  
Old 06-10-2008, 02:23 PM
kevine kevine is offline
Sage Expert
 
Join Date: Aug 2007
Posts: 514
Never mind. It's working now.
Reply With Quote
  #1988  
Old 06-12-2008, 08:47 PM
MarkV MarkV is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 83
A little help

I have SageTV webserver up and running on three PCs. I'm able to drive the clients and server display application via http calls.

I finally got smart and got a hd100. What the heck do I need to do to make it work with the webserver?

I'm using commands like "GET /sage/SageCommand?context=SAGETV_PROCESS_LOCAL_UI&command=Play HTTP/1.0\r\n Authorization: Basic yadayada\r\n\r\n";

Okay, did some more digging - looks like context should be the IP address of the extender. Is that the only trick ? That doesn't appear to work for clients, but the error message suggests its a feature for extenders.

My extender is registered (no trial stuff), but going to the Sage server webpage doesn't indicate the IP address is connected under "Connected Clients"

Thanks in advance for clueing me in.

Last edited by MarkV; 06-12-2008 at 09:32 PM.
Reply With Quote
  #1989  
Old 06-13-2008, 08:48 AM
MarkV MarkV is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 83
It appears my syntax is all happy, but the Sage server doesn't believe the extender is an extender

http://192.168.1.100:8080/sage/SageC...1&command=Menu

That returns UI Context: "192.168.1.111" is not active:
Sage Extender is not connected

The extender is working fine otherwise. Just no driving it over IP.

Going through old posts - it looks like there was an MvpCommand at some time and I am able to get ExtenderCommand to be recognized as well, although it provides a java language exception : Invalid command passed for everything I've tried so far, but at least that gives me another avenue to explore

Last edited by MarkV; 06-13-2008 at 10:28 AM.
Reply With Quote
  #1990  
Old 06-13-2008, 12:24 PM
Tinpanharry's Avatar
Tinpanharry Tinpanharry is offline
New Member
 
Join Date: Jun 2008
Posts: 9
Web User Interface

Should the web user interface be installed where SageTV runs with the Tuner card? Or should it be installed on remote laptops? Sorry for such a basic questions.
Reply With Quote
  #1991  
Old 06-13-2008, 12:30 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by Tinpanharry View Post
Should the web user interface be installed where SageTV runs with the Tuner card? Or should it be installed on remote laptops? Sorry for such a basic questions.
Where the tuners are. Basically think of that as the SageTV server.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #1992  
Old 06-14-2008, 02:16 PM
MarkV MarkV is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 83
I continue to beat my head on a problem which must be trivial as it doesn't seem to be mentioned as a common issue.

How do I get the SageTV server service to recognize the hd extender ? The hd extender is showing up in the SageTV/SageTV/clients directory on the SageTV Server system. The extender works fine with an IR remote. It sees all the content on the SageTV server. However, if I look at the serverip:8080/sage/Home, it does not show the extender is a Connected Client.

I'm on Sage Webserver 2.22 with the server running under Vista. I'm using software version V6.4.5.159 and Java version 1.6.0_05. I have a second XP client that I have installed the webserver on that works fine. I have a third XP client that i just use as a sage client (no webserver) and it is detected as a Connected Client.

is there a modification that needs to be done beyond the clients/macaddress.properties file for the extender to be recognized by the SageServer?

For example (just presenting the IPs, I type them in when testing, but the names here make it easier to understand what I'm trying to do)
Sageserver = 192.168.1.111
Sageclient = 192.168.1.112
Sageextender = 192.168.1.113

Commands such as
http://Sageserver:8080/sage/SageComm...OCESS_LOCAL_UI work just fine

however, http://Sageserver:8080/sage/SageComm...=192.168.1.113 barfs with
UI Context: "192.168.1.113" is not active:
Sage Extender is not connected
use: /sage/SageCommand?command=<command>&context=<context>

http://Sasgeserver:8080/sage/Extende...=192.168.1.113 barfs with
Are you sure you want to Guide the Placeshifter at 192.168.1.113
hitting yes generates
Failed to send command to MVP:
java.lang.Exception: Invalid command passed

It does the same for the sageclient. I installed the web server on a second sage client and all the context=SAGETV_PROCESS_LOCAL_UI commands work for it.

I don't mind reading but I have been googling and sagetv forum searching for hours.

Last edited by MarkV; 06-14-2008 at 08:03 PM.
Reply With Quote
  #1993  
Old 06-14-2008, 03:35 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
extenders.properties uses:

000dfe0c012c=Family Room
000dfe227d6e=Guest Room
00085c53a24c=MBR HD Extender

All contexts should be local to the server except for fat clients on PCs or Macs.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #1994  
Old 06-14-2008, 06:39 PM
MarkV MarkV is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 83
I set up the webserver/extenders.properties as well to correlate the mac address to a physical extender, but that just seems to be a naming scheme.

Is there a way to tell if Sage thinks an extender is using an extender license (other than having 1 license and two extenders) ?

There's no direct setup on the server to indicate the HD100 is an extender, is there?

Quote:"
Originally Posted by BBCritical
Is it possible to add the same remote functionality from the server for the MVPs to clients instead of having to install a web server on each client?

Response from Nielm:
No.
The reason why MVPs are possible is the MVP user interfaces all run in the same process as part of the server

So I can basically throw out most of the assumptions I've made with respect to the MVP and SageClient acting at all alike. It seems like I should just delete the clients/macaddress.properties files and let sage regenerate it.

Did it, basically had to run through the start up settings on the extender. Sage webserver plugin still sees the two clients and localhost connection, but doesn't see the extender...

Last edited by MarkV; 06-14-2008 at 07:33 PM.
Reply With Quote
  #1995  
Old 06-16-2008, 10:11 AM
Tinpanharry's Avatar
Tinpanharry Tinpanharry is offline
New Member
 
Join Date: Jun 2008
Posts: 9
How do I figure out what my external IP address is?

Quote:
Originally Posted by cslatt View Post
192.168.1.125 is a private IP address that is only accessible from inside your home network. Your browser would be able to access it (since it is running on a computer inside your home network), but a website on the internet (like feed2js) would not. If you want to use the feed outside your local network, you'll need to figure out your external IP address and make sure the appropriate ports are mapped to your Sage machine on your router.
How do I figure out what my external ip address is? Thanks for bearing with a newbie question.
Tinpanharry
__________________
Tinpan Harry
Sharp Acquos 42" SageTV Hauppauge 1600, OTA, Dell 4600 1.2gb Ram, 2.8Ghz, 75GB HD, 500GB USB WD Mybook, Apple TV, Network Magic, Dlink 4300G,
Reply With Quote
  #1996  
Old 06-16-2008, 10:15 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by Tinpanharry View Post
How do I figure out what my external ip address is? Thanks for bearing with a newbie question.
Tinpanharry
Lots of ways, but an easy one is to go here:
http://whatismyip.com/
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #1997  
Old 06-21-2008, 05:54 AM
zzmystique's Avatar
zzmystique zzmystique is offline
Sage Advanced User
 
Join Date: May 2004
Location: New Zealand
Posts: 211
Hi Nielm

I want to add a link to a metadata file on the detailed info page of each recording.. but can't find the file to edit.

Quote:
Originally Posted by nielm View Post
As an example, the code for displaying the detailed info page is here
What's the file called within your web user interface that this code is used in?

Thanks
__________________
ZZMystique
My setup: Server: SageTV v7, Intel i5, 8GB, 180GB SSD, 4TB HDD, Win7HP & (DVB Viewer Pro with DVB Viewer for SageTV using 2xTBS6281 DVB-T2).
Reply With Quote
  #1998  
Old 06-21-2008, 06:52 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
It's DetailedInfoServlet.java. You'll need to get the source from sourceforge.net, recompile the servlet and rebuild the jar, though.
__________________
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
  #1999  
Old 06-21-2008, 07:28 AM
zzmystique's Avatar
zzmystique zzmystique is offline
Sage Advanced User
 
Join Date: May 2004
Location: New Zealand
Posts: 211
Quote:
Originally Posted by jreichen View Post
It's DetailedInfoServlet.java. You'll need to get the source from sourceforge.net, recompile the servlet and rebuild the jar, though.
Never done that before, which files do I need to download from sourceforge.net and how do I recompile the servlet and rebuild the jar file?

Thanks
__________________
ZZMystique
My setup: Server: SageTV v7, Intel i5, 8GB, 180GB SSD, 4TB HDD, Win7HP & (DVB Viewer Pro with DVB Viewer for SageTV using 2xTBS6281 DVB-T2).
Reply With Quote
  #2000  
Old 06-21-2008, 04:02 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I'm not sure you'll want to go through the process. If you do, you need to have Java development skills. Then get yourself a Java IDE. The projects on SourceForge are set up to use Eclipse, but it's possible to user others like NetBeans.

Then get the source code. It's stored in CVS on SourceForge.net. Use anonymous CVS access, and use webserver for the modulename. It's easiest to use the CVS plugin for your IDE.

Modify the source code, then use the IDE tools to compile the code and create a jar file.

== Nielm, 2000 posts in this thread. I'd say the webserver has been a pretty successful project! ==
__________________
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
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 02:49 PM.


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