Commit Graph

91 Commits

Author SHA1 Message Date
cbcca14481 rename until_stopped() to wait_until_stopped() 2023-08-05 13:36:36 +01:00
72d182a488 use Threading.Event object to terminate threads
until_stopped() added to Subscriber thread
2023-08-04 23:13:58 +01:00
ee32f92914 add missing constants
add docstrings that describes data breakdown

move SubscribeHeader above  VbanRtPacketHeader

expand assert failure string
2023-08-04 23:06:51 +01:00
47e9203b1e use walrus 2023-08-04 16:21:57 +01:00
d48e7ecd79 Correct type annotations None type. 2023-08-02 17:19:08 +01:00
7e09a0d321 VBANCMDConnectionError now subclasses VBANCMDError 2023-08-02 15:45:25 +01:00
d41ee1a12a remove redundant __str__ overrides 2023-07-26 11:32:20 +01:00
9bf52b5c11 num_strip_levels, num_bus_levels added to KindMaps 2023-07-25 16:22:47 +01:00
dab519be9f implement midi, text vban streams
kindmaps updated

factory tests updated.

closes #2
2023-07-12 10:24:03 +01:00
a4b91bf5c6 deep_merge implemented
recursively merges dicts in profiles

patch bump
2023-07-12 04:52:50 +01:00
2a98707bf8 Adds ability to extend one config with another
apply_config() checks for 'extends' in TOML config

2.3.0 section added to CHANGELOG

three example extender.toml configs added

minor version bump
2023-07-11 20:27:52 +01:00
04e18b304b log params on successful connection
raise VBANCMDError if invalid config key in apply_config()
2023-07-08 17:25:38 +01:00
4de384c66c repr method added to factory base 2023-07-08 07:59:51 +01:00
2c8659a4e5 apply extended to support button, vban 2023-07-08 07:59:35 +01:00
41e427e46b button and vban classes added
button is a placeholder class, though.
2023-07-08 07:34:30 +01:00
1ad0347478 fixes bug with apply() if called from higher class 2023-07-05 19:20:57 +01:00
2c8e4cc87c rename sendtext_only to outbound
to more accurately describe its purpose.
2023-07-05 14:08:27 +01:00
544e0f2a32 sendtext_only kwarg added.
readme, changelog updated.

minor version bump
2023-07-05 02:55:42 +01:00
0970bfe0b5 revert move data slices
strip_leves, bus_levels properties added to VbanRtPacket
2023-06-25 16:15:32 +01:00
05cbc432b2 Strip.{comp,gate} setters added. 2023-06-25 13:59:08 +01:00
174d95d08d _conn_from_toml filepaths added. 2023-06-25 13:58:19 +01:00
fc324fecc4 run through black 2023-06-25 13:57:24 +01:00
449cb9b3c1 pdirty false by default 2023-06-25 13:53:23 +01:00
cdccc603d1 _cmd() helper method added
apply() extended to handle nested dicts

module level logger added
2023-06-25 13:52:39 +01:00
a8bb9711af added module level logger 2023-06-25 13:51:47 +01:00
5bb0c2731e run through black 2023-06-25 13:51:30 +01:00
372dba0b6b raise VBANCMDError on invalid kind 2023-06-25 13:50:21 +01:00
226fc5ead7 timeout kwarg added.
lets a user decide how long to wait for subscription response

pdirty now defaults to False
2023-06-25 12:21:02 +01:00
9196a4e267 subject class extended to support callbacks 2023-06-25 03:41:10 +01:00
8485992495 use name property, clears deprecation warning 2023-06-25 03:40:36 +01:00
91e49cbb55 tomllib/tomli now lazy loaded.
`Path.home() / "vban.toml" added to filepaths

`Path.home() / ".config" / "vban-cmd" / "vban.toml"` added to filepaths

VBANCMDError raised if ip not given and toml not located
2023-06-25 03:40:14 +01:00
3c85903554 renaem action_prop to action_fn 2023-06-25 02:38:59 +01:00
a730edc2c2 connection errors now raise VBANCMDConnectionError
Producer thread added, sends job queue to Updater

data slices moved back into dataclass
2023-06-25 02:37:45 +01:00
90acafe95b VBANCMDConnectionError added 2023-06-25 02:06:02 +01:00
5f4fdcb0eb StripComp, StripGate, StripDenoiser, StripDevice
added to PhysicalStrip
2023-06-25 01:48:07 +01:00
d5219d66f7 BusEQ added to Bus class 2023-06-25 01:47:05 +01:00
c74d827154 update strip.{comp,gate,eq} and bus.eq
add gain=0.0 to bus params.

`Path.home() / ".config" / "vban-cmd" / kind.name` added to loader
2023-06-25 01:43:26 +01:00
onyx-and-iris
01c99d5b31 init ldirty
patch bump
2022-10-19 14:32:54 +01:00
onyx-and-iris
ee3a871d23 add a delimiter end of request string in _set_rt
fixes bug if more than a single command in request packet.

removed [{self.index}] from apply string. (duplicates)
2022-10-19 14:20:23 +01:00
onyx-and-iris
d57269f147 add ability to read conn info from toml 2022-10-07 20:00:56 +01:00
onyx-and-iris
4ee37f54c5 fadto() fadeby() methods added to strip/bus classes
appgain(), appmute() methods added to virtualstrip class
2022-10-06 20:28:26 +01:00
onyx-and-iris
550df917fb add, remove now accept iterables
update README

patch bump
2022-10-06 18:07:41 +01:00
onyx-and-iris
2f82e0b1fc fix str format 2022-10-06 16:50:03 +01:00
onyx-and-iris
0c60fe3d5e add property setters in event class
use event property setters in examples

update README

patch bump
2022-10-06 16:45:15 +01:00
onyx-and-iris
49354d6d55 lower threshold a level is considered dirty 2022-10-05 22:54:26 +01:00
onyx-and-iris
4659cf7cdb util:
in comp, consider level value clean if below -60.0

vbancmd:
pass tuple expansion into string format in version method.
ldirty and _get_levels logic now moved into rt packet class
2022-10-04 15:42:36 +01:00
onyx-and-iris
8663aab2ce add fget() to level getters in strip, bus 2022-10-04 15:40:32 +01:00
onyx-and-iris
a029011012 vbanrtpacket refactored
_generate_levels method added
ldirty method added.

moved initialize strip_level, bus_level cache into updater init()
initialize comps in updater init()
2022-10-04 15:39:56 +01:00
onyx-and-iris
bfa1a718f9 user logger in apply_config
patch bump
2022-09-29 12:34:02 +01:00
onyx-and-iris
2048a807d1 move event info logging from Updater into VbanCmd
odd logout logging

patch bump
2022-09-29 11:48:30 +01:00