pippin wrote: 
> I shouldn't have to, shouldn't I? 
I was just suggesting that maybe you had manually defined some servers
in the old app, that's why it was showing a different list.

pippin wrote: 
> Are you sure 2s is long enough?
Considering the latency of a local network is usually less than 100ms
and the tiny size of the data being sent and received, 2s should be
plenty unless your network is extremely congested. 
I chose 2s so that when the app is started for the first time after
install, the user wouldn't have to wait too long before a connection. I
guess bumping it up to 3s wouldn't make it feel that much longer.
How long does ipeng wait for?

pippin wrote: 
> And why do your two Apps show a different list of servers on the same
> device.
The discovery code of both apps is identical, that hasn't changed in
many versions.  The only possible explanation I can think of is if both
apps were running at the same time maybe the servers are confused with
receiving multiple discovery packets from the same IP at close to the
same time and are discarding one of the requests.

pippin wrote: 
> The old one finds all server, one of them initially twice (and then
> removed one of the two after about a minute).
Every time the discovery process runs(about once a minute) the list of
found servers is emptied and replaced. So unless a server is sending
more that one response to discovery request, there should never be
duplicate servers on that list.

pippin wrote: 
> The new one only finds the one that is being found twice in the old App.
> BUT: One of my servers (one of the ones not being found in the new App)
> uses username/password authentication. And the new App _did_ ask for
> username/password of this server so at one point it must have been
> found. I entered them correctly but the server doesn't show.
Squeeze Control only connects to one server at a time and I won't ask
for the username/password unless it connected. So yes it must have found
that server at some point.

pippin wrote: 
> Oh, and I get an "Error: can't connect to server" message when staring
> the App, unfortunately it doesn't say which one.
Thanks for catching this. I'll tag the server name on the error message
in future versions.

pippin wrote: 
> 
> Edit: after trying a few more times the password protected server is now
> also being found and the one being found twice by the old App gets found
> twice, too. But not my main one is still missing.
> I somehow feel your 2s limit might be too short or you should re-search
> periodically.
It does re-discover periodically, about once a minute and also whenever
you open the header menu on the home screen or go to the servers page in
preferences.



--------------
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com
------------------------------------------------------------------------
wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=96757

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to