status: spotify_error, the last Spotify session error and when it happened

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 19:59:40 +10:00
parent 2e136ddb8c
commit 66e72cebcc
4 changed files with 19 additions and 1 deletions
+2
View File
@@ -58,6 +58,8 @@ typedef struct {
bool spotify_now_playing(spotify_track_t *t);
// Current state for status.spotify_state.
const char *spotify_state(void);
// Last session error (exception text and uptime) for status.spotify_error. False if none yet.
bool spotify_last_error(char *out, size_t len);
#ifdef __cplusplus
}