SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Placeshifter
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Placeshifter Discussion related to the SageTV Placeshifter application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV Placeshifter software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-22-2006, 12:45 PM
bfhoothead bfhoothead is offline
Sage User
 
Join Date: Apr 2006
Posts: 19
Send a message via AIM to bfhoothead
Auto Connect/Reconnect for Placeshifter

I seem to be having some intermittent network issues at home where my Placeshifter client will disconnect from the server. When I turn the Placeshifted TV on, the client is back at the server selection screen, with my server as the one and only listed. Now, it's not too much of a problem for me, but it's a little too much for my wife (gotta pull out the keyboard). Is there a way to make Placeshifter automatically choose and connect to a server when it's available (thus, hopefully forcing it to reconnect in my case).

Thanks,
David
Reply With Quote
  #2  
Old 05-23-2006, 04:14 PM
bfhoothead bfhoothead is offline
Sage User
 
Join Date: Apr 2006
Posts: 19
Send a message via AIM to bfhoothead
Auto Connect/Reconnect for Placeshifter

Really, no way to automatically connect/reconnect?
Reply With Quote
  #3  
Old 05-23-2006, 04:25 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Not currently with the Placeshifter, but it's on the to-do list for 5.1.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #4  
Old 05-23-2006, 04:28 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Narflex
Not currently with the Placeshifter, but it's on the to-do list for 5.1.
Actually....I just thought of a way you can do it. Once I say you can't...then immediately I figure out how of course.

If you run it on the command line like:

java -cp MiniClient.jar sage.miniclient.MiniClient 192.168.1.23

(or whatever IP/hostname you're connecting to)

and put that inside a batch file that loops then that'll basically do what you're looking for. Not the prettiest solution, but it should work.

When you give it a hostname on the command line, the process will exit when the connection dies.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #5  
Old 06-01-2006, 06:27 PM
bfhoothead bfhoothead is offline
Sage User
 
Join Date: Apr 2006
Posts: 19
Send a message via AIM to bfhoothead
That'll Do

That'll do just fine, thanks for the post!
Reply With Quote
  #6  
Old 08-15-2006, 06:41 AM
zzmystique's Avatar
zzmystique zzmystique is offline
Sage Advanced User
 
Join Date: May 2004
Location: New Zealand
Posts: 211
start placeshifter to auto connect to my server

I would like to create a batch file to start placeshifter to auto connect to my server without me having to choose the connection or enter the username and password.

Is this possible?

Thanks in advance.

Last edited by zzmystique; 08-15-2006 at 07:37 PM.
Reply With Quote
  #7  
Old 08-16-2006, 07:02 PM
zzmystique's Avatar
zzmystique zzmystique is offline
Sage Advanced User
 
Join Date: May 2004
Location: New Zealand
Posts: 211
Quote:
Originally Posted by Narflex
Actually....I just thought of a way you can do it. Once I say you can't...then immediately I figure out how of course.

If you run it on the command line like:

java -cp MiniClient.jar sage.miniclient.MiniClient 192.168.1.23

(or whatever IP/hostname you're connecting to)

and put that inside a batch file that loops then that'll basically do what you're looking for. Not the prettiest solution, but it should work.

When you give it a hostname on the command line, the process will exit when the connection dies.
Hi
How would you add the username and password to "java -cp MiniClient.jar sage.miniclient.MiniClient 192.168.1.23" in the batch file to connect away from home?

Thanks, I have been searching for a way to do this for a while.

Anne
Reply With Quote
  #8  
Old 09-08-2006, 08:58 PM
Dillenger69 Dillenger69 is offline
New Member
 
Join Date: Sep 2006
Posts: 2
I'd like to know this as well.
I like to run placeshifter on a machine that needs to be more "wife" friendly when things start up.

With client it was nice and easy, but Placeshifter has that intermediate connection screen.
Reply With Quote
  #9  
Old 09-09-2006, 10:05 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Two posts were merged into this older thread w/the same topic... it doesn't look like the username & pwd can be entered automatically, but there is a connection method above. If on a LAN, there is usually no need to enter a username, btw.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #10  
Old 09-24-2006, 05:52 PM
Woobie Woobie is offline
Sage User
 
Join Date: Sep 2006
Posts: 5
I am also in need of a way to automate the Placeshifter login. I'm using this in an environment where text entry is difficult. Has anyone managed to do this yet?

edit: Alternativly, is there any way to simply disable the authentication screen entirely? I could configure my router to only allow connections from trusted hosts.

Last edited by Woobie; 09-24-2006 at 05:57 PM.
Reply With Quote
  #11  
Old 09-27-2006, 09:46 AM
krikkit's Avatar
krikkit krikkit is offline
Sage User
 
Join Date: Nov 2005
Location: Austria (Europe)
Posts: 41
Quote:
Originally Posted by Woobie
Alternativly, is there any way to simply disable the authentication screen entirely? I could configure my router to only allow connections from trusted hosts.
...simply remove all placeshifter users, then you don't have to authenticate...
Reply With Quote
  #12  
Old 09-27-2006, 10:10 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by krikkit
...simply remove all placeshifter users, then you don't have to authenticate...
I'm curious about whether you've actually tried that. The lack of users is not what determines whether you have to authenticate when using the Placeshifter client on a local network, and if you have no users, a remote connection should tell you that you first have to create a user in order to connect.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #13  
Old 06-22-2007, 02:21 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
FYI for v6 or 6.1, the command line may need to be:
Windows:
Code:
java -cp MiniClient.jar;jogl.jar;gluegen-rt.jar sage.miniclient.MiniClient ip_of_server
Linux:
Code:
java -cp MiniClient.jar:jogl.jar:gluegen-rt.jar sage.miniclient.MiniClient ip_of_server
I have attached a quick'n'dirty windows batch file -- put it in the placeshifter directory, and run with:
PlaceshifterReconnect.bat mediaserverIP
Attached Files
File Type: zip PlaceshifterReconnect.zip (444 Bytes, 592 views)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #14  
Old 10-23-2007, 09:38 AM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
Can somebody dumb this down for me? I am trying to get all the way into Placeshifter on a desktop that will always be inside my own lan, by just double clicking the icon, not having to choose the server, because it's always the same. I am not sure how to use this command line info.

Also, whenever I start Placeshifter, it brings up the dialog box where I choose my server, then immediately bings up another box referencing "My Sagetv". It looks like it is seeing another sage server somewhere. This pc did once have the server program on it, maybe that is still there?

thanks
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend
4 Nvidia Shield TVs with Miniclient
Reply With Quote
  #15  
Old 10-23-2007, 11:51 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by btrcp2000 View Post
Can somebody dumb this down for me? I am trying to get all the way into Placeshifter on a desktop that will always be inside my own lan, by just double clicking the icon, not having to choose the server, because it's always the same. I am not sure how to use this command line info.
Using Niel's batch file, just put the

Quote:
PlaceshifterReconnect.bat mediaserverIP
command line into the Target field of your shortcut icon (replacing mediaserverIP with the actual IP address of your server, obviously).
__________________
-- Greg
Reply With Quote
  #16  
Old 10-23-2007, 07:53 PM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
thought I did that, but i left off the .bat off the target line. That works, now how do I get it to run full screen right away? I tried entering fullscreen mode then exiting/restarting PS, but it went back to windowed mode.

Also, is there a flag or something I an add to the command line that will make the DOS window go away once I close PS so it doesn't keep restarting?

thanks again!
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend
4 Nvidia Shield TVs with Miniclient
Reply With Quote
  #17  
Old 11-24-2007, 10:09 PM
Dillenger69 Dillenger69 is offline
New Member
 
Join Date: Sep 2006
Posts: 2
It will start in fullscreen if you change the startup line to add a -fullscreen option like this:
Code:
javaw -cp MiniClient.jar;jogl.jar;gluegen-rt.jar sage.miniclient.MiniClient -fullscreen %1
As for making the DOS window go away ... the whole purpose of the bat file is to restart the client if it dies. Even without the restart code in the batch file it won't go away until you close the sagetv client. That's just the nature of batch files.

If you just want to start in fullscreen without the batch file just create a shortcut in your startup folder with the line above, using your server's IP in place if %1.
Be sure to set the "Start in:" to "C:\Program Files\SageTV\Placeshifter" or wherever your placeshifter is installed to or it won't start.

Quote:
Originally Posted by btrcp2000 View Post
thought I did that, but i left off the .bat off the target line. That works, now how do I get it to run full screen right away? I tried entering fullscreen mode then exiting/restarting PS, but it went back to windowed mode.

Also, is there a flag or something I an add to the command line that will make the DOS window go away once I close PS so it doesn't keep restarting?

thanks again!
Reply With Quote
  #18  
Old 11-28-2007, 05:16 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
I tried the below Windows command-line and the error message below it.

java -cp MiniClient.jar;jogl.jar;gluegen-rt.jar sage.miniclient.MiniClient 127.0.0.1


Exception in thread "main" java.lang.NoClassDefFoundError: sage/miniclient/MiniClient
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #19  
Old 11-03-2008, 04:38 PM
sibo sibo is offline
New Member
 
Join Date: Nov 2008
Location: South Carolina
Posts: 1
I've been using the code mentioned in this thread to auto connect Placeshifter on one of my machines for quite some time now.

(javaw.exe -cp MiniClient.jar;jogl.jar;gluegen-rt.jar sage.miniclient.MiniClient 192.168.1.22)

When I upgraded to 6.4.8.184 recently and use the above code, Placeshifter crashes everytime I right click in fullscreen. It crashes at other times as well, but not as consistantly--when using the scroll wheel, or changing menus, toggling fullscreen, and probably others. If I don't use the code and select my server on the 'Servers Manager' window it works without a problem.

Any idea how to remedy this situation?

The following is the command line output for a crash:

Quote:
Mon 11/3 17:05:26.748 Error w/ GFX Thread: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.<init>(Unknown Source)
at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
at java.awt.image.Raster.createWritableRaster(Unknown Source)
at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
at javax.imageio.ImageReader.getDestination(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at sage.miniclient.GFXCMD2.ExecuteGFXCommand(GFXCMD2.java:1182)
at sage.miniclient.MiniClientConnection.GFXThread(MiniClientConnection.java:843)
at sage.miniclient.MiniClientConnection.access$200(MiniClientConnection.java:6)
at sage.miniclient.MiniClientConnection$4.run(MiniClientConnection.java:340)
Mon 11/3 17:05:26.826 Execute media command 17
Mon 11/3 17:05:26.904 stdout:OFF THE SCREEN!!!!
Mon 11/3 17:05:26.936 stdout:
Mon 11/3 17:05:27.014 stdout:<vo_directx> adapter 0: Primary Display Adapter
Mon 11/3 17:05:27.014 stdout:<vo_directx> adapter 1: RADEON 9600 Family (Microsoft Corporation)
Mon 11/3 17:05:27.014 stdout:ID_SIGNAL=11
Mon 11/3 17:05:27.014 stdout:Uninit audio filters...
Mon 11/3 17:05:27.014 stdout:[libaf] Removing filter dummy
Mon 11/3 17:05:27.014 stdout:Uninit audio: mp3lib
Mon 11/3 17:05:27.014 stdout:Uninit video: libmpeg2
Mon 11/3 17:05:27.014 stdout:WINSOCK2 uninit
Mon 11/3 17:05:27.045 stderr:<vo_directx><FATAL ERROR>could not set cooperativelevel for hardwarecheck
Mon 11/3 17:05:27.045 stderr:<vo_directx><FATAL ERROR>could not create primary surface
Mon 11/3 17:05:27.045 stderr:
Mon 11/3 17:05:27.045 stderr:
Mon 11/3 17:05:27.045 stderr:MPlayer interrupted by signal 11 in module: filter_video
Mon 11/3 17:05:27.045 stderr:- MPlayer crashed by bad usage of CPU/FPU/RAM.
Mon 11/3 17:05:27.045 stderr: Recompile MPlayer with --enable-debug and make a'gdb' backtrace and
Mon 11/3 17:05:27.045 stderr: disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
Mon 11/3 17:05:27.076 Closing down mplayer
Mon 11/3 17:05:27.076 Sending mplayer command:inactive_file
Mon 11/3 17:05:27.076 Sending mplayer command:quit
Mon 11/3 17:05:27.076 MPlayer process exit code:1
Mon 11/3 17:05:27.076 stdout:ao_dsound: DirectSound uninitialized
Mon 11/3 17:05:27.076 stdout consumer has closed
Mon 11/3 17:05:27.076 stderr:- MPlayer crashed. This shouldn't happen.
Mon 11/3 17:05:27.076 stderr: It can be a bug in the MPlayer code _or_ in yourdrivers _or_ in your
Mon 11/3 17:05:27.076 stderr: gcc version. If you think it's MPlayer's fault, please read
Mon 11/3 17:05:27.076 stderr: DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
Mon 11/3 17:05:27.076 stderr: won't help unless you provide this information when reporting a possible bug.
Mon 11/3 17:05:27.076 stderr consumer has closed
Thanks for your help!
Reply With Quote
  #20  
Old 01-22-2009, 09:31 PM
Mucaro's Avatar
Mucaro Mucaro is offline
Sage User
 
Join Date: Jan 2009
Location: Dunedin, FL
Posts: 9
btrcp2000,

I found a way of hiding that unsightly DOS Window:
1) Create a batch file with nielm's java command in it (see #13).
2) Right-click on the batch file and create a shortcut file.
3) Right-click on the shortcut file and click on "Properties".
4) Make sure the "Start in:" field points to the Placeshifter installation folder.
5) Also change the "Run:" field to "Minimized".
6) Click OK to save the changes to the shortcut properties.
7) Run the shorcut created in step 2 instead of the regular Placeshifter shortcut.
8) Enjoy
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


All times are GMT -6. The time now is 12:29 PM.


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