Created
January 17, 2021 11:31
-
-
Save hmelder/eab7de2c638dcae58c0d5d78cb2f812a to your computer and use it in GitHub Desktop.
(Librespot -> ffplay/vlc) Pipe librespot raw pcm s16le stream (Librespot -> ffplay/vlc)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment