Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.3 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.3 KB

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'