Ubuntu 18.04 and Debian 9
My Question or Issue
I use spotify on a whole bunch of devices, i.a. two linuxboxes with spotify for linux. Playing spotify on these devices works without a problem. However, when both linuxboxes are switched on, other spotify apps (on Android or on Linux) do only see one of these linuxboxes under "available devices".
Both linuxboxes are in the same LAN. One of it runs under Debian 9, the other one under Ubuntu 18.04. A call of spotify -version shows on both devices:
Spotify version 18.104.22.1686.ge08ef575, Copyright (c) 2019, Spotify Ltd
In order to find the cause of this weird phenomenon, I used the Spotify-WebAPI to show the device ids:
curl -H "Authorization: Bearer $TOKEN" https://api.spotify.com/v1/me/player/devices
When only the linuxbox called "nuckie" is switched on, I get the following output: