mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-19 17:37:45 +02:00
stream id can be configured explicitly
This commit is contained in:
parent
35e4cdb05d
commit
1b2163942d
1 changed files with 7 additions and 1 deletions
|
@ -87,7 +87,13 @@ ReaderUri::ReaderUri(const std::string& uri)
|
|||
{
|
||||
pos = kv.find('=');
|
||||
if (pos != string::npos)
|
||||
query[kv.substr(0, pos)] = kv.substr(pos+1);
|
||||
{
|
||||
string key = trim_copy(kv.substr(0, pos));
|
||||
string value = trim_copy(kv.substr(pos+1));
|
||||
query[key] = value;
|
||||
if (key == "id")
|
||||
id_ = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue