mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-28 23:47:05 +02:00
Fix double quotes in Airplay device name
This commit is contained in:
parent
c88b2d170b
commit
e37d81f73c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ AirplayStream::AirplayStream(PcmListener* pcmListener, boost::asio::io_context&
|
||||||
string devicename = uri_.getQuery("devicename", "Snapcast");
|
string devicename = uri_.getQuery("devicename", "Snapcast");
|
||||||
string password = uri_.getQuery("password", "");
|
string password = uri_.getQuery("password", "");
|
||||||
|
|
||||||
params_wo_port_ = "--name=\"" + devicename + "\" --output=stdout --use-stderr --get-coverart";
|
params_wo_port_ = "\"--name=" + devicename + "\" --output=stdout --use-stderr --get-coverart";
|
||||||
if (!password.empty())
|
if (!password.empty())
|
||||||
params_wo_port_ += " --password \"" + password + "\"";
|
params_wo_port_ += " --password \"" + password + "\"";
|
||||||
if (!params_.empty())
|
if (!params_.empty())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue