/gmpd

Google Play Music to Music Player Daemon bridge and web user interface

Primary LanguageJavaScriptMIT LicenseMIT

Google Music Player Daemon

A Node.js application that lets you stream music from Google Play Music to Music Player Daemon. You can search and browse artists, albums and tracks (then send to MPD) in a Play Music-lite web interface, across all of your devices.

Uses playmusic for Google Play Music integration and mpd.js to control Music Player Daemon.

This project is not endorsed by of affiliated with Google in any way.

Screenshots

Desktop Mobile
desktop mobile

Prerequisites

  • MPD server
  • Node.js runtime
  • Google Play All Access subscription
  • "Allow less secure apps" is ON or (with 2FA enabled) an app password

Installation

Install the dependencies:

$ npm install

Create the build directory (if it doesn't exist):

$ mkdir public/js

Build the app bundle using browserify (you may need to install it):

$ bin/build

Configuration

Make a copy of config.json.template at config.json and adjust all variables as necessary.

Usage

Run directly with node:

$ node server.js

Then access the web interface at localhost:3000 (or remotely using the server's IP address).

Systemd

This app can be run as a service with systemd. An example unit file is provided under dist/systemd/user.

Contributors

  • Cory Kleinschmidt - clkmsc

  • Brett Kleinschmidt - blkqi