mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
add unique id
Zeroconf TXT record is missing
This commit is contained in:
@@ -181,6 +181,9 @@ public:
|
||||
|
||||
QJsonObject getConfig() { return _qjsonConfig; };
|
||||
|
||||
/// unique id per instance
|
||||
QString id;
|
||||
|
||||
int getLatchTime() const;
|
||||
|
||||
public slots:
|
||||
|
@@ -8,17 +8,19 @@
|
||||
|
||||
// hyperion includes
|
||||
#include <utils/Logger.h>
|
||||
#include <hyperion/Hyperion.h>
|
||||
|
||||
class Stats : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Stats();
|
||||
Stats();
|
||||
~Stats();
|
||||
|
||||
private:
|
||||
Logger* _log;
|
||||
Hyperion* _hyperion;
|
||||
QString _hash = "";
|
||||
QByteArray _ba;
|
||||
QNetworkRequest _req;
|
||||
@@ -27,6 +29,7 @@ private:
|
||||
bool trigger(bool set = false);
|
||||
|
||||
private slots:
|
||||
void initialExec();
|
||||
void sendHTTP();
|
||||
void sendHTTPp();
|
||||
void resolveReply(QNetworkReply *reply);
|
||||
|
Reference in New Issue
Block a user