Public Repository

Last pushed: 23 days ago
Short Description
Raspberry PI Docker Image to download music library from Google Music
Full Description

Source / Contrib : https://github.com/jaymoulin/docker-rpi-google-music-downloader
Issues : https://github.com/jaymoulin/docker-rpi-google-music-downloader/issues

Raspberry PI - Google Music Downloader - Docker Image

This image allows you to download your Google Music Library to a selected folder
This image is based on Google MusicManager

Installation

docker run -d --restart=always -v /path/to/your/library:/media/library --name googlemusicdown jaymoulin/rpi-google-music-downloader

You must define your path to your library in a volume to /media/library

Configuration

First, you have to allow the container to access your Google Music account

docker exec -ti googlemusicdown auth

Then follow prompted instructions.

You will be asked to go to a Google URL to allow the connection:

Visit the following url:
 https://accounts.google.com/o/oauth2/v2/auth?client_id=XXXXXXXXXXX.apps.googleusercontent.com&access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fmusicmanager&response_type=code&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
Follow the prompts, then paste the auth code here and hit enter:

Once done, restart the container to start downloading your library

docker restart googlemusicdown

Appendixes

Install RaspberryPi Docker

If you don't have Docker installed yet, you can do it easily in one line using this command

curl -sSL "https://gist.githubusercontent.com/jaymoulin/e749a189511cd965f45919f2f99e45f3/raw/054ba73080c49a0fcdbc6932e27887a31c7abce2/ARM%2520(Raspberry%2520PI)%2520Docker%2520Install" | sudo sh && sudo usermod -aG docker $USER
Docker Pull Command
Owner
jaymoulin

Comments (0)