This is an extension for the MagicMirror. It displays the currently playing music of your Plex Media Server, relying on the Plex API. Now, it also can display currently playing videos, along with year and tagline (if any).
It works & looks exactly like MMM-Scrobbler. The PMS actually can scrobble to last.fm, but unfortunately it doesn't implement the "now playing" feature of last.fm. Hence, this module was born :)
In the event of multiple media playing at the same time, the first one found (which is arbitrary as far as I know) is what gets displayed by this module.
Navigate into your MagicMirror's modules
folder:
git clone https://github.com/youse/MMM-PlexNowPlaying.git
cd MMM-PlexNowPlaying
npm install
The last part is to pull in the lovely xml2js XML parser.
##Module Usage
The entry in the module array
in your config.js
can look as follows. The serverURL field is mandatory. All other fields have default values.
{
module: 'MMM-PlexNowPlaying',
disabled: false,
position: 'top_left',
config: {
serverURL: 'http://your-plex-server-address:32400',
updateInterval: 10 * 1000, // how often to poll for song change while listening (default 10s)
delayCount: 5, // how many empty queries before deciding we aren't listening
delayInterval: 60 * 1000, // how often to poll for new listening activity (default 60s)
animationSpeed: 1000
}
}