On the machine that is supposed to receive audio, install mpv. Refer to their installation page for further details.
# macOS
brew install mpv
# Ubuntu or similar
sudo add-apt-repository ppa:mc3man/mpv-tests
sudo apt update
sudo apt install mpvOn many Linux systems, you also need the dns_sd.h headers for mDNS:
# Ubuntu or similar
sudo apt install libavahi-compat-libdnssd-devNow, install the server and give it a name and assign a port:
npm i -g fasp-server-cli
fasp-server <some-name> <port>You can now run the server. It should report something like "… listening on port …".
fasp-server
You should now be able to control the server using any client in the local network. We will proceed with how to install the command line client.
Install the client on any machine that you want to control the audio from:
npm i -g fasp-client-cliOn many Linux systems, you also need the dns_sd.h headers for mDNS:
# Ubuntu or similar
sudo apt install libavahi-compat-libdnssd-devUsing the following command, you can let the client search for receivers/servers and pick one.
fasp-client --scanIt will remember your choice so that you can just run fasp-client next time.
Congrats, you're now set up!
Having the client running, type : and enter a URL of an audio file and press enter. It should start to play shortly after.