gilles-chanteperdrix / squeezelite

Automatically exported from code.google.com/p/squeezelite
Other
0 stars 0 forks source link

Parameter switch to prevent discovery mode #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

it seems that squeezelite will automatically switch to auto-discovery mode, if 
the HOST is not reachable (e.g. if startet at boot but network not ready).

This will become a trouble when more than one mediaserver is present within the 
network.

Best Regards

Original issue reported on code.google.com by nhellw...@gmail.com on 17 May 2013 at 5:31

GoogleCodeExporter commented 8 years ago
If the host is an IP address then it will continue to try to connect to it.  If 
it is a dns name then it only trys to do a lookup once and if there is no 
response it will fall back to probing for a server.

Original comment by trio...@btinternet.com on 18 May 2013 at 10:48

GoogleCodeExporter commented 8 years ago
Well, e.g:

192.168.99.99 being a valig host

if I do

  squeezelite 192.168.99.01

squeezelite still connects to the valid server .99. This is why I thought the 
fallback to discovery mode is always done if no connection to host is possible. 
I have not looked at the source code, but I can repeat the stated example and 
squeezelite connects all the time.

Original comment by nhellw...@gmail.com on 18 May 2013 at 6:57

GoogleCodeExporter commented 8 years ago
please try with "-d slimproto=debug" before the ip address to see what it is 
doing 

Original comment by trio...@btinternet.com on 18 May 2013 at 7:02

GoogleCodeExporter commented 8 years ago
Closing as no follow up

Original comment by trio...@btinternet.com on 9 Jul 2013 at 6:48