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
  #1501  
Old 03-31-2007, 06:54 PM
emverham emverham is offline
Sage User
 
Join Date: Dec 2006
Posts: 10
Thank you !

The webserver is an awesome tool. I hope the IT guys at my work don't notice all of our company bandwidth being lost to streaming video from my house! BTW the DVD streaming functionality is awesome. Keep up the good work.
Reply With Quote
  #1502  
Old 04-02-2007, 03:55 AM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Quote:
Originally Posted by nielm View Post
* added ToonGal's Full webremote (and ability to switch between them)
* added ability to name extenders using 'extenders.properties' file
Naming extenders works a treat, thanks! And you've got to love the artwork on the new webremote buttons...

The updated look is good too. Would be nice if the background graphic stretched to fit the screen, but it's not a biggie. I guess I could just resize the graphic to my requirements anyway.
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #1503  
Old 04-02-2007, 09:45 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I get the following error in DetailedInfoServlet. The remainder of the page, including all the commands and the menu, is not displayed. Sage 6.1.7 , Webserver 2.14 Linux.
Code:
Exception while processing servlet:
java.lang.NullPointerException
java.lang.NullPointerException
   at net.sf.sageplugins.webserver.VlcTranscodeMgr.readProperties(VlcTranscodeMgr.java:325)
   at net.sf.sageplugins.webserver.VlcTranscodeMgr.(VlcTranscodeMgr.java:76)
   at net.sf.sageplugins.webserver.VlcTranscodeMgr.getInstance(VlcTranscodeMgr.java:85)
   at net.sf.sageplugins.webserver.DetailedInfoServlet.doServletGet(DetailedInfoServlet.java:614)
   at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:75)
   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:1567)
   at Acme.Serve.ServeConnection.parseRequest(Serve.java:1542)
   at Acme.Serve.ServeConnection.run(Serve.java:1429)
   at java.lang.Thread.run(Thread.java:595)
__________________
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
  #1504  
Old 04-02-2007, 11:55 PM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
Quote:
Originally Posted by jreichen View Post
I get the following error in DetailedInfoServlet. The remainder of the page, including all the commands and the menu, is not displayed. Sage 6.1.7 , Webserver 2.14 Linux.
Code:
Exception while processing servlet:
java.lang.NullPointerException
java.lang.NullPointerException
   at net.sf.sageplugins.webserver.VlcTranscodeMgr.readProperties(VlcTranscodeMgr.java:325)
   at net.sf.sageplugins.webserver.VlcTranscodeMgr.(VlcTranscodeMgr.java:76)
   at net.sf.sageplugins.webserver.VlcTranscodeMgr.getInstance(VlcTranscodeMgr.java:85)
   at net.sf.sageplugins.webserver.DetailedInfoServlet.doServletGet(DetailedInfoServlet.java:614)
   at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:75)
   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:1567)
   at Acme.Serve.ServeConnection.parseRequest(Serve.java:1542)
   at Acme.Serve.ServeConnection.run(Serve.java:1429)
   at java.lang.Thread.run(Thread.java:595)
Can you verify that the transcode.properties file exists in the <sage home>/webserver directory?

It also looks like there's may be an inconsistency in the properties file.

For the two properties:
LinuxVlcCmd=/usr/bin/vlc
LinuxVlcWkDir=

Replace "Linux" with "Unix".

Try that.

E
Reply With Quote
  #1505  
Old 04-03-2007, 07:36 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by emok View Post
It also looks like there's may be an inconsistency in the properties file.

For the two properties:
LinuxVlcCmd=/usr/bin/vlc
LinuxVlcWkDir=

Replace "Linux" with "Unix".

Try that.

E
That's it! I love an easy fix
__________________
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
  #1506  
Old 04-03-2007, 07:59 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by bcjenkins View Post
Using the DVD playback, I am only able to get a few of the profiles to work.

I am at the inlaws, here's the speedtest.

Current Throughput
KiloBits/Sec : 709.2
KiloBytes/Sec : 88.7

The profiles which work are:

# 128kbit deinterlaced quarter-res

* [Play in Web-player]
* Play in External Player: [wvx] [m3u] [pls]

# 256kbit deinterlaced third-res

* [Play in Web-player]
* Play in External Player: [wvx] [m3u] [pls]

# 352kbit deinterlaced third-res

* [Play in Web-player]
* Play in External Player: [wvx] [m3u] [pls]

If I play

# 480kbit deinterlaced half-res

* [Play in Web-player]
* Play in External Player: [wvx] [m3u] [pls]

I get a strip of video in the web browser window and audio. I would like to bump up the bits to clean up the picture.

Any suggestions? I am using the VLC plugin on OS X.

B
Anything?
Reply With Quote
  #1507  
Old 04-03-2007, 10:16 AM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
Quote:
Originally Posted by bcjenkins View Post
Anything?
Sorry, didn't see this.

I'm not sure what could be causing the problem you're seeing. It could also be related to buffering on the webserver, but I can't be sure. I've seen it before as well and for me, it doesn't happen consistently with all recordings and each time I try to play. Sometimes, I'll try a different profile and it'll work fine. Kinda strange like that.

What you can try is the custom command line at the bottom of the page. Just specify the parameters you want to try. It may be easier to copy/paste an existing profile link and then just change the "ab" (audio bitrate) and "vb" (video bitrate) parameters.

For example:
http://<server>:8080/sagepublic/Play...3Dmp4v%26vb%3D384%26ac%3Dmp3%26ab%3D96%26scale%3D0.5%26mux%3Dts%26deint%3D1
Reply With Quote
  #1508  
Old 04-05-2007, 12:40 PM
Polypro Polypro is offline
Sage Icon
 
Join Date: Jun 2005
Posts: 1,804
Finally decided to give this a shot using SSL. If you're using Java 6, here is the keytool documentation...some switches have changed:

http://java.sun.com/javase/6/docs/te...s/keytool.html

P
Reply With Quote
  #1509  
Old 04-05-2007, 02:12 PM
eruji eruji is offline
Sage Advanced User
 
Join Date: Aug 2003
Posts: 173
Code:
Thu Apr 05 08:14:49 PDT 2007] /sagepublic/MediaFileTranscode: MediaFileTranscodeServlet.doServletGet(): Retrieveing Airing Info
[Thu Apr 05 08:14:49 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): Retrieveing transcoding parameters
[Thu Apr 05 08:14:49 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): File to play: Y:\Media\SageTV\TheOffice-HealthCare-2033987-0.mpg
[Thu Apr 05 08:14:49 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): Starting the transcode process.
[Thu Apr 05 08:14:49 PDT 2007] Executing command: "C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --dummy-quiet --quiet --no-sub-autodetect-file  "Y:\Media\SageTV\TheOffice-HealthCare-2033987-0.mpg" :sout=#transcode{vcodec=WMV2,vb=768,scale=1,acodec=mp3,ab=128,channels=2,threads=2,deinterlace}:duplicate{dst=std{access=http,mux=asf,dst=127.0.0.1:8000}}
[Thu Apr 05 08:14:51 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:14:52 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:14:53 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:14:54 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:14:55 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:14:56 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:14:57 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:14:58 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:14:59 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:15:00 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:15:01 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:15:01 PDT 2007] Returning InputStream: net.sf.sageplugins.webserver.TranscodeInputStream@1d41bfd
[Thu Apr 05 08:15:01 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): Copying transcode stream to outputstream
[Thu Apr 05 08:15:23 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): Stopping transcode due: java.net.SocketException: Software caused connection abort: socket write error
any ideas what the connection refused means, i have the latest version of Java. i tried changing the port in the transcode.properties thinking i had something on the same port but still no luck.
Reply With Quote
  #1510  
Old 04-05-2007, 04:52 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by emok View Post
Sorry, didn't see this.

I'm not sure what could be causing the problem you're seeing. It could also be related to buffering on the webserver, but I can't be sure. I've seen it before as well and for me, it doesn't happen consistently with all recordings and each time I try to play. Sometimes, I'll try a different profile and it'll work fine. Kinda strange like that.

What you can try is the custom command line at the bottom of the page. Just specify the parameters you want to try. It may be easier to copy/paste an existing profile link and then just change the "ab" (audio bitrate) and "vb" (video bitrate) parameters.

For example:
http://<server>:8080/sagepublic/Play...3Dmp4v%26vb%3D384%26ac%3Dmp3%26ab%3D96%26scale%3D0.5%26mux%3Dts%26deint%3D1

Thank you. I can reproduce this. Is there anything I can do to increase memory allocation? Any info I can provide? This is running on 2K3 with 3GB RAM.

TIA

B
Reply With Quote
  #1511  
Old 04-05-2007, 04:53 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Has anyone else set this server up to run in a proxy configuration with Apache?

Streaming video seems to be broken. When I generate a playlist it is passing localhost:8080 as the server instead of the fqdn.

Any thoughts?

B
Reply With Quote
  #1512  
Old 04-06-2007, 09:22 AM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
Quote:
Originally Posted by eruji View Post
Code:
Thu Apr 05 08:14:49 PDT 2007] /sagepublic/MediaFileTranscode: MediaFileTranscodeServlet.doServletGet(): Retrieveing Airing Info
[Thu Apr 05 08:14:49 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): Retrieveing transcoding parameters
[Thu Apr 05 08:14:49 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): File to play: Y:\Media\SageTV\TheOffice-HealthCare-2033987-0.mpg
[Thu Apr 05 08:14:49 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): Starting the transcode process.
[Thu Apr 05 08:14:49 PDT 2007] Executing command: "C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --dummy-quiet --quiet --no-sub-autodetect-file  "Y:\Media\SageTV\TheOffice-HealthCare-2033987-0.mpg" :sout=#transcode{vcodec=WMV2,vb=768,scale=1,acodec=mp3,ab=128,channels=2,threads=2,deinterlace}:duplicate{dst=std{access=http,mux=asf,dst=127.0.0.1:8000}}
[Thu Apr 05 08:14:51 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:14:52 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:14:53 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:14:54 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:14:55 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:14:56 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:14:57 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:14:58 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:14:59 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:15:00 PDT 2007] Unable to connect, retrying. java.net.ConnectException: Connection refused: connect
[Thu Apr 05 08:15:01 PDT 2007] Connected to sun.net.http://www.protocol.http.HttpURLConn...127.0.0.1:8000
[Thu Apr 05 08:15:01 PDT 2007] Returning InputStream: net.sf.sageplugins.webserver.TranscodeInputStream@1d41bfd
[Thu Apr 05 08:15:01 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): Copying transcode stream to outputstream
[Thu Apr 05 08:15:23 PDT 2007] /sagepublic/MediaFileTranscode: doServletGet(): Stopping transcode due: java.net.SocketException: Software caused connection abort: socket write error
any ideas what the connection refused means, i have the latest version of Java. i tried changing the port in the transcode.properties thinking i had something on the same port but still no luck.
What OS are you running on? Could it be possible that you have some active firewall software that's restricting access? Are you running JRE1.5 or 1.6?

