Files
SpotiFLAC-Mobile/lib
zarzet 5be1786d8a fix(link): keep a typed computer address instead of the one discovery finds
A computer paired by typing its address, for example a VPN address, lost
that address as soon as the phone saw the same computer on the local
network: discovery moved the saved record to the address found there
without checking that it answers. Discovery runs again whenever the app
comes back to the front, the network changes or the connection drops, so
the move happened some time after pairing. When the found address is
blocked by a firewall that lets the VPN through, or the phone later leaves
that network, the computer could not be reached any more, and restarting
either app did not help because the typed address was gone. Only removing
and pairing again brought it back (issue 945).

The record now remembers that its address was typed, and discovery leaves
such a record where it is. Seeing the computer on the network still makes
the phone try the typed address again at once. Pairing again keeps the
typed address; choosing the computer from the nearby list makes it follow
discovery as before. Records saved earlier were never marked and behave as
they did.
2026-11-21 21:34:08 +07:00
..