mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
report stream state
This commit is contained in:
parent
cd2daa2cf9
commit
94629f9909
9 changed files with 79 additions and 12 deletions
|
@ -108,14 +108,14 @@ ReaderUri::ReaderUri(const std::string& readerUri)
|
|||
|
||||
json ReaderUri::toJson() const
|
||||
{
|
||||
json j;
|
||||
j["uri"] = uri;
|
||||
j["scheme"] = scheme;
|
||||
j["host"] = host;
|
||||
j["path"] = path;
|
||||
j["fragment"] = fragment;
|
||||
j["query"] = json(query);
|
||||
j["id"] = id_;
|
||||
json j = {
|
||||
{"raw", uri},
|
||||
{"scheme", scheme},
|
||||
{"host", host},
|
||||
{"path", path},
|
||||
{"fragment", fragment},
|
||||
{"query", query}
|
||||
};
|
||||
return j;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue