o
odinpkg.dev
packages / tool / audio-be

audio-be

v1.1tool

A CLI spotify proxy for Linux -> Android

GPL-3.0 · updated 1 day ago

AudioBE

This software works like a spotify (or VLC) proxy.

The server runing on Linux (with spotify/vlc) sends the audio (32 bit PCM) to the Android client using plain TCP.
The android client also has simple controls: prev/next song, play/pause. The server discovery is made using DNS-SD (DNS Service Discovery)

The server is made using the Odin programming language with:

  • vendor:miniaudio to capture the audio of the Linux desktop
  • odin-dbus to communicate with: spotify and avahi

The client can be found at github.com/PiterWeb/audio-be-android

How to build

You will need to clone the repo with submodules

git clone --recurse-submodules https://github.com/PiterWeb/audio-be.git

Then you compile with the Odin compiler

odin build .