You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2023. It is now read-only.
I've also modified a few other things to my liking. I removed some options (cover art not configurable) to reduce maintenance burden for me.
Multiple instances of this module are now also supported, if you've got more than one Librespot speaker.
Install the module
In your MagicMirror directory:
cd MagicMirror/modules
git clone https://github.com/l3d00m/MMM-LibrespotJava.git
cd MMM-LibrespotJava
npm install
Configuring
Here is an example for an entry in config.js
{module: "MMM-LibrespotJava",position: "top_right",config: {librespotApiHost: "localhost",// librespot java API host address (ip)librespotApiPort: "24879",// librespot java API port, default is 24789updatesEvery: 1,// How often should the song be fetched from librespot API in s?deviceName: '',// Optional device name to display next to the progress time}}
Librespot java configuration
Make sure your librespot java is build with API support and the config.toml contains the following:
### API ###
[api]
# API port (`api` module only)port = 24879# API listen interface (`api` module only)host = "0.0.0.0"
Troubleshooting
If it doesn't display anything after start, simply skip at least one song (or pause/play) and it'll probably work. Also note that there's no display at all when no song is playing.