Pi Life, part one

2020-Jul-10, Friday 11:10 pm
[personal profile] chebe
I often find myself between computers and/or OSes, but I have a script I want always available, so it has to live on a separate device, meaning not my computer. Until I get around to finishing up my Gizmo I guess that means my Pimoroni Pirate Radio.

Step One: Update Pi Radio

Um. Why isn't my password working? Okay then. Take SD card from Pirate Radio, reformat. Use shiny new Raspberry Pi Imager to install 'Raspberry Pi OS Lite' directly from computer. Put SD card in Pi, attach keyboard and monitor. Power on.

Add wifi details to wpa_supplicant.conf, reboot, sudo apt-get update, sudo apt-get upgrade, sudo apt-get install vim, sudo vim /etc/hosts, passwd to change password, sudo raspi-config to enable ssh.

Then following instructions here to turn the pi into a radio; curl https://get.pimoroni.com/vlcradio | bash, reboot when prompted.

But, not everything has installed, see, at the end of the long install script it says;
The VLC Radio installer
does not work on this version of Raspbian.
Check https://github.com//
for additional information and support


Hmm. Not entirely useful. So, checkout the git project;
git clone https://github.com/pimoroni/phat-beat.git
cd phat-beat/projects/vlc-radio
./setup.sh
and reboot when prompted. Warning, radio will auto-play, quite loudly, don't do this late at night. But at least it's working again.

For usage/updating see git project.

Re-enable spoken ip address functionality, turn off, remove keyboard and monitor, turn on, and ssh in.

The default playlist is now /etc/vlcd/default.m3u. Edit it to recreate station playlist. Or create /home/pi/.config/vlc/playlist.m3u, which is checked for existence first.

Okay, so now I'm back to where I started, and haven't managed to do anything I wanted to yet. Yup.