EXT-Librespot
This plugin allow to play Spotify music on your mirror with Librespot
This module is an Extented plugins for
EXT-Spotify
Execute npm run install:EXT-Librespot
in the MMM-GoogleAssistant's folder.
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run install:EXT-Librespot
To display the module insert it in the config.js file.
{
module: 'MMM-GoogleAssistant/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 |
build
Librespot
player from github source
(will take ~30 mins to install!)
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run setup:EXT-Librespot
For
EXT-Librespot
using, binary file ofLibrespot
will be automaticaly added inEXTs/EXT-Librespot/components/librespot
Folder
Open your spotify player (on your phone/computer/...)
Select MagicMirror
(speaker) for music playing destination
MMM-GoogleAssistant will playing it and displaying any informations from EXT-Librespot
Librespot
playerAll logs of Librespot
player is managed with pm2
app
You can discover it with pm2 log librespot
command for debuging (if needed)
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run update
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run remove:EXT-Librespot