goodev / android-squeezer

Automatically exported from code.google.com/p/android-squeezer
1 stars 0 forks source link

Need to support multiple squeezerservers in the configuration. #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to support retaining configuration data for multiple servers.

Suggest that we should keep track of server configuration info keyed off the 
wifi network BSSID 
(http://developer.android.com/reference/android/net/wifi/WifiInfo.html#getBSSID(
)) , and there may be multiple servers on a given wifi network.

We need to be careful once we support logging in to a server that we don't 
inadvertently send the user/pass combo for one server to a completely different 
one.

Original issue reported on code.google.com by n...@ngo.org.uk on 15 Feb 2012 at 9:31

GoogleCodeExporter commented 9 years ago
Create a hash based on the SSID, server address and port number?

Original comment by drdocm...@gmail.com on 17 Mar 2014 at 10:24

GoogleCodeExporter commented 9 years ago
I think having a server configuration based on the wifi SSID is a good start. 
It's more unlikely to have multiple servers at a single location than having 
multiple servers at different locations.

Also I don't think you should care to much about sending user/password combo or 
one server to a completely different one. If password is sent unencrypted and 
the server is not authenticated itself, sending user/password is unsafe by 
design anyway.

Original comment by thenk...@gmail.com on 12 Aug 2014 at 7:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'dd like to have support for multiple servers in one network. I'm running 
three at the moment. Main, Kids, Specials.

Perhaps it is a simple as saving the current config to a "name" by request.

But more importantly is that the scanner is unable to show multiple servers. 
None show up when I press scan at home. I don't use username and passwords. The 
servers are located at home behind a firewall. As I suppose most of us do.

Original comment by mike.v...@gmail.com on 22 Dec 2014 at 4:03

GoogleCodeExporter commented 9 years ago
It seems besides the request for multiple servers, you also have an issue with 
the scanner.

I currently have 2 servers on my home network, and they both show up in the 
scanner. I have a home network with private IP addresses (192.168....) behind a 
NAT router.

I suspect the problem is some setting on your network or the server(s) on which 
you run LMS.

Are you able to detect the servers from something other than Squeezer, e.g. a 
SqueezePlayer or another controller?

Original comment by kaaho...@gmail.com on 23 Dec 2014 at 11:24