Commit Graph
100 Commits
Author SHA1 Message Date
onyx-and-iris 87eb61170e blacken readme example.
fix bug in main.py
2022-10-19 21:10:59 +01:00
onyx-and-iris 01c99d5b31 init ldirty
patch bump
2022-10-19 14:32:54 +01:00
onyx-and-iris 3144a95e07 minor bump 2022-10-19 14:21:23 +01:00
onyx-and-iris 1833b28c8d Connection section added to README.
CHANGELOG updated to reflect changes.
2022-10-19 14:21:04 +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 197f81aa73 assume vban.toml for observer example
add README to observer example
2022-10-18 15:20:20 +01:00
onyx-and-iris 362873c5be fix vban config name in example readme 2022-10-17 13:15:02 +01:00
onyx-and-iris c86f7971b0 rewording in obs example 2022-10-17 13:14:08 +01:00
onyx-and-iris bac60e5ed3 add vban.toml to gitignore
minor bump
2022-10-07 20:01:55 +01:00
onyx-and-iris 692acc8dd0 assume vban.toml in obs example
update README for obs example
2022-10-07 20:01:29 +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 be69d905c4 minor ver bump 2022-10-06 20:30:14 +01:00
onyx-and-iris 5ceb8f775a config.toml added to gitignore 2022-10-06 20:29:38 +01:00
onyx-and-iris e0f4aab257 obs example added.
README for obs example added
2022-10-06 20:29:03 +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 243a43ac22 patch bump 2022-10-05 22:54:39 +01:00
onyx-and-iris 49354d6d55 lower threshold a level is considered dirty 2022-10-05 22:54:26 +01:00
onyx-and-iris 5c9ac4d78f patch bump 2022-10-04 15:43:56 +01:00
onyx-and-iris 02b21b6989 print bus level values in observer example 2022-10-04 15:43:09 +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 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
onyx-and-iris f2dfe7a474 pre-commit.ps1 for use with git-hook added 2022-06-18 14:00:34 +01:00
onyx-and-iris 473e35359f minor changes
minor changes
2022-06-18 11:12:09 +01:00
onyx-and-iris c3062d9b13 Update pyproject.toml
minor bump
2022-06-17 18:42:27 +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 e28459d50b minor bump 2022-06-16 22:25:04 +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 f3dcc6415b Update README.md
fix configname in readme
2022-06-16 19:24:28 +01:00
onyx-and-iris f21d5853bf update example configs
update example configs
2022-06-16 18:58:18 +01:00
onyx-and-iris f84b831260 Update factory.py
fix bug in factorybuilder
2022-06-16 17:31:32 +01:00
onyx-and-iris 575b681445 Update README.md
add config files section to readme
2022-06-16 16:56:20 +01:00
onyx-and-iris a585285a0f remove extends from configs
remove extends from configs
2022-06-16 16:51:25 +01:00
onyx-and-iris 5703105980 add opts
add opts to example in readme and __main__
2022-06-16 16:45:08 +01:00
onyx-and-iris d4be587e99 Update README.md
remove unsupported params from example
2022-06-16 16:36:05 +01:00
onyx-and-iris a214079373 Update README.md
fix error in readme
2022-06-16 16:35:09 +01:00
onyx-and-iris fe28111690 Update README.md
fix error in readme
2022-06-16 16:32:00 +01:00
onyx-and-iris b076aaa393 Update __main__.py
update example/gui to reflect changes to interface
2022-06-16 16:25:18 +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 933d182f60 added subject module
added ldirty parameter

_updates thread now notifies observers of updates to pdirty, ldirty.

minor version bump
2022-05-14 14:00:08 +01:00
onyx-and-iris 9de4116c1b Merge branch 'dev' of https://github.com/onyx-and-iris/vban-cmd-python into dev 2022-05-04 18:33:27 +01:00
onyx-and-iris b6695fbc4d rename Channel to IChannel to signify it as the common interface.
bus mode mixin now subclasses IChannel

bus mode properties lowercased in array.
2022-05-04 18:33:04 +01:00
onyx-and-iris b3762de5be changelog initial commit
fixes #1
2022-04-30 16:58:34 +01:00
onyx-and-iris 11da78e2e7 remove public_packet setter. should be read only.
version bump to match changelog

some rewording in readme.
2022-04-30 16:57:47 +01:00
onyx-and-iris 51833d68ff fix coverage path 2022-04-30 03:37:58 +01:00
onyx-and-iris e6ba5aefe9 minor version bump, changes to profiles loading 2022-04-29 23:29:14 +01:00
onyx-and-iris 605e1075af Update pre-commit.ps1 2022-04-29 23:08:23 +01:00
onyx-and-iris dd8b48d98a Revert "Update pre-commit.ps1"
This reverts commit 35371c9090.
2022-04-29 23:06:40 +01:00