mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 15:06:21 +02:00
Add support for controlscriptparams
This commit is contained in:
parent
b71e303083
commit
60dc1aa48a
8 changed files with 24 additions and 10 deletions
|
@ -87,7 +87,7 @@ private:
|
|||
class ScriptStreamControl : public StreamControl
|
||||
{
|
||||
public:
|
||||
ScriptStreamControl(const boost::asio::any_io_executor& executor, const std::string& script);
|
||||
ScriptStreamControl(const boost::asio::any_io_executor& executor, const std::string& script, const std::string& params);
|
||||
virtual ~ScriptStreamControl() = default;
|
||||
|
||||
void stop() override;
|
||||
|
@ -109,6 +109,7 @@ protected:
|
|||
boost::asio::streambuf streambuf_stderr_;
|
||||
|
||||
std::string script_;
|
||||
std::string params_;
|
||||
bp::opstream in_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue