I just purchased a Raspberry Pi Zero WH (pre soldered header model) and a Pirate Audio from the Pi shop in Cambridge. I’ve installed Raspbian from scratch so it’s completely fresh. I’ve also tried this twice with fresh installs…
I’ve followed this guide: https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-pirate-audio
specifically by doing the following:
git clone https://github.com/pimoroni/pirate-audio
cd pirate-audio/mopidy
sudo ./install.sh
the install appears successful as it says “All Done”, however the pirate audio board just shows a black screen although backlight so there’s clearly power. I’ve attempted to go to to the pis local ip like this http://192.168.0.28:6680/ but nothing loads.
Is the board broken?
I attach the full output below:
Updating apt and installing dependencies
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://apt.mopidy.com buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
112 packages can be upgraded. Run 'apt list --upgradable' to see them.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Verifying python 3.x version
Found Python 3.7
Backing up mopidy config to: /etc/mopidy/mopidy.conf.backup-2020-03-26-11-35-29
Installing mopidy packages
mopidy was already not hold.
mopidy-spotify was already not hold.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Installing Iris web UI for Mopidy
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: mopidy-iris in /usr/local/lib/python3.7/dist-packages (3.46.0)
Requirement already satisfied, skipping upgrade: Mopidy>=3.0 in /usr/lib/python3/dist-packages (from mopidy-iris) (3.0.1)
Requirement already satisfied, skipping upgrade: setuptools in /usr/lib/python3/dist-packages (from mopidy-iris) (40.8.0)
Requirement already satisfied, skipping upgrade: Pykka>=2.0.1 in /usr/lib/python3/dist-packages (from mopidy-iris) (2.0.2)
Adding /usr/local/lib/python3.7/dist-packages/mopidy_iris/system.sh to /etc/sudoers.d/010_mopidy-nopasswd
Installing Pirate Audio plugins...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: Mopidy-PiDi in /usr/local/lib/python3.7/dist-packages (1.0.2)
Requirement already up-to-date: pidi-display-pil in /usr/local/lib/python3.7/dist-packages (0.1.0)
Requirement already up-to-date: pidi-display-st7789 in /usr/local/lib/python3.7/dist-packages (0.1.1)
Requirement already up-to-date: mopidy-raspberry-gpio in /usr/local/lib/python3.7/dist-packages (1.0.0)
Requirement already satisfied, skipping upgrade: Pykka>=2.0.1 in /usr/lib/python3/dist-packages (from Mopidy-PiDi) (2.0.2)
Requirement already satisfied, skipping upgrade: netifaces in /usr/local/lib/python3.7/dist-packages (from Mopidy-PiDi) (0.10.9)
Requirement already satisfied, skipping upgrade: setuptools in /usr/lib/python3/dist-packages (from Mopidy-PiDi) (40.8.0)
Requirement already satisfied, skipping upgrade: musicbrainzngs>=0.6 in /usr/local/lib/python3.7/dist-packages (from Mopidy-PiDi) (0.7.1)
Requirement already satisfied, skipping upgrade: Mopidy>=3.0 in /usr/lib/python3/dist-packages (from Mopidy-PiDi) (3.0.1)
Requirement already satisfied, skipping upgrade: font-roboto in /usr/local/lib/python3.7/dist-packages (from pidi-display-pil) (0.0.1)
Requirement already satisfied, skipping upgrade: Pillow in /usr/lib/python3/dist-packages (from pidi-display-pil) (5.4.1)
Requirement already satisfied, skipping upgrade: fonts in /usr/local/lib/python3.7/dist-packages (from pidi-display-pil) (0.0.3)
Requirement already satisfied, skipping upgrade: st7789 in /usr/local/lib/python3.7/dist-packages (from pidi-display-st7789) (0.0.2)
Resetting /etc/mopidy/mopidy.conf to package defaults.
Any custom settings have been backed up to /etc/mopidy/mopidy.conf.backup-2020-03-26-11-35-29
Configuring Mopidy
Enabling and starting Mopidy
Synchronizing state of mopidy.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mopidy
All done!
Mopidy configuration has changed, see summary below and make sure to update /etc/mopidy/mopidy.conf!
Your previous configuration was backed up to /etc/mopidy/mopidy.conf.backup-2020-03-26-11-35-29
72,100d71
<
< [raspberry-gpio]
< enabled = true
< bcm5 = play_pause,active_low,250
< bcm6 = volume_down,active_low,250
< bcm16 = next,active_low,250
< bcm20 = volume_up,active_low,250
< bcm24 = volume_up,active_low,250
<
< [pidi]
< enabled = true
< display = st7789
<
< [mpd]
< hostname = 0.0.0.0
<
< [http]
< hostname = 0.0.0.0
<
< [audio]
< mixer_volume = 40
< output = alsasink device=hw:sndrpihifiberry
<
< [spotify]
< enabled = false
< username =
< password =
< client_id =
< client_secret =