9e3c1d3f37
raise timeout errors.
...
added some error/exception logging.
added timeout parameter to repr methods.
2023-06-19 17:45:49 +01:00
82b6cdcd04
add error class OBSSDKTimeoutError
2023-06-19 17:44:10 +01:00
Adem
64a7c2b753
update readme and base client
2023-06-14 01:09:44 +03:00
Adem
15559fdb33
updated readme
2023-05-29 10:48:41 +00:00
Adem
3adf094481
Added 'timeout' option for baseclient. bumped version
2023-05-29 10:34:40 +00:00
Adem
9c41f2bb59
Merge pull request #24 from onyx-and-iris/dev
...
check user home directory for config.toml
2023-03-11 22:48:43 +03:00
d1c7462cc6
patch bump
2023-03-09 01:38:53 +00:00
2de7151739
update README
...
advises placing config.toml in user home dir
2023-03-09 01:36:21 +00:00
91ba90056c
adds get_filepath
...
traverses a list of paths for config.toml
2023-03-09 01:34:44 +00:00
Adem
5e68262a80
fix sceneItemIndex key in the payload for set_scene_item_index method
2023-01-08 20:21:12 +03:00
Adem
ef0f770c0c
Merge pull request #20 from onyx-and-iris/dev
...
add conn info to __repr__ methods, lower required python ver to 3.9 + other small changes
2022-12-05 22:17:03 +03:00
48e90c82fb
alter format of __repr__ in Req + Event clients
...
password now defaults to empty string, not None.
2022-12-05 18:18:10 +00:00
cc9b1e2c72
lower min python required version to 3.9
...
python ver test matrix added to hatch config
minor version bump
2022-12-05 16:49:17 +00:00
41b0dfbe4b
ensure studio mode is disabled at end of test run
2022-12-05 16:43:07 +00:00
cf888b0c4a
conn paramters added to __repr__ magic methods
...
add __str__ override (used in logger)
2022-12-05 16:41:34 +00:00
92e2c29bd6
enum.py renamed to subs.py.
...
No changes to file contents.
relative import changed in __init__.py
2022-12-05 16:39:33 +00:00
335fa42948
Merge pull request #17 from kamalmostafa/no-tomllib
...
allow use without installing tomllib
2022-12-04 19:37:25 +00:00
83afe31e04
Update baseclient.py
...
lazy load tomli/tomllib as suggested in #17
2022-12-04 19:34:55 +00:00
5294e1afe2
Merge pull request #18 from kamalmostafa/send-raw
...
send(..., raw=True) returns raw responseData
2022-12-04 18:07:08 +00:00
c6cbe1c894
Merge pull request #19 from kamalmostafa/fix-SendStreamCaption
...
SendStreamCaption requires payload "captionText"
2022-12-04 18:06:42 +00:00
Kamal Mostafa
13ef8108df
SendStreamCaption requires payload "captionText"
2022-11-30 06:47:15 +00:00
Kamal Mostafa
3786739eee
send(..., raw=True) returns raw responseData
...
Passing raw=True returns unprocessed responseData payload, allowing
for application-level handling of websocket commands unimplemented
by the library or for testing.
2022-11-30 06:46:16 +00:00
Kamal Mostafa
71c1e65483
allow use without installing tomllib
...
When ObsClient(host='...', port='...', password='...') are provided,
importing tomllib is not actually necessary. Allow for tomllib to
not be installed at all, and only raise a tomllib ModuleNotFoundError
if (host, port, password) are not provided.
2022-11-30 06:09:19 +00:00
Adem
ce6873f57a
Merge pull request #16 from onyx-and-iris/dev
...
add values to defaultkwargs, fix event names in readme + other minor additions
2022-11-20 21:15:12 +03:00
0e39496c59
pass payload for call_vendor_request
...
add alias methods for hotkey requests ? perhaps this is not required...
2022-11-18 15:09:57 +00:00
42f78a2048
sort imports
2022-11-17 17:59:20 +00:00
f6f542e765
no need to merge here.
2022-11-17 12:11:53 +00:00
8d2b5f3447
Merge branch 'dev' of https://github.com/onyx-and-iris/obsws-python into dev
2022-11-17 11:32:26 +00:00
da6d83057c
minor bump
2022-11-17 11:32:14 +00:00
aaa881ee3b
add defaultkwarg section to readme.
...
fix callback function names in readme.
add logging section to readme
2022-11-17 11:32:03 +00:00
9fa5b3f4b4
add values to defautlkwargs.
...
if no conn kwargs then check and merge config.toml
raise error if auth enabled but no password
add full request payload to logger
2022-11-17 11:30:39 +00:00
Adem
7fc07efb02
Merge pull request #14 from onyx-and-iris/dev
2022-10-28 19:35:56 +03:00
onyx-and-iris
c4ee2347ba
add version.py
...
add pyproject.toml
add .hatch to gitignore
2022-10-28 16:57:06 +01:00
Adem
67fe16e97f
Merge pull request #12 from onyx-and-iris/dev
2022-10-26 15:08:54 +03:00
onyx-and-iris
9551173590
fix docstring, add docstring.
2022-10-26 12:13:32 +01:00
onyx-and-iris
41d7de2cb1
fix error in readme
2022-10-26 11:55:39 +01:00
onyx-and-iris
4a94af4517
minor version bump
2022-10-26 11:37:31 +01:00
onyx-and-iris
ddee4f7e3e
add setup.py to hotkeys example
2022-10-26 11:35:16 +01:00
onyx-and-iris
592be28469
README added for levels example
2022-10-26 11:19:18 +01:00
onyx-and-iris
a7d53dce74
levels example added
2022-10-26 11:08:53 +01:00
onyx-and-iris
d4ae72dee5
Subs moved into enum.py
...
Subs now exported
2022-10-26 11:08:24 +01:00
Adem
f239173edb
Merge pull request #11 from onyx-and-iris/dev
...
check if auth required, context manager for reqclient + logging
2022-10-26 12:39:11 +03:00
onyx-and-iris
5e7860d3ed
override repr
2022-10-25 05:28:50 +01:00
onyx-and-iris
c3ebc5e777
typo fix
2022-10-24 22:49:16 +01:00
onyx-and-iris
60d083b238
change debug msg
2022-10-24 22:48:41 +01:00
onyx-and-iris
b8b446f9bf
use context manager in scene_rotate
...
other refactors
2022-10-24 22:42:46 +01:00
onyx-and-iris
27fd86efa5
only check for host+port values in init.
...
only pass auth token if auth enabled
add context manager methods to reqclient.
added logging
2022-10-24 22:42:16 +01:00
Adem
69b0d4137a
Merge pull request #10 from onyx-and-iris/main
...
pass empty dict if data is None in trigger()
2022-09-26 22:55:19 +03:00
onyx-and-iris
1db3b2db4d
pass empty dict if data is None in trigger()
...
fixes bug with ExitStarted event.
remove redundant assignment in conn_from_toml
add explicit call to ws.close() in unsubscribe()
patch bump
2022-09-26 10:58:02 +01:00
Adem
c2b6757796
Merge pull request #9 from onyx-and-iris/main
...
added some missing return statements where reponse fields expected.
2022-09-13 02:21:53 +03:00