Commit Graph

227 Commits

Author SHA1 Message Date
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
566bff3ced move vbancmd class section in readme 2022-09-28 20:01:17 +01:00
onyx-and-iris
70dbee6f02 update changelog to refect changes 2022-09-28 18:31:35 +01:00
onyx-and-iris
c14196fc31 minor version bump 2022-09-28 18:20:25 +01:00
onyx-and-iris
c28398c5f6 vban.subject subsection added to README under Events 2022-09-28 18:15:08 +01:00
onyx-and-iris
5177c2d297 fix erroneous call to self.vm
logging level INFO added
2022-09-28 18:14:06 +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
f46abedf12 fix name of base error class in readme
patch bump
2022-09-24 07:49:17 +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
14e538dca6 patch bump 2022-09-03 20:43:47 +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
3e7bd14ba3 update tested against versions 2022-08-08 17:09:51 +01:00
onyx-and-iris
5b86a2b7b2 keep variable names consistent in readme 2022-08-08 14:26:57 +01:00
onyx-and-iris
8b393acc50 reword in readme 2022-08-08 14:25:20 +01:00
onyx-and-iris
6a9508c719 rewording in readme 2022-08-08 14:24:02 +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
3ecb3a0f68 fix minor errors in readme 2022-08-06 10:51:35 +01:00
onyx-and-iris
11264b95ec add pypi badge to readme 2022-08-06 09:03:43 +01:00
onyx-and-iris
c00f2f1b40 mdirty, midi removed from events.
patch bump
2022-08-02 09:56:59 +01:00
onyx-and-iris
31a7813cf8 changelog updated to reflect recent changes.
minor version bump.
2022-08-02 09:33:04 +01:00
onyx-and-iris
42ff902698 vban_cmd.api section added to readme.
Event updates section added to readme.

Brief explanation regarding registering and toggling event subscriptions
2022-08-02 09:32:23 +01:00
onyx-and-iris
b3267c1cbf observer example updated.
some docstrings added
2022-08-02 09:31:41 +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
2ba42279cf dependencies updated.
pytest-repeat added to dev dependencies.

strip/bus sections separated in readme.
changelog, readme updated to reflect changes.

minor version bump
2022-07-16 21:56:20 +01:00
onyx-and-iris
34aeba97b2 all 3 test badges updated 2022-07-16 21:55:11 +01:00
onyx-and-iris
08eff6da91 now calling command.reset() before each test run
factory unit tests added

--run-slow flag added to pre-commit. (ensure all tests are run)
2022-07-16 21:54:41 +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
845ef2441e remove gui from example (will readd later)
add observer to example
2022-07-09 12:24:19 +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
a47a29d9f7 upd banana.svg 2022-07-04 16:22:53 +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
36b1ac1952 upd test badge 2022-06-20 00:02:01 +01:00
onyx-and-iris
ee10060724 changes to observers thread.
minor version bump
2022-06-20 00:01:30 +01:00
onyx-and-iris
5996385e5b update test badge 2022-06-18 14:09:05 +01:00
onyx-and-iris
e85013730d update readme 2022-06-18 14:07:50 +01:00