I have a very old Raspberry Pi B (not even B+) with a HiFiberry and wanted to stream Spotify to my audio set. Installed DietPi and then followed the very simple instructions from https://dtcooper.github.io/raspotify/
Basically you have to run this command
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.