|
1 | 1 | # Tips
|
2 |
| -- To surpress logging from the SpotifyAruduion library, goto the `SpotifyArduino.h` and commend out the following lines: |
| 2 | +- To suppress logging from the [SpotifyArduino library](https://github.com/witnessmenow/spotify-api-arduino/), go to its `SpotifyArduino.h` in `.pio/libdeps/thingpulse-color-kit-grande/SpotifyArduino/src` and commend out the following lines: |
| 3 | + |
3 | 4 | ```
|
4 | 5 | #define SPOTIFY_DEBUG 1
|
5 | 6 |
|
|
10 | 11 | #define SPOTIFY_PRINT_JSON_PARSE 1
|
11 | 12 | ```
|
12 | 13 |
|
13 |
| -- If you have a Color Kit Grande with 8 MB or more of Flash memory, you can expand the album art cache from 10 albums to 60 albums by using these settings in `platformio.ini`. See the file for additional comments. |
| 14 | +- If you have an ESP32 Wrover-B with 8 MB or more of Flash memory, you can expand the album art cache from 10 albums to 60 albums by using these settings in `platformio.ini`. |
| 15 | +See the file for additional comments. |
| 16 | + |
14 | 17 | ```
|
15 | 18 | board = custom_esp-wrover-kit
|
16 | 19 | board_build.partitions = partitions/custom_no_ota.csv
|
17 | 20 | ```
|
18 | 21 |
|
19 |
| -- If you want to update your WiFi and Spotify credentials without modifying the source code, use the optional `user.ini` file. The file is ignored by Git and does not require changing code. See [full user settings documentation](./UserSettings.md) for details. |
| 22 | +- If you want to update your WiFi and Spotify credentials without modifying the source code, use the optional `user.ini` file. |
| 23 | +The file is ignored by Git and does not require changing code. |
| 24 | +See [full user settings documentation](./UserSettings.md) for details. |
20 | 25 |
|
21 | 26 | # Known Issues
|
22 |
| -- Some capabilities require a Spotify Premium subscription and may not work fully on the ad supported tier. https://developer.spotify.com/documentation/web-playback-sdk |
| 27 | +- Some capabilities such as the player controls (stop, start, skip, etc.) require a Spotify Premium subscription and may not work on the ad-supported tier. |
| 28 | +See the [Spotify API documentation](https://developer.spotify.com/documentation/web-playback-sdk) for details. |
23 | 29 |
|
24 |
| -- At startup if nothing is playing the following may be logged repeatedly: |
| 30 | +- At startup if nothing is playing, the following may be logged repeatedly: |
25 | 31 | `20:13:34.148 > [ 15318][E][ssl_client.cpp:37] _handle_error(): [data_to_read():361]: (-76) UNKNOWN ERROR CODE (004C)`
|
26 |
| -When there isn't currently an active device or a device has been stopped for a period of time, playback controls may not work and these errors may be seen in the logs. Once music is started/resumed on the active device the errors will go away. |
| 32 | +While there is no currently active device or a device has been stopped for a period of time, playback controls may not work and these errors may be seen in the logs. |
| 33 | +Once music is started/resumed on the active device, the errors will go away. |
| 34 | + |
| 35 | +- When playback operations are performed, the SpotifyArduino library may log the following. |
| 36 | +It does not appear to affect the operation from actually working. |
27 | 37 |
|
28 |
| -- When playback operations are performed, the SpotifyArdiuno library may log the following. It doesn't appear to affect the operation from actually working. |
29 | 38 | ```
|
30 | 39 | 23:24:36.283 > [ 67244][V][ssl_client.cpp:369] send_ssl_data(): Writing HTTP request with 0 bytes...
|
31 | 40 | 23:24:36.440 > [ 67407][V][ssl_client.cpp:381] send_ssl_data(): Handling error -80
|
|
0 commit comments