fix gain setter, add public_packet methods, update readme

fix gain setter for strips.

add accessor methods for public_packet.

update readme
This commit is contained in:
onyx-and-iris
2022-03-02 21:06:39 +00:00
parent b836fa8642
commit ad7cd367cb
4 changed files with 11 additions and 4 deletions

View File

@@ -9,18 +9,19 @@ _kind = 'potato'
opts = {
'ip': 'ws.local',
'streamname': 'testing',
'port': 6980,
'port': 6990,
'bps': 0,
'channel': 3
}
vbanrs = {kind.id: vban_cmd.connect(_kind, **opts) for kind in kinds.all}
tests = vbanrs[_kind]
def setup_package():
tests._modes = Modes()
tests._rt_packet_socket.bind((socket.gethostbyname(socket.gethostname()), tests._port))
tests.worker = Thread(target=tests._send_register_rt, daemon=True)
tests.worker.start()
tests._modes = Modes()
def teardown_package():
tests._rt_packet_socket.close()