/groovebasin

Music player server with a web-based user interface.

Primary LanguageJavaScriptMIT LicenseMIT

Groove Basin

Music player server with a web-based user interface.

Run it on a server connected to some speakers in your home or office. Guests can control the music player by connecting with a laptop, tablet, or smart phone. Further, you can stream your music library remotely.

Groove Basin works with your personal music library; not an external music service. Groove Basin will never support DRM content.

Try out the live demo.

Feature Highlights

  • The web client feels like a desktop app, not a web app. It predicts what the server will do in order to hide network lag from the user.

  • Auto DJ which automatically queues random songs, favoring songs that have not been queued recently.

  • Drag and drop upload. Drag and drop playlist editing. Keyboard shortcuts for everything.

  • Lazy multi-core EBU R128 loudness scanning (tags compatible with ReplayGain) and automatic switching between track and album mode. "Loudness Zen"

  • Streaming support. You can listen to your music library - or share it with your friends - even when you are not physically near your home speakers.

  • Groove Basin protocol. Write your own client using the protocol specification, or check out gbremote, a simple command-line remote control.

  • MPD protocol support. This means you already have a selection of clients which integrate with Groove Basin. For example MPDroid.

  • Last.fm scrobbling.

  • File system monitoring. Add songs anywhere inside your music directory and they instantly appear in your library.

Install

Pre-Built Packages

Ubuntu

sudo apt-add-repository ppa:andrewrk/libgroove
sudo apt-get update
sudo apt-get install groovebasin
groovebasin

From Source

  1. Install one of these:
    • Node.js v0.10.36 or v0.12.x
    • io.js v1.x.x
    • On Debian and Ubuntu, sudo apt-get install nodejs-dev nodejs-legacy npm
  2. Install libgroove. libgroove is available in many package managers. See the libgroove README for more details.
  3. Clone the source and cd to it.
  4. npm run build
  5. npm start

Configuration

When Groove Basin starts it will look for config.json in the current directory. If not found it creates one for you with default values.

Use this to set your music library location and other settings.

It is recommended that you generate a self-signed certificate and use that instead of using the public one bundled with this source code.

Screenshots

Search + drag/drop support Multi-select and context menu Keyboard shortcuts Settings Import Events

Developing

$ npm run dev

This will install dependencies, build generated files, and then start the sever. It is up to you to restart it when you modify assets or server files.

Community

Pull requests, feature requests, and bug reports are welcome! Live discussion in #libgroove on Freenode.

Articles

Roadmap

  1. Music library organization
  2. Accoustid Integration
  3. Finalize GrooveBasin protocol spec