E
Reply With Quote
  #1513  
Old 04-06-2007, 09:24 AM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
Quote:
Originally Posted by bcjenkins View Post
Thank you. I can reproduce this. Is there anything I can do to increase memory allocation? Any info I can provide? This is running on 2K3 with 3GB RAM.

TIA

B
With the current release of the webserver, there's no additional buffering happening in the webserver, so the short answer is "no". I'll try to add it in a future release and hopefully it'll solve the problem you're seeing.

E
Reply With Quote
  #1514  
Old 04-06-2007, 09:40 AM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
Quote:
Originally Posted by bcjenkins View Post
Has anyone else set this server up to run in a proxy configuration with Apache?

Streaming video seems to be broken. When I generate a playlist it is passing localhost:8080 as the server instead of the fqdn.

Any thoughts?

B
Haven't tried with Apache. Is apache running on the same machine as the sage webserver? It sounds like when apache receives the request, it's rewriting it such that the request url looks like http://localhost:8080/sage/Home to sage.

I'm not completely familiar with it, but you may need to adjust some of these config parameters for the mod_proxy in apache:

ProxyPass
ProxyPassReverse
ProxyPreserveHost

http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
Reply With Quote
  #1515  
Old 04-06-2007, 03:50 PM
eruji eruji is offline
Sage Advanced User
 
Join Date: Aug 2003
Posts: 173
Quote:
Originally Posted by emok View Post
What OS are you running on? Could it be possible that you have some active firewall software that's restricting access? Are you running JRE1.5 or 1.6?

E
Running on winxp pro latest updates, latest java 1.6. I can stream video to my client pc using vlc and the command line interface, but have not been able to do it from the webserver.

I have firewalls disabled on the client im trying to stream to.
Reply With Quote
  #1516  
Old 04-06-2007, 05:25 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Emok,

Thank you, I followed the instructions on the Sage wiki for setting this up. I am thinking they were written prior to media streaming as they were also missing the forward for sagepublic too.

I'll give the preserve host function a whirl.

B
Reply With Quote
  #1517  
Old 04-06-2007, 05:34 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Thank you, that did the trick. I'll update the wiki.

http://tools.assembla.com/sageplugin...ebserverApache

B

Last edited by bcjenkins; 04-06-2007 at 05:37 PM.
Reply With Quote
  #1518  
Old 04-09-2007, 10:57 AM
Polypro Polypro is offline
Sage Icon
 
Join Date: Jun 2005
Posts: 1,804
Instead of SSL I went with Hamachi...working like a champ! Thank you to all involved with this plug-in.

P
Reply With Quote
  #1519  
Old 04-09-2007, 05:23 PM
garyellis garyellis is offline
Sage Expert
 
Join Date: Jan 2006
Posts: 511
Help please...

My older version of the webserver plugin worked great with sage 6.0.

When I installed the latest version of sage 6.1, I also updated several of the customizations and plugins with the latest versions.

I installed the latest version of the webserver and am having problems..

When I access it via the web, and go to any video, I press on watch streamed video. it now takes me to the bottom of the screen where there is something about low bandwidth and can not find VLC... When I press the play in external player, it opens up VLC and I get picture and sound, but stuttering and generally playing slowly.

with the prior version of webserver, when I press watch streamed video, I went right to the next page and the video opened in VLC and played just fine.

What am I missing? I'll be glad to read through the 76 pages of notes if somebody can just get me started..

Thanks,

Gary Ellis
Reply With Quote
  #1520  
Old 04-11-2007, 07:57 PM
MTuckman's Avatar
MTuckman MTuckman is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 120
Has anyone seen this before? When I look at the main page for the web server, it shows the 2 shows that are currently being recorded correctly. But when you look at the "Next Upcoming Recordings", it lists the shows it recorded in the previous hour.

__________________
Mike : Technical Architect / Software Engineer
HTPC : Intel® Core 2 Q6600 2.4GHz Quad Core Processor, 3GB RAM, 1TB DASD, Vista Home Prem, HdHomerun (2x Comcast QAM)
Main TV: Samsung 56" HDTV - STX-HD100 720p - HDMI - Sony DG910
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 12:39 PM.


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