SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Clients Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-13-2017, 04:26 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
Using Android Miniclient as Placeshifter

I am just wondering if anyone has tried using the Miniclient remotely instead of Placeshifter.
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #2  
Old 06-13-2017, 05:21 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by NetworkGuy View Post
I am just wondering if anyone has tried using the Miniclient remotely instead of Placeshifter.
Yes, I do that quite a bit.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #3  
Old 06-13-2017, 08:17 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
Quote:
Originally Posted by KarylFStein View Post
Yes, I do that quite a bit.
How does it find the SageTV server if it is not on your local LAN?
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #4  
Old 06-13-2017, 10:47 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by NetworkGuy View Post
How does it find the SageTV server if it is not on your local LAN?
I use a dynamic DNS service, (e.g. duckdns.org is a free one). So I just enter my domain name in as the connection.

You may also use the built-in locator service. When logged in to SageTV go to Setup > Detailed Setup > Server > Placeshifter Locator ID. You may then set up your connection with that ID.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #5  
Old 06-13-2017, 10:58 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Or you can just enter your WAN IP address if it is pretty static, which mine is.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #6  
Old 06-13-2017, 11:52 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
Fuzzy pointed me to a thread about getting your IP address using the SageTV Locator service.
https://forums.sagetv.com/forums/showthread.php?t=48158
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #7  
Old 06-13-2017, 12:14 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
You shouldn't need to use the 'get ip address from locator service', as you should be able to use the locator id directly in the miniclient, and it will do the look up for you.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #8  
Old 06-13-2017, 01:16 PM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
Quote:
Originally Posted by Fuzzy View Post
You shouldn't need to use the 'get ip address from locator service', as you should be able to use the locator id directly in the miniclient, and it will do the look up for you.
Did not know that. Thanks!
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #9  
Old 06-14-2017, 01:49 PM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
Trying to do this as well. The only way I can get it to work is if I place the whole server in the DMZ within the router. Same goes for webserver. Plex and Playon work fine from outside.

Ports 31099, 31100, 8018, and 7818 (last 3 are desperate reaches from old posts around here) are forwarded in the router directly to the server's static IP.

Any ideas?
__________________
[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
  #10  
Old 06-29-2017, 05:42 AM
videolog videolog is offline
Sage User
 
Join Date: Jan 2010
Posts: 50
I have been trying to do this on a Mi Box and I keep getting
"Unable to connect
Host is Unresolved: "then my locator id

It's like it does not even try to connect. I am able to connect with my phone, from this same location.

Any ideas?
Reply With Quote
  #11  
Old 06-29-2017, 07:15 AM
Pelicanjoe Pelicanjoe is offline
Sage Advanced User
 
Join Date: Aug 2009
Location: Huntersville, NC
Posts: 149
The Locator ID has been unreliable for me. It was working until it wasn't working. Luckily, my router has a Virtual DNS built in. I used that DNS and no problems! And, you don't have to worry about keying in the long Locator ID code!
Reply With Quote
  #12  
Old 06-29-2017, 08:37 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by videolog View Post
Any ideas?
Have you tried your server's external IP address directly?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #13  
Old 06-29-2017, 09:39 AM
videolog videolog is offline
Sage User
 
Join Date: Jan 2010
Posts: 50
I haven't tried the external IP address directly. I have a dynamic address I use that works for everything I have on the server. The strange part is this all works on the phone. We are on vacation and I thought I would give the Mi Box a try. The second I try to connect it immediately comes up with the error. It doesn't even try to connect. I think it must be some setting on the Mi Box.

I will go ahead and try the ip address to see what happens.
Reply With Quote
  #14  
Old 06-29-2017, 09:59 AM
videolog videolog is offline
Sage User
 
Join Date: Jan 2010
Posts: 50
Okay, the external IP works, but the dyn dns does not. Very strange.

Thanks for the idea of using that ip.

Last edited by videolog; 06-29-2017 at 10:02 AM.
Reply With Quote
  #15  
Old 11-06-2017, 04:21 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Finally getting around to trying this out myself. I'm not having any luck.

My setup is the following:

1. Windows 7 server.
2. ISP is wireless via a Nanobridge M5 antenna. It's configured in router mode.
3. Additional router in my house is an old TrendNet tw100-s4w1ca.
4. The TrendNet WAN IP is set to static IP in the M5's LAN domain and that IP is also listed in the M5's DMZ.
5. I added port 31099 and my server PC's local IP to the TrendNet's "Virtual Server" settings (i.e. port forwarding). The PC's IP is in the TrendNet's LAN domain.

I have the miniclient on my Galaxy S7 phone and connect just fine on the LAN using the local server IP. So think this means port 31099 (default) is listening fine on the server. 'Netstat -a' shows it listening too.

If I use the phone from an outside network using my outside IP address it times out trying to connect. I've tried using both 4G at home or wifi off site for the phone.

One of those port scan websites shows 31099 as 'not responding' on my external IP so I assume that means trying to connect on that port isn't making it to the server through one of the routers.

My (limited) understanding of DMZ is that TCP connections addressed to my external IP address are automatically forwarded to the DMZ IP listed. That is my TrendNet router WAN IP. After that, port forwarding should pass it on again to my server on the TrendNet's LAN.

Any idea where to look next? Maybe I should try some simple FTP or web server software to see if I can "host" one of those through the routers? The TrendNet has nothing useful in terms of logging of incoming packets, forwarded or otherwise.

Worst case I can buy a newer router if that's the issue.
Reply With Quote
  #16  
Old 11-06-2017, 04:45 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Why do you have the Trendnet? Are the two LANs different subnets? On the LAN if you put in the Trendnet WAN does it connect?
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #17  
Old 11-06-2017, 08:28 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Quote:
Originally Posted by KarylFStein View Post
Why do you have the Trendnet? Are the two LANs different subnets? On the LAN if you put in the Trendnet WAN does it connect?
Because originally the M5 was in bridge mode so I needed my own router. Plus I need the physical ports. When my ISP changed to router mode, putting the TrendNet in the DMZ should have been equivalent. Most customers on my ISP don't ever log in to their antenna, though I do.

The M5 LAN is 10.10.1.x and the TrendNet is 192.168.0.x so there's no confusion.

I haven't tried the TrendNet WAN. That's a good suggestion. I can get to the M5 on the 10.10.1.x net (HTTP) so I should be able to direct the MiniClient to that domain.

I can also try taking the TrendNet out of the DMZ and configure it as a simple hub, leaving the M5 to do all of the routing and DHCP. The downside is I would have to port forward in the M5 and my ISP prefers a "generic" configuration.

Last edited by wnjj; 11-06-2017 at 08:31 PM.
Reply With Quote
  #18  
Old 11-06-2017, 09:19 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Connecting to the TrendNet WAN from my LAN works so its port forwarding seems to be OK. I'm guessing my ISP may be blocking ports.
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
Android MiniClient v1.2.0 - Released stuckless SageTV Clients Development 189 03-01-2017 07:32 AM
Android MiniClient issue crarbo1 SageTV Clients Development 4 02-13-2017 11:18 AM
Android MiniClient - ExoPlayer stuckless SageTV Clients Development 46 12-28-2016 01:46 PM
Android Miniclient - No Video Wrx4me SageTV Clients Development 9 12-04-2016 06:53 PM
Android Miniclient and UK TV rickgillyon SageTV Clients Development 6 12-01-2016 05:58 PM


All times are GMT -6. The time now is 05:58 PM.


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