0

Launch Spotify track/playlist from code

Is there any way of launching Spotify tracks or playlists from code? My intention is receiving commands from a connected Arduino to the RasPi, and launching music from Spotify that way. It’s a retro radio, and I hope to trigger genre playlist from its physical buttons.

Does HiFiBerry use MPD for Spotify as well, so that the MPD API might be an option?

Thanks!

8 comments

Please sign in to leave a comment.