40 Commits

Author SHA1 Message Date
c02ffac403 replace terminaltables with rich tables.
allow rich to handle all console output.

util.check_mark is now used to pass back colourless check/cross marks if NO_COLOR is set or --style/SLOBS_STYLE was not set.
2025-06-22 02:52:27 +01:00
6bcdd8391c add --style and --no-border flags to root command 2025-06-22 02:39:28 +01:00
b0d311dad9 define styles 2025-06-22 02:38:56 +01:00
46159a0ca4 add missing for-else comment 2025-06-15 08:40:36 +01:00
23d3118e6a keep names consistent 2025-06-13 14:30:50 +01:00
129c3f57f2 minor bump 2025-06-13 14:14:16 +01:00
09a44b2dea add SlobsCliProtocolError for wrapping ProtocolError
handle ProtocolError(s) and reraise as SlobsCliProtocolError. This has the following benefits:
A user friendly error message
A non-zero exit code
2025-06-13 14:10:54 +01:00
f4421b3351 call next(iter()) on excgroup.exceptions to convery intent a little better
(we dont intend to iterate through them, we just want to raise the first one)
2025-06-13 14:04:05 +01:00
81d0072148 revert default to localhost.
the slow resolution was due to Docker desktop...

patch bump
2025-06-13 04:34:15 +01:00
f3c94d1dee add comments to for-else blocks 2025-06-13 00:52:27 +01:00
bc43c8483a add audio unit tests
add audio status command

patch bump
2025-06-12 23:47:07 +01:00
57e31a7e49 arguments appear to be required by default. 2025-06-12 23:25:07 +01:00
03f1dac8ea rename leftmost column heading for audio list
patch bump
2025-06-12 22:17:48 +01:00
6e95e4d670 add scenecollection command group
minor bump
2025-06-12 22:13:46 +01:00
582587bed5 add ruff config
run files through formatter

add dosctrings to satisfy the linter
2025-06-12 20:34:14 +01:00
fecd13d345 patch bump 2025-06-12 18:50:43 +01:00
a1a22d0d00 scene list and audio list now print tables
patch bump
2025-06-12 18:49:54 +01:00
2a18b94b11 add 0.8.3 to CHANGELOG
pumb pyslobs dep

patch bump
2025-06-12 13:47:18 +01:00
80da58bd6f add --id option, this allows a user to optionally show the source ids 2025-06-12 13:45:38 +01:00
0c5bbc114f fix regression
patch bump
2025-06-12 05:42:30 +01:00
564f4116d1 remove exception handling, we no longer raise exception on empty sources list.
split long line

patch bump
2025-06-12 05:34:36 +01:00
48201e4bbb add 0.8.0 to CHANGELOG 2025-06-12 05:29:48 +01:00
d33c209d7c add custom error class SlobsCliError
add exception group handling for all commands that may raise exceptions

add comments to for-else blocks
2025-06-12 05:28:54 +01:00
51923dc8a8 ensure tox tests run setup/teardown scripts
bump min python version to 3.11 (because of ExceptionGroup in tests)

patch bump
2025-06-11 16:37:02 +01:00
37364e7243 rename model variables
patch bump
2025-06-11 16:34:36 +01:00
e7a561c7b4 add --version/-v flag 2025-06-11 02:09:32 +01:00
e4353d7626 token is now required
patch bump
2025-06-10 22:53:14 +01:00
fee2d12e17 localhost is slow? Unsure why this matters but it seems to.
lower min python version

add tox configuration
2025-06-10 21:51:05 +01:00
6a2464f10b add short configuration options 2025-06-10 19:42:11 +01:00
020f376010 add studiomode force-transition command
patch bump
2025-06-10 19:10:07 +01:00
560b88e949 add --preview option to scene switch command
patch bump
2025-06-10 19:09:11 +01:00
14f89dd636 add studiomode command group
minor bump
2025-06-10 17:54:37 +01:00
c8eb27d188 print separate active/inactive messages
patch bump
2025-06-10 17:00:26 +01:00
7a88b2b6ed add replaybuffer subcommand group
minor bump
2025-06-10 14:09:36 +01:00
4fc3dc015a add audio subcommand group
minor bump
2025-06-10 14:03:26 +01:00
dcd34b0213 implement record command group
minor bump
2025-06-10 13:26:53 +01:00
7227183073 read conn from closure 2025-06-10 13:26:20 +01:00
ad6c0bb042 implement stream command group
minor bump
2025-06-10 12:51:52 +01:00
f35a1594c6 implement scene command group
minor bump
2025-06-10 12:51:36 +01:00
3242a866e3 implement slobs connection flags/envvars
add slobs connection to context

patch bump
2025-06-10 12:51:04 +01:00