Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sandyjmacdonald
Last active September 19, 2021 23:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandyjmacdonald/1fc74b6e4d85e839dfa4fbe362ae244d to your computer and use it in GitHub Desktop.
Save sandyjmacdonald/1fc74b6e4d85e839dfa4fbe362ae244d to your computer and use it in GitHub Desktop.
Pirate Audio Google Music Support
  1. Clone the Pirate Audio GitHub repo and install:
git clone https://github.com/pimoroni/pirate-audio
cd pirate-audio/mopidy
sudo ./install.sh

Detailed Pirate Audio installation instructions can be found here.

  1. Create an app password on your Google account page here.

  2. Install the Mopidy GMusic extension:

sudo pip install mopidy-gmusic
  1. Edit the Mopidy config file to add the Google Music settings
sudo nano /etc/mopidy/mopidy.conf

then the following lines to the bottom of the file, with your Google username and app password:

[gmusic]
enabled = true
username = johnnyappleseed@gmail.com
password = abcdefghijklm
deviceid = mac
  1. Reboot your Raspberry Pi:
sudo reboot

Go to the URL shown on the Pirate Audio display, then click on "Iris".

Your music will be available in the "Browse" section, and should get added to the Artists, Albums, and Playlists sections if you go to "Settings" and then click "Run local scan".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment