- Alpine Virtual Machine or similar
- Time
apk add alpine-sdk bash patchelf autoconf automake make pkgconf git openjdk17
#!/bin/bash | |
# This is the recommended option. ffplay playback controls are working perfectly. | |
# Seeking/Song-skipping works too. | |
librespot -n "Librespot Speaker" -b 320 --backend pipe | ffplay -f s16le -ar 44.1k -ac 2 - | |
# Not recommended. VLC playback controls are broken and spotify-connect remote control does not work either. (VLC macOS Bundle) | |
#librespot -n "Librespot Speaker" -b 320 --backend pipe | /Applications/VLC.app/Contents/MacOS/VLC -I dummy --demux=rawaud --rawaud-channels=2 --rawaud-samplerate=44100 - |