Commit Graph

25 Commits

Author SHA1 Message Date
797161a6f2 import Callable, Iterable from collections.abs instead of typing.
update tests to reflect changes in the API.

reorganise hatch envs

add black,isort configs to pyproject.toml

add pre-commit config
2025-02-11 09:51:00 +00:00
Zynthasius39
197a60a7cd Fix trigger_hot_key_by_key_sequence() method 2025-02-08 18:31:12 +04:00
Zynthasius39
633093ead4 Fix trigger_hot_key_by_name() method 2025-02-08 17:59:45 +04:00
f1c2efa4a1 adds disconnect() method to ReqClient
now calling disconnect() in __exit__()
2024-01-05 09:36:02 +00:00
Adem
d217630289
Merge pull request #37 from aatikturk/implement_v5.3_methods
Update reqs.py

implemented  set_record_directory method. (only availabe for obs websocket v5.3 or higher)
2023-10-23 14:00:08 +03:00
Adem
5bfe792fa6
Update reqs.py
added set_record_directory  method to ReqClient.
2023-10-23 09:29:16 +03:00
c4cf817042 split at full stop 2023-10-09 22:34:05 +01:00
83577e2d61 adds projector methods with a deprecation warning
patch bump

closes #35
2023-10-09 22:06:18 +01:00
ffd215aadf send now raises an OBSSDKRequestError
it is then logged and rethrown
2023-08-11 22:33:41 +01:00
5462c47b65 log errors raised in authenticate() 2023-06-28 17:56:56 +01:00
Adem
468c63f697 auth logger for clients
added RpcVersion in auth loggers for both requests and events clients.
removed the check in baseclient auth function and returned the whole response.
2023-06-23 01:48:45 +03:00
2c07f242ad added module level loggers.
class loggers implemented as child loggers.

patch bump
2023-06-22 22:17:20 +01:00
9e3c1d3f37 raise timeout errors.
added some error/exception logging.

added timeout parameter to repr methods.
2023-06-19 17:45:49 +01:00
Adem
5e68262a80 fix sceneItemIndex key in the payload for set_scene_item_index method 2023-01-08 20:21:12 +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
cf888b0c4a conn paramters added to __repr__ magic methods
add __str__ override (used in logger)
2022-12-05 16:41:34 +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
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
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
onyx-and-iris
5e7860d3ed override repr 2022-10-25 05:28:50 +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
onyx-and-iris
90ad4ac962 added some missing return statements where reponse fields expected.
added output methods to ReqClient.

bump tomli dependency ver

minor bump.
2022-09-12 23:52:50 +01:00
onyx-and-iris
9dbc5766c8 return response field for stop_record
patch bump
2022-09-12 01:24:40 +01:00
aatikturk
6311234d48 namechange ops 2022-09-04 14:20:40 +03:00