Spotify, pulseaudio and squeezebox
Getting sound from spotify to squeezebox in 9 easy steps:(Tested on Ubuntu 8.10, with squeezecenter running as daemon from apt source. Mileage will probably vary on other platforms.)
- Run pulseaudio as a system service (run as root, with argument
--system
; edit/etc/default/pulseaudio
to have this run at startup) - Add yourself and the squeezecenter daemon user to the group
pulse-access
- Load the null sink using an appropriate name:
pactl load-module module-null-sink sink_name=spotify
- Install the WaveInput squeezecenter plugin (using the Extension Downloader functionality if you're hip)
- Replace the
arecord
invocation in WaveInput'scustom-convert.conf
with[parec] -d $FILE$
(keep the encoder part -- and be advised that #-lines are magical at certain points in the configuration file, so don't just comment out the old lines) - Run spotify under wine
- Use
pavucontrol
to send the audio output from wine to the null sink - Use squeezecenter's Tune in URL to listen to
wavin:spotify.monitor
- Press play on tape
Ingen kommentarer:
Legg inn en kommentar