mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-12 14:37:21 +03:00
unique UUID per CSPOT player
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
|
||||
#define MAX_VOLUME 65536
|
||||
|
||||
// variable weakly set in ZeroconfAuthentificator.cpp
|
||||
extern char deviceId[];
|
||||
|
||||
// Hardcoded information sent to spotify servers
|
||||
const char * const deviceId = "162137fd329622137a14901634264e6f332e2422";
|
||||
const char * const informationString = "cspot";
|
||||
const char * const brandName = "corn";
|
||||
const char * const versionString = "cspot-1.0";
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#include "Logger.h"
|
||||
#include "ConfigJSON.h"
|
||||
|
||||
// provide weak deviceId (see ConstantParameters.h)
|
||||
char deviceId[] __attribute__((weak)) = "162137fd329622137a14901634264e6f332e2422";
|
||||
|
||||
ZeroconfAuthenticator::ZeroconfAuthenticator(authCallback callback, std::shared_ptr<bell::BaseHTTPServer> httpServer) {
|
||||
this->gotBlobCallback = callback;
|
||||
srand((unsigned int)time(NULL));
|
||||
|
||||
Reference in New Issue
Block a user