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.
Take a look at these to scripts:
- 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.)
$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.
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.
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.