Skip to content

Pair with your server ​

After this page wavelane is paired with your recording server, by signing in with Google or with the server's token, and Settings tells you whether the server is reachable and what it records.

What you need ​

A recording server of your own, running, its address, and one of two things: a Google account the server lets in and Google accepts for wavelane, or its token, the secret of at least 32 characters it was started with. What time shift does explains what the server is for.

The address is where your phone reaches the server. A server run as it comes answers plain http on port 8080, so its address looks like http://wavelane.example:8080, with your server's name or address in place of wavelane.example. A server behind your own https proxy is just its name: wavelane assumes https when you type no scheme. Type the address the server's operator gives you: a server may accept sign-ins only for its public name, and refuse the same server reached by another name. Over plain http the token, or with Google the sign-in the server gives your phone, crosses the network unencrypted, so pair that way only on a network you trust.

Signing in with Google needs a Google account on the phone, the server's operator to have listed it (Who may use your server), and Google to accept it for wavelane: wavelane's own Google project lets in only some accounts, and Google refuses any other before the server is asked. With such an account, pair with the token instead: Pair with a token.

Sign in with Google ​

  1. On Home, tap the gear at the top, then "Server".
  2. Type the address in "Address".
  3. Tap "Sign in with Google" and choose your account in Google's sheet.
  4. The dialog says "Pairing…" while wavelane signs in to the server and sends it your favourites (a server that shares lists between devices adds them to the favourites it already holds: Add a device), then shows what the server reports: Paired · recording <n> stations · keeps <h> h, <start>–<end>, that is, how many stations it records now, how many hours it keeps and its daily recording hours. Outside those hours it records none, and the line says recording 0 stations.
  5. Tap "Close".

The Server dialog after a Google sign-in: the address http://wavelane.example:8080 and "Signed in as rider@example.com", with "Sign out" under it.

The stations in this manual's pictures are an example.

From then on the dialog shows the address, Signed in as <account> and "Sign out". While the server refuses that sign-in, it also offers "Sign in again", beside "Sign out" (Sign out).

If it fails, the dialog says Could not pair: <reason>, and any pairing you had before stays as it was. Among the reasons that belong to Google sign-in, the usual ones are:

  • Google refuses your account: wavelane's Google project lets in only some accounts, and Google refuses any other before the server is asked. Pair with the token instead.
  • Could not pair: <account> is not allowed on this server: the server's operator has not listed that account.
  • Could not pair: This server takes a token, not Google sign-in: the server lets in no Google account, or is too old for Google sign-in and answers the same; pair with its token instead, or update the server.
  • Could not pair: The server refused the Google sign-in (<reason>): the server did not accept the sign-in Google gave the phone, for that reason (Troubleshoot your server).
  • Could not pair: Sign-in cancelled: Google's sheet was closed without an account chosen.
  • Could not pair: No Google account on this phone: add a Google account to the phone, then sign in again.

Once paired, the server records your favourites with time shift on: all of them, unless you turn it off for one. A server that shares lists between devices keeps all your favourites, those without time shift too, and shows them on every other device paired with it: Use wavelane on several devices. An older server is sent only the ones with time shift on (An older server or an older wavelane).

Pair with a token ​

  1. On Home, tap the gear at the top, then "Server".
  2. Type the address in "Address" and the token in "Token", under "or with a token". "Pair with token" turns on once there is an address and a token of 32 characters or more.
  3. Tap "Pair with token". The dialog says "Pairing…" while wavelane checks the address and the token and sends the server your favourites (a server that shares lists between devices adds them to the favourites it already holds: Add a device), then shows what the server reports: Paired · recording <n> stations · keeps <h> h, <start>–<end>, that is, how many stations it records now, how many hours it keeps and its daily recording hours. Outside those hours it records none, and the line says recording 0 stations.
  4. Tap "Close".

The Server dialog after Pair with token: the address http://wavelane.example:8080, "Sign in with Google", the token hidden under "or with a token", and "Paired · recording 4 stations · keeps 8 h, 07:00–22:00".

If it fails, the dialog says Could not pair: <reason>, and any pairing you had before stays as it was. Once paired, the server records your favourites with time shift on: all of them, unless you turn it off for one. A server that shares lists between devices keeps all your favourites and shows them on every other device paired with it too; an older server is sent only the ones with time shift on.

Sign out ​

"Sign out" is in the Server dialog when you signed in with Google. The dialog says "Signing out…" and "Sign out" is off while it works. It makes the server forget this phone's sign-in and makes wavelane forget the server, so nothing is time-shifted until you pair again; wavelane forgets the server even when the server cannot be reached at that moment. The phone keeps the favourites and Recents it shows, as its own, and stops sharing them; a change it had not yet sent stays on the phone only (Sign out or pair another server). The dialog then offers "Sign in with Google" and the token again: to sign in with another account, or to pair with a token, sign out first. What the phone has already downloaded stays on it until "Clear downloads", under The library.

While the server refuses this phone's sign-in, and the "Server" row reads <address> · unreachable: The server refused the sign-in: sign in again, the dialog offers "Sign in again" beside "Sign out". "Sign in again" signs in with Google to the same address, as in Sign in with Google: the dialog says "Pairing…", then the server's Paired · … line. It keeps what signing out would drop: the phone's copy of the shared lists and any change it had not yet sent, which it then sends (Add a device). Use it rather than "Sign out" whenever the same account is to sign in again.

A station playing from the recording when you sign out carries on with what the phone holds, and nothing more is downloaded. At the end of it, wavelane goes back to the start of what the phone holds with the notice "Playing recording, live unavailable", as when your server is away, or plays the station's own stream if your server last reported that it was not recording that station. The next time you play it, it plays the station's own stream, without time shift.

The Server row ​

The "Server" row in Settings says how things stand, checked again each time you open Settings. Its <address> is the one you typed, without its http:// or https://:

  • "Not paired": no server yet.
  • <address> · paired · …: paired, followed by what the server last reported.
  • <address> · changes not yet synced: paired, the server answers, but it has not yet confirmed some of your changes, a favourite you added, a station you played, and the last try to send them failed; wavelane keeps trying, and the lists on this phone already show them (How soon a change shows up). While the server cannot be reached, the unreachable line below is shown instead.
  • <address> · favourites not yet pushed: paired with a server that does not share lists between devices, which has not yet confirmed your current favourites; wavelane keeps sending them (An older server or an older wavelane). The unreachable line is shown instead here too.
  • <address> · unreachable: <reason>: the last call to the server failed. "The server refused the token" means the token is wrong: pair again with the right one, or, if the server now takes only Google sign-in, sign in with Google instead.
  • <address> · unreachable: The server refused the sign-in: sign in again: the server no longer knows this phone's sign-in (unused for 90 days, or your account was taken off its list): open "Server" and tap "Sign in again", beside "Sign out" (Sign out). If the server no longer lets your account in, Google sign-in fails with Could not pair: <account> is not allowed on this server: sign out, and pair with the token.

Settings with the Server row reading "wavelane.example:8080 · paired · recording 4 stations · keeps 8 h, 07:00–22:00".