|
| 1 | +# Tips |
| 2 | +- To surpress logging from the SpotifyAruduion library, goto the `SpotifyArduino.h` and commend out the following lines: |
| 3 | +``` |
| 4 | +#define SPOTIFY_DEBUG 1 |
| 5 | +
|
| 6 | +// Comment out if you want to disable any serial output from this library (also comment out DEBUG and PRINT_JSON_PARSE) |
| 7 | +#define SPOTIFY_SERIAL_OUTPUT 1 |
| 8 | +
|
| 9 | +// Prints the JSON received to serial (only use for debugging as it will be slow) |
| 10 | +#define SPOTIFY_PRINT_JSON_PARSE 1 |
| 11 | +``` |
| 12 | + |
| 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 | +``` |
| 15 | +board = custom_esp-wrover-kit |
| 16 | +board_build.partitions = partitions/custom_no_ota.csv |
| 17 | +``` |
| 18 | + |
| 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. |
| 20 | + |
| 21 | +# 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 |
| 23 | + |
| 24 | +- At startup if nothing is playing the following may be logged repeatedly: |
| 25 | +`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. |
| 27 | + |
| 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 | +``` |
| 30 | +23:24:36.283 > [ 67244][V][ssl_client.cpp:369] send_ssl_data(): Writing HTTP request with 0 bytes... |
| 31 | +23:24:36.440 > [ 67407][V][ssl_client.cpp:381] send_ssl_data(): Handling error -80 |
| 32 | +23:24:36.446 > [ 67408][E][ssl_client.cpp:37] _handle_error(): [send_ssl_data():382]: (-80) UNKNOWN ERROR CODE (0050) |
| 33 | +23:24:36.452 > [ 67412][V][ssl_client.cpp:321] stop_ssl_socket(): Cleaning SSL connection. |
| 34 | +23:24:36.457 > Failed to send request |
| 35 | +``` |
0 commit comments