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
  #2141  
Old 12-27-2008, 05:26 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
My webserver is completely dead. It died a while ago and my log file had the "BindException: Address already in use: JVM_Bind". I changed the port and it worked... briefly. The next time I tried, it did not work at all... in fact, it gives me the standard
"Internet Explorer cannot display the webpage" (standard IE message when the webpage does not exist).

I get no log file in the webserver folder at all; it's obviously not even making a connection. I get my service through no-ip.org, and nothing has changed there (I have since tried changing my port there and in sage.properties, so that's not it). The webserver is still in the "load at startup runnable classes" listings, so it's not that....
__________________
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
  #2142  
Old 12-28-2008, 12:05 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Can you access it from a browser on the same machine as the web server (to eliminate any firewall or port forwarding issues)? Please you check your sagetv_0.txt for error messages and post them here if there are any.
__________________
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
  #2143  
Old 12-28-2008, 12:48 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by MarkV View Post
Does anyone use WatchNow with the MediaFileId for mounted dvds on an extender? It's rather iffy for me with it working sometimes and other times it chooses a channel on the TV and starts trying to play it back (possibly it's trying to watch live tv?)
I just tried this with Placeshifter on a Linux machine and got live TV. If I try to "Watch Now" using the Placeshifter UI it gets an error about not being able to handle the content (I don't think DVD's are supported in the Linux Placeshifter). Check if you can play the DVD by using the extender's UI.

The webserver calls the Watch API followed by "Home" and "TV". If "Watch" fails the media player probably doesn't have any current content so "Home" and "TV" probably tell the media player to play live TV.

Quote:
Originally Posted by MarkV View Post
I turned on logging (set the three values to true mentioned in a recent post).

One thing that seems to be missing - the logs don't seem to contain the entire string received by the webserver.

I send http://192.168.1.111:8080/sage/Media...FileId=6884891

but the log just says
[Sat Dec 20 22:58:07 EST 2008] /192.168.1.111 GET /sage/MediaFileCommand 401| null| Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; Media Center PC 5.0)
[Sat Dec 20 22:58:11 EST 2008] /192.168.1.111 GET /sage/MediaFileCommand 200| null| Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; Media Center PC 5.0)
I haven't verified, but it may not log request parameters.
__________________
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
  #2144  
Old 12-28-2008, 04:22 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
You can't watch ripped DVDs in placeshifter.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #2145  
Old 12-28-2008, 10:14 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Quote:
Originally Posted by jreichen View Post
Can you access it from a browser on the same machine as the web server (to eliminate any firewall or port forwarding issues)?
That's what I am trying to do. No luck.

Quote:
Originally Posted by jreichen View Post
Please you check your sagetv_0.txt for error messages and post them here if there are any.
I do not have this file. Should I? And if it's something that a working webserver creates, then I should have it, because webserver worked previously... hmmm....
__________________
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
  #2146  
Old 12-28-2008, 11:02 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
The file is created by SageTV and is located in the SageTV installation directory. Anything written to "standard out" by SageTV or any plugins is included in that file.
__________________
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
  #2147  
Old 12-30-2008, 05:27 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Quote:
Originally Posted by jreichen View Post
The file is created by SageTV and is located in the SageTV installation directory. Anything written to "standard out" by SageTV or any plugins is included in that file.
Well, I don't have it, which could explain why webserver isn't working. But my Sage is working fine otherwise.... Thoughts?
__________________
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
  #2148  
Old 12-30-2008, 08:48 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
the file is only created if debug=TRUE in your Sage.properties file.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #2149  
Old 12-30-2008, 10:07 PM
MarkV MarkV is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 83
Quote:
Originally Posted by jreichen View Post
I just tried this with Placeshifter on a Linux machine and got live TV. If I try to "Watch Now" using the Placeshifter UI it gets an error about not being able to handle the content (I don't think DVD's are supported in the Linux Placeshifter). Check if you can play the DVD by using the extender's UI.

The webserver calls the Watch API followed by "Home" and "TV". If "Watch" fails the media player probably doesn't have any current content so "Home" and "TV" probably tell the media player to play live TV.

I haven't verified, but it may not log request parameters.
It functions properly about 25% of the time, so I'm not quite sure what I have botched. The MediaFileID is being generated on the remote control so it's possible I have some programming issues that are causing the problem which is why I wanted to see what the webserver thinks it is receiving. I should still be able to look at it in another way, but it's a bit less trustworthy if I'm not seeing what the webserver thinks it is receiving.

Thanks again,
Mark
Reply With Quote
  #2150  
