mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-30 03:18:24 +03:00
Spotify secrets
This commit is contained in:
@@ -32,16 +32,16 @@
|
||||
#include "platform_config.h"
|
||||
#include "nvs_utilities.h"
|
||||
#include "tools.h"
|
||||
|
||||
|
||||
#if !defined(CLIENT_ID) || !defined(CLIENT_SECRET)
|
||||
#if __has_include("client_info.h")
|
||||
#include "client_info.h"
|
||||
#endif
|
||||
|
||||
#if !defined(CLIENT_ID) || !defined(CLIENT_SECRET)
|
||||
#else
|
||||
#warning "missing Spotify's CLIENT_ID and/or CLIENT_SECRET (set env varibles or in client_info.h"
|
||||
#define CLIENT_ID "<your client id>"
|
||||
#define CLIENT_SECRET "<your client secret>"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static class cspotPlayer *player;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user