mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2025-04-20 02:23:45 +01:00
Compare commits
4 Commits
3c36619173
...
4654d2529f
Author | SHA1 | Date | |
---|---|---|---|
|
4654d2529f | ||
1494208f63 | |||
|
d217630289 | ||
|
5bfe792fa6 |
@ -433,6 +433,19 @@ class ReqClient:
|
|||||||
"""
|
"""
|
||||||
return self.send("GetRecordDirectory")
|
return self.send("GetRecordDirectory")
|
||||||
|
|
||||||
|
def set_record_directory(self, recordDirectory):
|
||||||
|
"""
|
||||||
|
Sets the current directory that the record output writes files to.
|
||||||
|
IMPORTANT NOTE: Requires obs websocket v5.3 or higher.
|
||||||
|
|
||||||
|
:param recordDirectory: Output directory
|
||||||
|
:type recordDirectory: str
|
||||||
|
"""
|
||||||
|
payload = {
|
||||||
|
"recordDirectory": recordDirectory,
|
||||||
|
}
|
||||||
|
return self.send("SetRecordDirectory", payload)
|
||||||
|
|
||||||
def get_source_active(self, name):
|
def get_source_active(self, name):
|
||||||
"""
|
"""
|
||||||
Gets the active and show state of a source
|
Gets the active and show state of a source
|
||||||
|
@ -1 +1 @@
|
|||||||
version = "1.6.1"
|
version = "1.6.2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user