Commit Graph

99 Commits

Author SHA1 Message Date
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
onyx-and-iris
23bc15e437 logging module now used to log interface events.
register, deregister method aliases added to Subject class.
2022-09-28 18:13:07 +01:00
onyx-and-iris
db96872965 changes to level/gain properties in VbanRtPacket
level getters in strip, bus fetch from public packet if not in cache
2022-09-28 18:07:10 +01:00
onyx-and-iris
1169435104 base renamed to vbancmd
misc renamed to event

info message fixed if no events subbed to

now using logging module in Event class
2022-09-28 18:03:22 +01:00
onyx-and-iris
733fab45b4 raise VBANCMD error on connection failure.
leave teardown procedures to consumer library. (or context manager)
2022-09-24 07:45:28 +01:00
onyx-and-iris
444f95a9d6 add timeout to response socket in updater
patch bump
2022-09-23 20:03:16 +01:00
onyx-and-iris
af5e81c339 remove debug print 2022-09-03 20:41:26 +01:00
onyx-and-iris
aadfbd3925 fix regression causing pdirty update to fail.
patch bump
2022-09-03 20:35:37 +01:00
onyx-and-iris
4ef3d1f225 tomli/tomllib compatibility layer added.
Type annotation Self removed.

python version requirement changed.

tomli added as runtime dependency if py ver < 3.11

minor version bump.
2022-09-03 16:47:38 +01:00
onyx-and-iris
aea2be624e clean up class names in packet module.
add __init__ to vbanrtpacket class.

patch bump
2022-08-10 17:49:21 +01:00
onyx-and-iris
cb9afc62d1 worker thread logic moved into worker module.
Socket intenum moved into util
2022-08-08 13:43:19 +01:00
onyx-and-iris
c00f2f1b40 mdirty, midi removed from events.
patch bump
2022-08-02 09:56:59 +01:00
onyx-and-iris
d12f988c7d isdirty now aliases is_updated in strip/bus level classes 2022-08-02 09:31:08 +01:00
onyx-and-iris
6971feb398 defaultkwarg subs added.
misc module added with Event class.

base class observable thread now checks for currently registered events.
2022-08-02 09:28:32 +01:00
onyx-and-iris
1f522b997e reset() added to command.
minor delay added to login (give time for first incoming packet).
2022-07-16 21:52:41 +01:00
onyx-and-iris
a86a25ca8f BusModes IntEnum added to bus
get() added to bus mode mixin, returns the current bus mode.

added support for setting bus mode by dict
fixed bug in apply where bool parameters weren't being applied.

bus modes added to all 3 example configs.

test_config added to unit tests.
2022-07-16 21:50:50 +01:00
onyx-and-iris
a1d6cf1042 levels reworked
comp generator function added to util.

patch  bump
2022-07-09 12:26:53 +01:00
onyx-and-iris
079bf177a1 move check ldirty before updating public packet.
patch bump
2022-07-07 01:45:06 +01:00
onyx-and-iris
444d26a869 fix bug causing delay in updates
patch bump
2022-07-07 00:48:15 +01:00
onyx-and-iris
86b7fb5d32 inputlevels, ouputlevels now return generators
'strip_level', 'bus_level' added to cache.

defautl ratelimit set to 0.01
ratelimit adjusted to wait by ratelimit - elapsed time.

is_updated now returns a bool

minor ver bump
2022-07-06 13:40:46 +01:00
onyx-and-iris
3711524f88 remove type check, prefer duck typing 2022-07-04 16:22:25 +01:00
onyx-and-iris
4751a18700 remove type checks, prefer duck typing. 2022-07-04 16:06:04 +01:00
onyx-and-iris
ee10060724 changes to observers thread.
minor version bump
2022-06-20 00:01:30 +01:00
onyx-and-iris
473e35359f minor changes
minor changes
2022-06-18 11:12:09 +01:00
onyx-and-iris
2f9fee948a fix docstring
fix docstring
2022-06-17 17:52:09 +01:00
onyx-and-iris
d849ed3a15 Update base.py
fix print message bug
2022-06-17 09:55:41 +01:00
onyx-and-iris
b4f1b8b93f Update base.py
fix bug setting dirty parameters
2022-06-16 22:20:37 +01:00
onyx-and-iris
f84b831260 Update factory.py
fix bug in factorybuilder
2022-06-16 17:31:32 +01:00
onyx-and-iris
b9db01c8f4 major version bump due to dependency change.
now packaged with poetry.
added to pypi.

major version bump due to dependency change.

interface reworked to match the remote-api interface.

readme updated with changes to installation

pre-commit hook temporarily removed
2022-06-16 16:10:06 +01:00
onyx-and-iris
8f95942fbd rename directory
rename directory
2022-03-04 14:21:56 +00:00
onyx-and-iris
ff412ca6ca add sendtext(), update readme
add sendtext function for multi-parameter strings. Also gives option for settable delay.
2022-03-03 11:34:45 +00:00
onyx-and-iris
ad7cd367cb fix gain setter, add public_packet methods, update readme
fix gain setter for strips.

add accessor methods for public_packet.

update readme
2022-03-02 21:06:39 +00:00
onyx-and-iris
b836fa8642 add strip gain
remove redundant timeout variable from  VBAN_VMRT_Packet_Header

add strip gain property
2022-03-02 12:32:37 +00:00
onyx-and-iris
83429e17ad edits to tests
add more tests to higher.

added opts to tests.

removed delay, max_polls from runmany, not required for these tests.
2022-02-28 18:14:31 +00:00
onyx-and-iris
314ecbe6da add test conn, add settable attr to
add test connection into enter dunder TextRequestHeader dataclass

name, bitrate and channel for outgoing string requests are now settable.
2022-02-28 15:41:59 +00:00
onyx-and-iris
44a66466c2 add gain,levels
implement gain, levels for strip/bus classes.

add to readme
2022-02-28 14:03:51 +00:00
onyx-and-iris
0f18116cd1 add gainlayers, levels, public_packet property object
add gainlayers, levels

_get_rt now private method.

public_packet now property object
2022-02-26 23:57:19 +00:00
onyx-and-iris
416550fa95 add self.buff, runmany
add self.buff and test for equality against private packet before returning as public packet.

add runmany
2022-02-26 03:07:29 +00:00
onyx-and-iris
6432eae3b4 add levels
add levels to strip and bus class.

strip level values defined as: pre fader input peak level in dB * 100
bus level values defined as: bus output peak level in dB * 100
2022-02-25 18:06:24 +00:00
onyx-and-iris
364e456c94 add some tests, commands and bus class
added a couple of lower tests.

add some string tests to higher tests.

added bus class

add higher commands show, hide, shutdown, restart, version and type
2022-02-25 17:02:27 +00:00
onyx-and-iris
6e40ceb346 add some higher tests
add first tests
2022-02-25 15:17:05 +00:00
onyx-and-iris
838e3c4999 initial commit
initial commit
2022-02-25 14:37:23 +00:00