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
> This module shows what is on your Spotify Connect. if you want to use Spotify in your mirror you should look at [Raspotify](https://github.com/dtcooper/raspotify)
17
17
18
18
# Installation
19
19
### Step 1: Clone the module and install dependencies
@@ -91,6 +91,7 @@ Once you finish, you are all set with the basic configuration. Scroll down to se
91
91
experimentalCanvas:false,
92
92
experimentalCanvasEffect:'cover',
93
93
experimentalCanvasAlbumOverlay:false,
94
+
experimentalCanvasSPDCookie:"",
94
95
// Theming General
95
96
roundMediaCorners:true,
96
97
roundProgressBar:true,
@@ -103,6 +104,7 @@ Once you finish, you are all set with the basic configuration. Scroll down to se
| spotifyCodeExperimentalSeparateItem <br> `true`| Separates or joins the Spotify Code Bar to the cover art. Also respects `roundMediaCorners` and `spotifyCodeExperimentalUseColor`. <br /><br /><imgalt="Spotify code bar separation"src=".github/content/readme/banner-codeseparation.png"aling="left"height="100"> |
178
180
179
181
#### Canvas
182
+
> [!IMPORTANT]
183
+
> 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.
184
+
185
+
> [!CAUTION]
186
+
> 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.
187
+
180
188
| Key | Description |
181
189
| :-- | :-- |
182
190
| experimentalCanvas <br> `false`| Shows the Spotify Canvas if available. This is an experimental feature, as this API is not documented and private. |
183
-
| 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 /> |
184
191
| experimentalCanvasAlbumOverlay <br> `true`| Show the cover art inside the Spotify Canvas. |
192
+
| 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 /> |
193
+
| 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!. |
| blurCorrectionInAllSides <br> `false`| Same as `blurCorrectionInFrameSide`, but applies the correction on all of the borders for a more subtle effect. |
198
207
| alwaysUseDefaultDeviceIcon <br> `false`| The device icon changes depending on the player type. If you don’t like this behaviour you can disable it. |
199
208
| experimentalCSSOverridesForMM2 <br> `false`| An array containing CSS overrides, OnSpotify manages the status depending on what is displayed on the screen and lets you customize other modules. [See above](#theming-3rd-party-modules)|
209
+
| experimentalColorSignaling <br> `false`| Sends a notification with the color data for modules that are not DOM based and need the color when its already processed. |
200
210
201
211
> See also: [Disabling **all** color based theming](#other)
202
212
@@ -223,6 +233,7 @@ Control your mirror (and other modules) using Apple Homekit protocol! (Also comp
223
233
| key | Description |
224
234
| :-- | :-- |
225
235
|`THEME_PREFERENCE`| ↑ Sent to signal other modules that color data is available. |
236
+
|`INSTANT_COLOR`| ↑ Sent to signal other modules that color data has been updated instantly, also sends the raw vibrant data, only when `experimentalColorSignaling` is turned on. |
226
237
|`NOW_PLAYING`| ↑ When the player state changes, the module sends a notification so other modules can, for example, [show lyrics](#lyrics). |
227
238
|`DEVICE_CHANGE`| ↑ Everytime the Spotify Connect target changes, this notification is fired. |
228
239
|`ONSPOTIFY_NOTICE`| ↑ This notification signals other modules that OnSpotify is available. |
@@ -267,5 +278,7 @@ You cannot migrate from NowPlayingInSpotify, as the scopes included in the NPOS
267
278
268
279
- Contributions wanted! Add features or your language using `translations/yourLanguage.json`. Currently we have translations for: Spanish, English, German
269
280
281
+
- You can custom CSS and functions in the "Issues" tab. For example https://github.com/Fabrizz/MMM-OnSpotify/issues/65 for changing the size and hiding other modules using ONSP state.
282
+
270
283
With <3 by Fabrizio | [fabriz.co](https://fabriz.co/) | Star this repository!
0 commit comments