Skip to content

Commit 4a2774d

Browse files
committed
Improve documentation
1 parent 460f396 commit 4a2774d

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.idea
12
.pio
23
.vscode
34
src/compile_time.h

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In order to run this project on your device, you will need to setup an applicati
3434
## Features
3535

3636
- **Spotify Playback Control**
37-
- Play, pause, skip to next/previous track from the touch screen
37+
- Play, pause, skip to next/previous track from the touch screen. ⚠️ Spotify requires a premium account for this!
3838
- Control playback on any active Spotify Connect device linked to your account (e.g., phone, browser, smart speaker)
3939

4040
- **Album Art Display**
@@ -75,7 +75,7 @@ In order to run this project on your device, you will need to setup an applicati
7575
- Tap the **album art** on the Home view to switch to the **Cover Art view**.
7676
- Tap the **clock** to switch to the **Clock view**.
7777
- Tap the **network status box** in the lower-right corner to open the **Diagnostics view**.
78-
- Tap the top-left corner for **Prev**, the top-center for **Pause/Play**, and the top-right for **Next** when using views other than Home.
78+
- Tap the top-left corner for **Prev**, the top-center for **Pause/Play**, and the top-right for **Next** when using views other than Home.
7979

8080
> For detailed display logic and diagnostics layout, see `DiagnosticsView.cpp`.
8181
@@ -143,4 +143,4 @@ See [instructions](https://docs.thingpulse.com/guides/esp32-color-kit-grande/#de
143143

144144
## Tips and Known Issues
145145

146-
To see a list of tips and known issues, see [Tips and Known Issues](./documentation/TipsAndKnownIssues.md).
146+
To see a list of tips and known issues, see [Tips and Known Issues](./documentation/TipsAndKnownIssues.md).

documentation/TipsAndKnownIssues.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# 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+
34
```
45
#define SPOTIFY_DEBUG 1
56
@@ -10,22 +11,30 @@
1011
#define SPOTIFY_PRINT_JSON_PARSE 1
1112
```
1213

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+
1417
```
1518
board = custom_esp-wrover-kit
1619
board_build.partitions = partitions/custom_no_ota.csv
1720
```
1821

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.
2025

2126
# 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.
2329

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:
2531
`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.
2737

28-
- When playback operations are performed, the SpotifyArdiuno library may log the following. It doesn't appear to affect the operation from actually working.
2938
```
3039
23:24:36.283 > [ 67244][V][ssl_client.cpp:369] send_ssl_data(): Writing HTTP request with 0 bytes...
3140
23:24:36.440 > [ 67407][V][ssl_client.cpp:381] send_ssl_data(): Handling error -80

0 commit comments

Comments
 (0)