Thank you https://gist.github.com/shuichinet/8159878
This is how I install on my mac
brew reinstall python
brew install libav
sudo pip install gmusicapi
pip install urllib3
pip install certifi
Ask for username and password from terminal
./tidy-my-music.py
Or pipe in without user interaction (only do on private machine since password visible in ps)
read username ; read -s password
echo $username/$password | tr '/' '\n' | ./tidy-my-music.py