Simply casting the speaker ID from a 64-bits int to an unsigned short and hoping that there will be no clashes is just optimistic. Use an ascending number instead which is what MPD does too. The MPD server specifically documents no persistence in these IDs so we can simply enumerate the speakers to meet the requirements. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
OwnTone
OwnTone is a media server that lets you play audio sources such as local files, Spotify, pipe input or internet radio to AirPlay 1 and 2 receivers, Chromecast receivers, Roku Soundbridge, a browser or the server’s own sound system. Or you can listen to your music via any client that supports mp3 streaming.
You control the server via a web interface, Apple Remote, an Android remote (e.g. Retune), an MPD client, json API or DACP.
OwnTone also serves local files via the Digital Audio Access Protocol (DAAP) to iTunes (Windows), Apple Music (macOS) and Rhythmbox (Linux), and via the Roku Server Protocol (RSP) to Roku devices.
Runs on Linux, BSD and macOS.
OwnTone was previously called forked-daapd, which again was a rewrite of mt-daapd (Firefly Media Server).
Looking for help?
Visit the OwnTone documentation for usage and set up instructions, API documentation, etc.
If you are looking for information on how to get and install OwnTone, then see the Installation instructions.