Wet Sunday Project...

16 Aug 2020

My increasingly elderly Roberts Radio 83i remains a wonderful radio - but alas, it doesn’t support any kind of DNLA media discovery… so no Airplay, no wireless streaming, and no Spotify Connect

So buy a new radio Steve, the new model works with Spotify Connect, and looks all posh. But that would be TOO EASY.

Turns out I have all the things I need for low-rent Spotify Connect right here.

  • A Raspberry Pi Model B
  • Magical RaSpotify software - that turns a Raspberry Pi computer into a Spotify Connect receiver
  • Suitable cables - audio, networking and micro-USB

The Roberts 83i has a USB port on the front, for plugging in a USB stick full of tunes into the radio. Turns out that kicks out enough juice to power an older Pi without too much grief… so the Pi can be powered up and down when the radio is.

I’ve got a dodgy wifi extender in the kitchen - with an ethernet port… so that sorts out networking.

The setup…

is barely worth writing about.

  • grab the latest Raspberry Pi OS image. (I’ve got with the lite version, as I don’t need a desktop environment - and it’s only an old slow Pi anyway…)
  • Flash the OS onto a SD card.
  • Boot the Pi and enable SSH via sudo raspi-configand navigating to the advanced options to turn it on. I’m including this for me, as I can never remember what the command is, and have to Google it every time…
  • Install Raspotify -
wget https://dtcooper.github.io/raspotify/raspotify-latest.deb

sudo dpkg -i raspotify-latest.deb


And that’s basically it. All being well, your Spotify client will now “see” a device called raspotify(raspberrypi) that you can stream to.

Additional faffing…

By default, the audio level from the 3.5mm headphone jack is a little low. There’s a command line tool you can use to adjust it… which I’m adding here, because again - I always forget.

Just fire up alsamixer and bump the volume up from the default 40 to something a little louder…

alsamixer

Also - if you’re not keen on the standard name - you can tweak it via the config file (‘cos it’s Linux powered, it’d be rude if you couldn’t…)

in the text editor of your choice, edit

/etc/default/raspotify

You’re looking for the DEVICE_NAME line. Set it to something suitable - and uncomment the line (by removing the # if you want it to actually work… sigh)

# Device name on Spotify Connect
#DEVICE_NAME="Kitchen Pi"
DEVICE_NAME="Kitchen Pi"


Spotify Connect

And there you have it. I suspect I’ve spent longer typing this up than I actually did setting up the hardware.

I still need to tidy up the cable run - but the wife is busy blasting Tool in the kitchen as I type this… so I think I can chalk this wet Sunday project up as a success!

Published on 16 Aug 2020 Find me on Twitter and Mastodon.