Using Google Music Manager in Linux from the command line

15

5

My goal is to use Google Music Manager on a Linux server. I'm wondering if the music manager can operate from the command line and with no GUI. If I could set the software up to watch a particular directory on the server and upload from there, that would be the only necessary functionality. Thank you.

Mike D

Posted 2012-05-26T17:02:52.587

Reputation: 151

Answers

7

You can.

Take a look at these to scripts:

  1. http://development.giaever.org/pastebin/Ubuntu/google-musicmanager/install-gmm-headless.sh
  2. http://development.giaever.org/pastebin/Ubuntu/google-musicmanager/gmm-headless-script.sh (Visit links in direct order to understand them.)

Hope they are useful. Read comments. Remember to edit: «GMAILUSER -p PASSWORD -s /path/to/music -m SERVERNAME» with you own data. (SERVERNAME could be whatever. Its just a name so you can identify your server from your Google-login.)

Type $HOME/gmm-headless-script.sh in terminal to start sync.

Edit: some systems won't already have Xvfb installed, and on those you can fix this with sudo apt-get install xvfb.

Joachim

Posted 2012-05-26T17:02:52.587

Reputation: 71

1

This is a duplicate of "uploading music automatically with Google Music on a Linux server". To quote the answer I've just provided there...

I think what you appear to be looking for is https://github.com/thebigmunch/gmusicapi-scripts - a set of python scripts to upload, download or bi-directionally sync tracks. This, in turn, draws from https://github.com/simon-weber/Unofficial-Google-Music-API should you wish to use these python libraries for your own projects.

JonTheNiceGuy

Posted 2012-05-26T17:02:52.587

Reputation: 266

1By far a better solution for a headless server. Easy to set up, easy to use, no x11 hacking... very good. – Benoit Duffez – 2015-03-22T18:15:39.600

0

I downloaded my music to a headless server by mounting its music folder on a GUI-capable machine with SSHFS. I didn't have any problem using the Music Manager to download into the mounted folder.

I know this isn't an exact solution (it only works when the GUI machine is on and the folder is mounted), but it gets the job done without relying on outside scripts and programs.

Keith

Posted 2012-05-26T17:02:52.587

Reputation: 103