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
  #41  
Old 06-06-2008, 09:30 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by jreichen View Post
Looks good, Brent..
Could you check my steps #5 and #6 to see if I have those listed correctly?

Thanks for the help - I meant to get started on this earlier this week, but the HD-PVR work took a bit more than I had expected...

Last edited by Brent; 06-06-2008 at 09:51 AM.
Reply With Quote
  #42  
Old 06-06-2008, 09:44 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
What about the requirement for Nielms www server?
Quote:
Are the jar files from nielm's webserver in the JARs folder? Right now it depends on those. I forgot to mention that.
It would seem that should be listed as either a prerequisite, or a discrete step in Brent's list.

Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #43  
Old 06-06-2008, 09:55 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by matt91 View Post
What about the requirement for Nielms www server?
It would seem that should be listed as either a prerequisite, or a discrete step in Brent's list.

Matt
Matt,
I added the requirement to have Neilm's Web User Interface installed and running. I think as long as you install it as per Nielm's instructions you're good to go.
Reply With Quote
  #44  
Old 06-06-2008, 10:31 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Brent View Post
Could you check my steps #5 and #6 to see if I have those listed correctly?

Thanks for the help - I meant to get started on this earlier this week, but the HD-PVR work took a bit more than I had expected...
#5 - The filename is JettyStarter.properties. With 1.0.02, the jetty.configfiles property shouldn't need to be modified. And just remove the quotes from the jetty.logs property. If those don't work, I have some more work to do.

#6 - The properties file is Sage.properties. I'm sure you knew that but it wouldn't hurt to give the actual name. Also, it would be clearer to state that the value is being added to the value of the load_at_startup_runnable_classes key (rather than changing one to the other).

Matt, thanks for catching the jar dependency.
__________________
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
  #45  
Old 06-06-2008, 04:11 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by jreichen View Post
I've seen that if I try accessing the page while Jetty is extracting the war. Usually waiting a few seconds and then refreshing fixes it. That doesn't seem to be the case here, though.

Is there anything in sagetv_0.txt log?
I don't see anything out of the ordinary when I search the log. I searched for jetty and copied my sagetv_0.txt log below:
Code:
Fri 6/6 18:09:36.320 Loading startup runnable:net.sf.sageplugins.jetty.starter.Main
Fri 6/6 18:09:36.321 Loaded startup runnable:net.sf.sageplugins.jetty.starter.Main
Fri 6/6 18:09:36.323 JettyStarter: Starting Jetty
Fri 6/6 18:09:36.324 Starting webserver with args: [-p, 8888, -root, webserver, -t, throttles.properties, -s, servlets.properties, -r, realms.properties, -a, aliases.properties, -nohup]
Fri 6/6 18:09:36.360 JettyStarter properties
Fri 6/6 18:09:36.360 -- listing properties --
Fri 6/6 18:09:36.360 jetty.logs="C:\Program Files\SageTV\SageTV\jetty...
Fri 6/6 18:09:36.361 jetty.configfiles="C:\Program Files\SageTV\SageTV\jetty...
Fri 6/6 18:09:36.361 jetty.home=C:\Program Files\SageTV\SageTV\jetty
Fri 6/6 18:09:36.362 Starting Jetty from the following configuration files: 'C:\Program Files\SageTV\SageTV\jetty/etc/jetty.xml'
Fri 6/6 18:09:36.431 Acme httpd BRI-HTPC:8888 listening.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #46  
Old 06-06-2008, 04:15 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Ignore my previous post... I got so frustrated that I started with a new fresh JettyStarter.properties file and didn't modify it at all. I started Sage and it now seems to work! With no changes to that properties file... very weird. The properties are below:
Code:
#jetty.home=jetty
#jetty.configfiles="$(jetty.home)/etc/jetty.xml" "$(jetty.home)/etc/jetty-ssl.xml"
jetty.configfiles="$(jetty.home)/etc/jetty.xml"
jetty.logs=logs
#jetty.restart.allow=true
#jetty.restart.port=8081
#jetty.restart.bindaddress=127.0.0.1
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #47  
Old 06-06-2008, 10:45 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Hmm. Not working so I'm doing something wrong. I'm following the procedures I listed in my earlier post with the exceptions of the following points you made:
Quote:
Originally Posted by jreichen View Post
#5 - The filename is JettyStarter.properties. With 1.0.02, the jetty.configfiles property shouldn't need to be modified. And just remove the quotes from the jetty.logs property. If those don't work, I have some more work to do.
I opened up jettystarter.properties and made only one change. I removed the quotes from the jetty.logs property. Should I also remove it from the config property? Any other changes needed in jettystarter.properties?


I don't know what else I'm missing, but the sagetv properties file doesn't seem to help me and it doesn't seem to be creating anything in jetty/logs either. Going to sleep and will try some more tomorrow.
Reply With Quote
  #48  
Old 06-06-2008, 11:23 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
The instructions in your earlier post look fine. Does sagetv_0.txt have any errors?

Those are the only two properties used in the file right now. The jetty.configfiles property needs the quotes because the path has spaces in Windows, and there could be multiple files specified in that property. Let's try a couple things in JettyStarter.properties:
  1. Change the jetty.logs property to this:
    Code:
    jetty.logs=logs
    Restart Sage and see if that fixes it. Check sagetv_0.txt if it still doesn't work.
  2. If that didn't fix it, try modifying both settings like Rick did in post #15. Restart Sage again and check the log.
Unfortunately the logs generated in the jetty.logs folder are only request logs. They're not very useful for troubleshooting. I need to do some more research on that.
__________________
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
  #49  
Old 06-07-2008, 06:33 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by jreichen View Post
The instructions in your earlier post look fine. Does sagetv_0.txt have any errors?

Those are the only two properties used in the file right now. The jetty.configfiles property needs the quotes because the path has spaces in Windows, and there could be multiple files specified in that property. Let's try a couple things in JettyStarter.properties:
  1. Change the jetty.logs property to this:
    Code:
    jetty.logs=logs
    Restart Sage and see if that fixes it. Check sagetv_0.txt if it still doesn't work.
That didn't work. Nothing in the jetty/log so here's what I found in the sagetv log:
Quote:
Sat 6/7 7:27:48.183 Loading startup runnable:net.sf.sageplugins.jetty.starter.Main
Sat 6/7 7:27:48.192 RecordingXmlGenerator: Started RecordingXmlGenerator thread version 1.1 using SageXML version 1.3
Sat 6/7 7:27:48.194 Starting webserver with args: [-p, 8129, -root, webserver, -t, throttles.properties, -s, servlets.properties, -r, realms.properties, -a, aliases.properties, -nohup]
Sat 6/7 7:27:48.203 Loaded startup runnable:net.sf.sageplugins.jetty.starter.Main
Sat 6/7 7:27:48.265 JettyStarter: Starting Jetty
Sat 6/7 7:27:48.266 RecordingXmlGenerator: Monitoring recordings every 86400 seconds
Sat 6/7 7:27:48.270 JettyStarter properties
Sat 6/7 7:27:48.270 -- listing properties --
Sat 6/7 7:27:48.271 jetty.logs=logs
Sat 6/7 7:27:48.271 jetty.configfiles="C:\Program Files\SageTV\SageTV\jetty...
Sat 6/7 7:27:48.271 jetty.home=C:\Program Files\SageTV\SageTV\jetty
Sat 6/7 7:27:48.272 RecordingXmlGenerator: Updating XML files for recordings
Sat 6/7 7:27:48.296 Starting Jetty from the following configuration files: 'C:\Program Files\SageTV\SageTV\jetty/etc/jetty.xml'
I've tried with the changes in #15 as well with the same results.

Just to be sure I'm not messing the port thing up. I changed the port to 8129 which is the same port I use for nielm's web server. Is that the right thing to do?
Reply With Quote
  #50  
Old 06-07-2008, 07:10 AM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by Brent View Post
Just to be sure I'm not messing the port thing up. I changed the port to 8129 which is the same port I use for nielm's web server. Is that the right thing to do?
I believe it needs to be set up on a different port from nielm's server. They are two seperate web servers and you can't have them listening on the same port.

EDIT: A way to tell if the server is listening on the port you designate is go to the command prompt and use the "netstat -a" command to see what ports are being used. If it's working properly, you should see both your nielm web server and jetty ports on the list.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #51  
Old 06-07-2008, 08:53 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by LehighBri View Post
I believe it needs to be set up on a different port from nielm's server. They are two seperate web servers and you can't have them listening on the same port.
That was it - I was just being stupid. Thanks for the tip!!!
Reply With Quote
  #52  
Old 06-07-2008, 10:29 AM
Sparhawk6 Sparhawk6 is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 323
I'm testing out the mobile interface as per Brent's nice instructions. It looks pretty good!

Few things in my wishlist:
- Being able to fast forward to other days faster in the Listings section.
- Having all the info shown to stream the show to the phone, (you know, how it looks on the web interface normally...the different bitrates, etc.)

I'm loving it so far. Good work!
__________________
Server: Gigabyte EP43-UD3L; Intel Core2Duo E5200; 4 GB DDR2 RAM; NVidia GeForce 9400GT; 6 tuners: Hauppauge HVR-1600 NTSC/ATSC/QAM combo, Hauppauge WinTV-HVR-2250 Dual Hybrid QAM, HD Homerun Prime (using SageDCT); 3.06TB total space: Seagate 160 GB, Maxtor 500GB, Seagate Barracuda 400GB, Hitachi 2 TB
Extender: HD200
Netgear MCAB1001 MoCA Coax-Ethernet Adapter Kit
Reply With Quote
  #53  
Old 06-07-2008, 02:25 PM
Sparhawk6 Sparhawk6 is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 323
By the way, is anyone able to see this using Opera Mini 4.1? For some reason, Opera Mini won't load up this mobile version, and it won't load up the normal web interface either. It just sits there at "processing" and then times out.
__________________
Server: Gigabyte EP43-UD3L; Intel Core2Duo E5200; 4 GB DDR2 RAM; NVidia GeForce 9400GT; 6 tuners: Hauppauge HVR-1600 NTSC/ATSC/QAM combo, Hauppauge WinTV-HVR-2250 Dual Hybrid QAM, HD Homerun Prime (using SageDCT); 3.06TB total space: Seagate 160 GB, Maxtor 500GB, Seagate Barracuda 400GB, Hitachi 2 TB
Extender: HD200
Netgear MCAB1001 MoCA Coax-Ethernet Adapter Kit
Reply With Quote
  #54  
Old 06-07-2008, 03:21 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
This is working good for me inside my home network, but I can't access outside of the network across the internet. Other than forward the port I chose for this is there anything else I should be doing?
Reply With Quote
  #55  
Old 06-07-2008, 03:49 PM
Sparhawk6 Sparhawk6 is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 323
You have the correct port typed in the web address?
__________________
Server: Gigabyte EP43-UD3L; Intel Core2Duo E5200; 4 GB DDR2 RAM; NVidia GeForce 9400GT; 6 tuners: Hauppauge HVR-1600 NTSC/ATSC/QAM combo, Hauppauge WinTV-HVR-2250 Dual Hybrid QAM, HD Homerun Prime (using SageDCT); 3.06TB total space: Seagate 160 GB, Maxtor 500GB, Seagate Barracuda 400GB, Hitachi 2 TB
Extender: HD200
Netgear MCAB1001 MoCA Coax-Ethernet Adapter Kit
Reply With Quote
  #56  
Old 06-07-2008, 04:21 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by Sparhawk6 View Post
You have the correct port typed in the web address?
Yes, I can access from my home browser just fine as long as I use localhost, but when I use the ip address like I would from a remote location it won't work.
Reply With Quote
  #57  
Old 06-07-2008, 06:29 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Brent View Post
This is working good for me inside my home network, but I can't access outside of the network across the internet. Other than forward the port I chose for this is there anything else I should be doing?
You shouldn't need to do anything else. I am able to access it from the outside.

Quote:
Originally Posted by Brent View Post
Yes, I can access from my home browser just fine as long as I use localhost, but when I use the ip address like I would from a remote location it won't work.
What does your jetty.host setting in jetty.xml have? Here is mine.
Code:
<Set name="host"><SystemProperty name="jetty.host" /></Set>
I think there have been reports in nielm's webserver forum about people not being able to access the webserver using the external IP from within the network. Apparently some routers don't let you do that.

Can you access it from your phone?
__________________
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
  #58  
Old 06-07-2008, 06:51 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Can someone using Windows just remove the quotes from the jetty.logs setting in JettyStarter.properties file and verify the server still works and there aren't any errors in sagetv_0.txt? SageTV will need to be restarted. Thanks!
Code:
jetty.logs=$(jetty.home)/logs
__________________
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
  #59  
Old 06-07-2008, 08:22 PM
Sparhawk6 Sparhawk6 is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 323
Quote:
Originally Posted by jreichen View Post
Can someone using Windows just remove the quotes from the jetty.logs setting in JettyStarter.properties file and verify the server still works and there aren't any errors in sagetv_0.txt? SageTV will need to be restarted. Thanks!
Code:
jetty.logs=$(jetty.home)/logs
There weren't any quotes in mine when I looked at it. It just read

Code:
jetty.logs=logs
__________________
Server: Gigabyte EP43-UD3L; Intel Core2Duo E5200; 4 GB DDR2 RAM; NVidia GeForce 9400GT; 6 tuners: Hauppauge HVR-1600 NTSC/ATSC/QAM combo, Hauppauge WinTV-HVR-2250 Dual Hybrid QAM, HD Homerun Prime (using SageDCT); 3.06TB total space: Seagate 160 GB, Maxtor 500GB, Seagate Barracuda 400GB, Hitachi 2 TB
Extender: HD200
Netgear MCAB1001 MoCA Coax-Ethernet Adapter Kit
Reply With Quote
  #60  
Old 06-07-2008, 08:51 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Got mine working across the internet finally. Had messed up my port forwarding while troubleshooting - all is great now. I really like the mobile pages you've made here - looks great on my blackberry curve. Excellent job
I also agree with Rickw's suggestion:
Quote:
Originally Posted by rickw
I think you've done a good job of formatting the displays for a mobile browser. My only suggestion right now is related to the guide listing. There needs to be some method for jumping to a specific date and time slot. For example it's morning right now, but I'd like to see the primetime listing. It takes a while to "Next>" through the entire day.
By the way, I've tried it with the log property set as this:
Code:
jetty.logs=logs
and as this (without the quotes from the original file):
Code:
jetty.logs=$(jetty.home)/logs
Both ways work fine for me.
Reply With Quote
Reply


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
What transcoding target to I use for Windows Mobile? deria SageTV Software 1 07-25-2008 08:07 AM
HD Extender interface performance and video resolution MTuckman SageTV Media Extender 4 02-27-2008 09:57 AM
How fast is HD Extender's interface? Grasshopper SageTV Media Extender 11 02-20-2008 07:25 AM
SageTV with English User Interface to recognize media files written in cyrillic? krasev SageTV Software 9 09-11-2006 07:29 PM
Ambitious STV DEVELOPER wanted technix SageTV Customizations 4 02-09-2005 03:52 PM


All times are GMT -6. The time now is 07:14 PM.


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