mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 02:07:55 +02:00
Fix hard coded id
This commit is contained in:
parent
5a3559e8e4
commit
9bbba976f9
1 changed files with 2 additions and 2 deletions
|
@ -450,14 +450,14 @@ class SnapcastWrapper(object):
|
|||
|
||||
def control(self, command, params={}):
|
||||
self.send_request("Stream.Control", {
|
||||
"id": "Pipe", "command": command, "params": params})
|
||||
"id": self._stream_id, "command": command, "params": params})
|
||||
|
||||
def set_property(self, property, value):
|
||||
properties = {}
|
||||
properties[property] = value
|
||||
logger.info(f'set_properties {properties}')
|
||||
self.send_request("Stream.SetProperties", {
|
||||
"id": "Pipe", "properties": properties})
|
||||
"id": self._stream_id, "properties": properties})
|
||||
|
||||
@property
|
||||
def metadata(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue