// Spotify Connect (cspot). Project code; GPL-3.0 through cspot. #pragma once #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif // Registers the zeroconf endpoints (/spotify_info) and, when source.mode is spotify/auto and the // client credentials are set, advertises the device and starts the session task. esp_err_t spotify_init(void); // Current state for status.spotify_state. const char *spotify_state(void); #ifdef __cplusplus } #endif