mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-28 13:58:48 +02:00
x-out spotify username and password
This commit is contained in:
parent
baf5a7af3b
commit
a490402721
3 changed files with 42 additions and 2 deletions
|
@ -51,6 +51,11 @@ SpotifyStream::SpotifyStream(PcmListener* pcmListener, const StreamUri& uri) : P
|
|||
params_ += " --onstart \"" + onstart + "\"";
|
||||
if (!onstop.empty())
|
||||
params_ += " --onstop \"" + onstop + "\"";
|
||||
|
||||
if (uri_.query.find("username") != uri_.query.end())
|
||||
uri_.query["username"] = "xxx";
|
||||
if (uri_.query.find("password") != uri_.query.end())
|
||||
uri_.query["password"] = "xxx";
|
||||
// LOG(INFO) << "params: " << params << "\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue