New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-red-contrib-mpd

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-mpd

A node-red node to control a mpd server and receive status updates from the server like the current played song

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
21
-34.37%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-mpd

Two node-red nodes for controlling/querying one or multiple Music Player Daemon (MPD) servers. If you don't know what mpd or node-red is, have a look at: mpd, node-red.

News

See change log.

  • Since version 1.1.1 the reconnection issue is fixed!!!

Installation

Run npm install node-red-contrib-mpd in your node-red user folder (usually $HOME/.node-red). Have a look at adding nodes for more details about installing nodes.

Features

Provides two nodes, one for controlling and one for querying:

  • MPD input node: everytime the status of the mpd server changes, this node constructs a message, which payload contains two objects. One serves the information about the current played song, the other contains the status of the mpd-server like stop, play etc.
  • MPD input node: enables you to send any command to the mpd server. See mpd command reference for details about possible commands. If the command returns something, it will be available in the payload as an array.

Configuration

Just specify the ip and port of each your mpd-servers in config nodes. Only one connection per server is established, allowing to use many of the mpd nodes without performance issues.

Todo

  • examples

Acknowledgements

  • andrewrk git for the underlying mpd library.
  • Maxime Journaux git for the reconnection issue.

Keywords

node-red

FAQs

Package last updated on 01 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts