EXT‐Librespot - bugsounet/MMM-Bugsounet GitHub Wiki
This plugin allow to play Spotify music on your mirror with Librespot
This module is an Extented plugins for EXT-Spotify
Installation
Execute npm run setup:EXT-Librespot
in the MMM-Bugsounet's folder.
cd ~/MagicMirror/modules/MMM-Bugsounet
npm run setup:EXT-Librespot
Configuration
To use this module insert this in the config.js file.
{
module: 'MMM-Bugsounet/EXTs/EXT-Librespot',
config: {
debug: false,
deviceName: "MagicMirror",
minVolume: 40,
maxVolume: 100
}
},
field | description | type | default value |
---|---|---|---|
debug | Enable debug mode or not | BOOLEAN | false |
deviceName | Define your spotify device name | STRING | MagicMirror |
minVolume | Min volume on Assistant activate | NUMBER | 40 |
maxVolume | Max volume when spotify playing | NUMBER | 100 |
Librespot player install
build Librespot
player from github source (will take ~30 mins to install!)
cd ~/MagicMirror/modules/MMM-Bugsounet
npm run setup:EXT-Librespot:player
For EXT-Librespot
using, binary file of Librespot
will be automaticaly added in EXTs/EXT-Librespot/components/librespot
Folder
Using
Open your spotify player (on your phone/computer/...)
Select MagicMirror
(speaker) for music playing destination
MMM-Bugsounet will playing it and displaying any informations from EXT-Librespot
Librespot
player
Logs of All logs of Librespot
player is managed with pm2
app
You can discover it with pm2 log librespot
command for debuging (if needed)