Old 01-03-2009, 05:31 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by pjpjpjpj View Post
Well, I don't have it, which could explain why webserver isn't working. But my Sage is working fine otherwise.... Thoughts?
Are you running the web server from a client? If so, check out this FAQ entry to configure the client for debug logging.

Quote:
Originally Posted by bcjenkins View Post
the file is only created if debug=TRUE in your Sage.properties file.

B
I don't have that setting in my properties file but I always get a sagetv_0.txt. I'm running Linux, is there a difference between platforms?
__________________
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
  #2151  
Old 01-03-2009, 07:24 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by jreichen View Post
I don't have that setting in my properties file but I always get a sagetv_0.txt. I'm running Linux, is there a difference between platforms?
I don't know about cross-platform differences, but debug logging is on by default in beta versions, and off by default in release versions, if that helps.
__________________
-- Greg
Reply With Quote
  #2152  
Old 01-03-2009, 09:52 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I'm running 6.4.8.1. I don't think that's a beta.

Here is a grep of my Sage.properties:

Code:
sagetv@blackbird:/opt/sagetv/server$ less Sage.properties | grep debug
debug_capture_progress=false
debug_exif_parser=false
debug_fps_freq=0
debug_logging=FALSE
debug_msgs=false
media_server/transcode_debug=false
media_server_debug=false
miniclient/debug_push=false
miniplayer/dvd_debug=false
ui/lock_debug=false
Anyway, that's a little off topic, but it would be nice to know why pjpjpjpj doesn't get a log. Did you try setting debug=TRUE?
__________________
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
  #2153  
Old 01-04-2009, 09:31 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Debug logging is always on in Linux, but not in Windows.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #2154  
Old 01-04-2009, 05:32 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
I'm trying to get a Podcast setup in iTunes, using the webserver to serve video files to iTunes, so that I can automatically sync the iPhone and get Sage on it.

I have the following URL setup:

https://htpc:8448/sagepublic/Rss/Sea...mp4&title=Sage

And when I put this in a browser, I see the MP4 media files, but for some reason, iTunes gives me an error when I try and update the podcast. It gives error message (-9812), whatever that means. Anyone have any ideas? Could it be the fact that I'm using the webserver with a secure connection?
__________________
-Jason
Reply With Quote
  #2155  
Old 01-04-2009, 07:14 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
can you use the ip address instead what is the result? Otherwise would be worth a try without ssl

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #2156  
Old 01-04-2009, 08:41 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Nope, doesn't like that either. It is probably something to do with the certificate. I'll have to give it a try without SSL, or just drag and drop them manually...
__________________
-Jason

Last edited by geogecko; 01-06-2009 at 09:13 PM.
Reply With Quote
  #2157  
Old 01-04-2009, 08:47 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Well.. GoDaddy offers a signed cert for 20/yr

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #2158  
Old 01-05-2009, 08:41 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
It's not worth that much to me...LOL. I think I'll just copy over the files when I need them. Most likely, I'll only want to transfer shows that I need if I'm going out of town.
__________________
-Jason
Reply With Quote
  #2159  
Old 01-05-2009, 11:28 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
Quote:
Originally Posted by geogecko View Post
I'm trying to get a Podcast setup in iTunes, using the webserver to serve video files to iTunes, so that I can automatically sync the iPhone and get Sage on it.

I have the following URL setup:

https://htpc:8448/sagepublic/Rss/Sea...mp4&title=Sage

And when I put this in a browser, I see the MP4 media files, but for some reason, iTunes gives me an error when I try and update the podcast. It gives error message (-9812), whatever that means. Anyone have any ideas? Could it be the fact that I'm using the webserver with a secure connection?

Can I ask what you are using to create the properly sized mp4 files?

Thanks
Greg
Reply With Quote
  #2160  
Old 01-06-2009, 07:55 AM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by gveres View Post
Can I ask what you are using to create the properly sized mp4 files?

Thanks
Greg
I'm using the SageTV Transcoder. Within SageMC, there is an option to "Send To" and you can compress a show, or auto compress a favorite, and select the iPhone/iPod presets. I believe these options are also within the standard STV, although, I haven't used it since 2005, so I have no idea where to access them there. I select a special location that is not within the media imports, so that I do not have two of the same show appearing within SageTV. Then iTunes is supposed to pick this up from a Webserver link, because for some reason, the non-import directory is still able to be accessed by the Webserver, even though it is not a media import directory, which would work out nicely, but I think the problem is that I'm trying to use SSL on the webserver.

I may change the webserver to be non-SSL soon, as I don't anticipate using it anymore, once the mobile one supports everything I need.

Here is the linky: http://forums.sagetv.com/forums/show...=35467&page=11
__________________
-Jason

Last edited by geogecko; 01-06-2009 at 08:01 AM.
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 06:32 AM.


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