Automatically generate unique id

This commit is contained in:
loki
2020-01-20 23:08:44 +01:00
parent bc59b6e91d
commit 6f3927b6ae
5 changed files with 54 additions and 26 deletions
+2 -4
View File
@@ -42,8 +42,7 @@ nvhttp_t nvhttp {
CERTIFICATE_FILE,
boost::asio::ip::host_name(), // sunshine_name,
"03904e64-51da-4fb3-9afd-a9f7ff70fea4"s, // unique_id
"devices.json"s // file_devices
"sunshine_state.json"s // file_state
};
input_t input {
@@ -167,8 +166,7 @@ void parse_file(const char *file) {
string_f(vars, "pkey", nvhttp.pkey);
string_f(vars, "cert", nvhttp.cert);
string_f(vars, "sunshine_name", nvhttp.sunshine_name);
string_f(vars, "unique_id", nvhttp.unique_id);
string_f(vars, "file_devices", nvhttp.file_devices);
string_f(vars, "file_state", nvhttp.file_state);
string_f(vars, "external_ip", nvhttp.external_ip);
string_f(vars, "audio_sink", audio.sink);