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",
volume: 100
}
},
| field | description | type | default value |
|---|---|---|---|
| debug | Enable debug mode or not | BOOLEAN | false |
| deviceName | Define your spotify device name | STRING | MagicMirror |
| volume | Define sound level on start (%) | 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.
Logs of Librespot player
All logs of Librespot player is managed with pm2 app
You can discover it with pm2 log librespot command for debuging (if needed)