From 588dc111028e46054df7c39edd094323d4f9970e Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Tue, 11 Jul 2023 21:05:17 +0100 Subject: [PATCH] load 'streaming_extender' profile on startup add vban-in params to streaming.toml --- .gitignore | 4 ++-- __main__.py | 4 ++-- configs/potato/streaming.toml | 24 ++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 49d1e87..72fcd84 100644 --- a/.gitignore +++ b/.gitignore @@ -161,8 +161,8 @@ cython_debug/ #.idea/ # configs -configs/* -!configs/potato +duckypad.toml +streaming_extender.toml # test quick.py diff --git a/__main__.py b/__main__.py index 77ffbec..c50746f 100644 --- a/__main__.py +++ b/__main__.py @@ -52,8 +52,8 @@ def register_hotkeys(duckypad): steps = ( audio_hotkeys, scene_hotkeys, - streamlabs_controller_hotkeys, obsws_hotkeys, + streamlabs_controller_hotkeys, duckypad_hotkeys, ) [step() for step in steps] @@ -65,7 +65,7 @@ def main(): with voicemeeterlib.api("potato") as vm: with xair_api.connect("MR18", **xair_config) as mixer: with duckypad_twitch.connect(vm=vm, mixer=mixer) as duckypad: - vm.apply_config("streaming") + vm.apply_config("streaming_extender") # extends the streaming config register_hotkeys(duckypad) diff --git a/configs/potato/streaming.toml b/configs/potato/streaming.toml index dc128f3..f2ad050 100644 --- a/configs/potato/streaming.toml +++ b/configs/potato/streaming.toml @@ -210,6 +210,30 @@ stateonly = false [button-2] stateonly = true +[vban-in-0] +on = false + +[vban-in-1] +on = false + +[vban-in-2] +on = false + +[vban-in-3] +on = false + +[vban-in-4] +on = false + +[vban-in-5] +on = false + +[vban-in-6] +on = false + +[vban-in-7] +on = true + [vban-out-0] on = false