Skip to content
Music Player Deamon module for Magic Mirror
JavaScript CSS
Branch: master
Clone or download
Latest commit 14bb421 Dec 23, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore First version off MMM-MPD Oct 13, 2017
README.md
mpd_client.css First version off MMM-MPD Oct 13, 2017
mpd_client.js minor formal updates Oct 13, 2017
node_helper.js fixes playlist index bug Oct 13, 2017
package.json updated dependencies Oct 25, 2017

README.md

Module: MMM-MPD

This module uses MPD (Music Player Deamon) to connect to your favorite music player, for example mopidy, and shows the current state of your music player on your magic mirror.

screenshot of MMM-MPD

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: "mpd_client",
		position: "top_right",	// This can be any of the regions.
		config: {
			// See 'Configuration options' for more information.
			hostname: "localhost",
			port: 6600
			
		}
	}
]

Run npm install in the module folder.

Configuration options

The following properties can be configured:

Option Description
hostname The hostname of the machine running the MPD server.

Example: '192.168.0.10'
Default value: 'localhost'
port The port of the MPD server.

Example: '6600
Default value: '6600'
maxRows The number of songs comming up in your playlist which will be displayed.

Example: '10
Default value: '10'
fadePoint the point where the playlist starts to fade

Example: '0.5
Default value: '0.5'
You can’t perform that action at this time.