Working Raspian Lite Image for Pirate Radio

Unfortunately, Pirate Radio is not (yet?) working on the actual Raspian Lite “Buster”.
After hours of research, the latest working Image of Raspian Lite is
2018-10-09-raspbian-stretch-lite.img
It can be downloaded under
http://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/

If anyone got to work a later version, let me know

I do believe mine is running Buster with Desktop? The non Lite version. It’s not the latest release though, it was installed and setup before the recent switch to Pulse Audio.
I just set it to boot to command line when I’m all done with my setup. It takes a little while to boot up but I also set mine to wait for network. Once its running and streaming it works fine with no glitches in the sound etc.

GOTIT!
With some hints from the forum I managed to get it to work with the latest Raspian LiteBuster.Evrything works with perfect Sound too!
Here the steps, summed up:
Install the latest Raspian Buster Lite Version.
Do all the updates/Upgrades
sudo apt-get update
sudo apt-get upgrade
For making it all easier, run “sudo raspi-config” and enable sh (secure shell) and your WLAN configuration.
Furtheron, install your proper keyboard layout for your country. Makes it a lot easier to type in all the@,/()}{ and so on without searching
Then do the vlc install, cause vlc-nox is not longer supported by Buster.
sudo apt-get install vlc
The following only to be secure:
sudo apt-get install vlc-bin
sudo apt-get install vlc-plugin-base

Then you have to modify the setup.sh script in
Pimoroni/phatbeat/projects/vlc-radio/setup.sh

sudo nano setup.sh

Modify it (scroll down until you find the section):

raspbian_check() {
IS_SUPPORTED=false
IS_EXPERIMENTAL=false

if [ -f /etc/os-release ]; then
    if cat /etc/os-release | grep -q "/sid"; then
        IS_SUPPORTED=false && IS_EXPERIMENTAL=true
    elif cat /etc/os-release | grep -q "stretch"; then
        IS_SUPPORTED=false && IS_EXPERIMENTAL=true
    elif cat /etc/os-release | grep -q "jessie"; then
        IS_SUPPORTED=true && IS_EXPERIMENTAL=false
    elif cat /etc/os-release | grep -q "wheezy"; then
        IS_SUPPORTED=true && IS_EXPERIMENTAL=false

ADD THE FOLLOWING TWO LINES: 

    elif cat /etc/os-release | grep -q "buster"; then**
       IS_SUPPORTED=true && IS_EXPERIMENTAL=false**

ENDADD

    else
        IS_SUPPORTED=false && IS_EXPERIMENTAL=false
    fi
fi

}

Run the script:

sudo bash setup.sh

reboot AND IT WORKS

1 Like

I forgot: after The sudo raspi-config part, do the Installation of the vlcradio-Part

curl https://get.pimoroni.com/vlcradio ¦ bash

Ah, now that you mention it, I did have to make the edit for Buster support. It was probably close to a year ago that I did it and I just forgot. Sorry about that.

On the plus side, my installs of the Pirate Radio have been rock solid and very reliable. It’s along time between reinstalls. The last time I had a fail was because of a power bump while it was playing. It corrupted the SD Card.

We’ve updated the vlcradio one line installer and it should now be working properly with Buster.

Good to hear! Was a minor alteration

It’s not working for the latest version Raspberry Pi OS Lite:

  • Release date: October 30th 2021
  • Kernel version: 5.10
wiringpi is required
Installing wiringpi...
E: Unable to locate package wiringpi
Apt failed to install wiringpi!
Falling back on pypi...

And another error here:

checking dependency style of gcc... (cached) gcc3
checking whether ln -s works... yes
checking for wiringPiSetup in -lwiringPi... no
configure: error: You need libwiringPi installed

Installing Pi VU Meter...
make: *** No rule to make target 'install'.  Stop.

All done!

Press Enter to continue...

--- Warning ---

The VLC Radio installer
does not work on this version of Raspbian.
Check https://github.com//
for additional information and support

Some changes made to your system require
your computer to reboot to take effect.

Would you like to reboot now? [y/N]

I think there have been changes to wiringpi in Raspberry Pi OS Bullseye which is probably what’s causing shenanigans - probably easiest to stick with Buster/Legacy for now until we’ve got the installer fixed up.

There’s a related Github issue here, if you want to keep an eye on it: wiringpi not available on bullseye · Issue #38 · pimoroni/phat-beat · GitHub