mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 00:26:41 +02:00
Add ¶ms= option to librespot to support other librespot parameters.
This commit is contained in:
parent
469bfeb1f8
commit
57c0c5262a
2 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,7 @@ LibrespotStream::LibrespotStream(PcmListener* pcmListener, boost::asio::io_conte
|
|||
if (username.empty() != password.empty())
|
||||
throw SnapException("missing parameter \"username\" or \"password\" (must provide both, or neither)");
|
||||
|
||||
params_ = "--name \"" + devicename + "\"";
|
||||
params_ += "--name \"" + devicename + "\"";
|
||||
if (!username.empty() && !password.empty())
|
||||
params_ += " --username \"" + username + "\" --password \"" + password + "\"";
|
||||
params_ += " --bitrate " + bitrate + " --backend pipe";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue