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
**MMM-OnSpotify** for MagicMirror² is a highly configurable module that displays Spotify activity on your MagicMirror display (including podcasts, and when available, audiobooks).
5
+
**MMM-OnSpotify** for MagicMirror² is a highly configurable module that displays Spotify activity on your MagicMirror display (including podcasts, and when available, audiobooks).https://onsp.fabriz.co/
6
6
7
-
The module includes a web service that will guide you through the set up and configuration of the Spotify App and module. MMM-OnSpotify does not use any third party service, just the Spotify Web API.
7
+
The module provides a static web service that walks you through setting up and configuring both the Spotify app and the module itself. MMM-OnSpotify relies solely on the official Spotify Web API and does not use any third-party services.
### Step 2: Create a Spotify App and authorize the app
25
25
26
-
> [!WARNING]
27
-
> You cannot use MMM-NowPlayingOnSpotify (or other module) credentials, the API scopes are different.
28
26
29
-
The module includes a web service that guides you in the creation fo the Spotify App, to use it (inside your module folder) run:
27
+
The module includes a static web service that guides you in the creation of the Spotify App needed to use this module, you can view the source code inside `/web`.
> The online tool saves the credentials **ONLY** in your browser and its a static page. If you do not want to use the online tool, you can host it by running the Vite proyect inside `/web`.
32
30
33
-
```bash
34
-
npm run auth
35
-
> [Authorization Service] Open http://localhost:8100/ to configure your mirror.
36
-
```
37
-
Once you finish, you are all set with the basic configuration. Scroll down to see all the different theming options for the module.
> Once the Authorization Service is running, you can access it from the same device where you ran the command by going to `http://localhost:8100/`. You can clone the module on another device to use the service and copy the resulting config snippet to the desired MM².
40
34
41
35
# Updating
42
36
```bash
@@ -47,7 +41,7 @@ npm install
47
41
# Module Configuration
48
42
49
43
**Extended full configuration object:**
50
-
Do not copy everything! Just what you want to change. Below are the defaults:
44
+
Copy only the parts you want to change to your configuration file. The defaults are shown below:
51
45
52
46
```js
53
47
{
@@ -95,12 +89,6 @@ Do not copy everything! Just what you want to change. Below are the defaults:
> EXPERIMENTAL - Using this without auth will get this funtion rate-limited. For that you can add a `experimentalCanvasSPDCookie`. This is more advanced as it requieres you to get the cookie from a Spotify Web session. Not recommended for all users.
180
+
> Removed direct support for canvases
193
181
194
-
> [!CAUTION]
195
-
> Canvases are an internal implementation by the Spotify team and its not available in the web API. Use at your own discretion, personal usage only.
182
+
Relevant disscussion about Spotify changes and it affecting lots of OSS projects:
TL;DR: It now uses another request and TOTP auth and it seems that they are currently changing some stuff on their end.
187
+
188
+
You can check the last version with canvas support here [dev-canvas-support branch](https://github.com/Fabrizz/MMM-OnSpotify/tree/dev-canvas-support). Im open to having PRs that add the OTP or new auth but I will not directly support/fix the feature.
189
+
190
+
> Thanks to https://github.com/dientuki & https://github.com/bartleyg/my-spotify-canvas for the implementation!
196
191
197
-
| Key | Description |
198
-
| :-- | :-- |
199
-
| experimentalCanvas <br> `false`| Shows the Spotify Canvas if available. This is an experimental feature, as this API is not documented and private. |
200
-
| experimentalCanvasAlbumOverlay <br> `true`| Show the cover art inside the Spotify Canvas. |
201
-
| experimentalCanvasEffect <br> `cover`| Control how is the canvas is going to be displayed. Options are: <br />- `cover`: The Canvas is clipped to have the same height as the album cover. Recommended for low-power devices and if the module is not in a `bottom_*` position. <br />- `scale`: Scale up/down the module to fit the entire Canvas without clipping it. <br /> |
202
-
| experimentalCanvasSPDCookie <br> `""`| Adds the SPD cookie from a web Spotify session to stop Spotify from returning a 500 error. Spotify could decide also to just send a 500 error depending on the user agents and other factors, this just affects the module. Still, this feature is optional and this API is NOT public. You can search "Extract Spotify SPD cookie" in youtube/other to learn how to do this. **DO NOT** share this cookie!. |
> See also: [Disabling **all** color based theming](#other)
221
210
222
211
## MMM-LiveLyrics
223
-
View more on the [**MMM-LiveLyrics** repository](https://github.com/Fabrizz/MMM-LiveLyrics). This module uses web scrapping to get the Lyrics from Genius. Not recommended for basic usage.
212
+
View more on the [**MMM-LiveLyrics** repository](https://github.com/Fabrizz/MMM-LiveLyrics).
> This module uses web scrapping to get the Lyrics from Genius, could stop working at any time but now its +3 years solid!
226
217
227
-
## MMM-HomeKit
228
-
Control your mirror (and other modules) using Apple Homekit protocol! (Also compatible with HomeAssistant or other automation systems with simulated HK controllers)
218
+
## More modules!
219
+
-[**MMM-Matter**](https://github.com/Fabrizz/MMM-LiveLyrics) Adds native Matter to MagicMirror and provides an API to control other modules from ANY smarthome provider (Homekit, Google Home, Amazon Alexa, Home Assistant, etc).
-[**MMM-DolarArgentina**](https://github.com/Fabrizz/MMM-DolarArgentina) Displays the current exchange rate for ARS/USD compra/venta.
238
225
239
-
> To learn how to use OnSpotify and HomeKit provided accent colors together, read the guide in the [MMM-HomeKit repository](https://github.com/Fabrizz/MMM-HomeKit).
0 commit comments