I recently downloaded and compiled example code from libspotify on my RPi-B+, and it seems to play Spotify songs over ALSA without any problem. I’d like to look into developing some kind of Spotify integration to Volumio, and wanted some feedback.
The first implementation that comes to mind is a Spotify-playing daemon (call it “volumify” for the sake of argument) which runs in the background listening for Volumio control callbacks. When Volumio reaches an item in the playlist containing a Spotify URI, it directs volumify to buffer and play the track instead of using mpd. Would this be an acceptable way to hook into Volumio?