mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-15 17:40:52 +00:00
use {Bus}.mode.get() to fetch current bus mode
vban-cmd dep bump patch bump
This commit is contained in:
parent
6fa9bf7131
commit
198c08003e
10
poetry.lock
generated
10
poetry.lock
generated
@ -280,13 +280,13 @@ files = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vban-cmd"
|
name = "vban-cmd"
|
||||||
version = "2.4.11"
|
version = "2.4.12"
|
||||||
description = "Python interface for the VBAN RT Packet Service (Sendtext)"
|
description = "Python interface for the VBAN RT Packet Service (Sendtext)"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.10,<4.0"
|
python-versions = "<4.0,>=3.10"
|
||||||
files = [
|
files = [
|
||||||
{file = "vban_cmd-2.4.11-py3-none-any.whl", hash = "sha256:a74b7631222f340488f5d45bc9aa9d4e7a0f919687c9715619e8809c684875b7"},
|
{file = "vban_cmd-2.4.12-py3-none-any.whl", hash = "sha256:418f97a22b474f97e985149eedcd66756e2a192c92225cdf5c37640f235e46e8"},
|
||||||
{file = "vban_cmd-2.4.11.tar.gz", hash = "sha256:250ca8043f075eee11d2a811142d0205900d14d7e2f0cd98eb597901ead738f5"},
|
{file = "vban_cmd-2.4.12.tar.gz", hash = "sha256:3bc1b0ff584d1c3e611d9f0c29d4a8a1a017ebcb891bf0c8ee458a95e711ec06"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
@ -309,4 +309,4 @@ tomli = {version = ">=2.0.1,<3.0.0", markers = "python_version < \"3.11\""}
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = ">=3.10,<3.13"
|
python-versions = ">=3.10,<3.13"
|
||||||
content-hash = "343eb64c79bba2d92eeb9af614c782dd175bd8a7b1a236a330b1dd9ae4d18a57"
|
content-hash = "a308dcf090e2f693491364a0a8cd7a1e79961c677d6cd5eb0eea0ca31aa77e9c"
|
||||||
|
@ -15,7 +15,7 @@ python = ">=3.10,<3.13"
|
|||||||
sv-ttk = "^2.6.0"
|
sv-ttk = "^2.6.0"
|
||||||
tomli = { version = "^2.0.1", python = "<3.11" }
|
tomli = { version = "^2.0.1", python = "<3.11" }
|
||||||
voicemeeter-api = "^2.6.0"
|
voicemeeter-api = "^2.6.0"
|
||||||
vban-cmd = "^2.4.11"
|
vban-cmd = "^2.4.12"
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
black = { version = ">=22.6,<25.0", allow-prereleases = true }
|
black = { version = ">=22.6,<25.0", allow-prereleases = true }
|
||||||
|
@ -241,9 +241,7 @@ class BusConfig(Config):
|
|||||||
self.builder.create_param_buttons()
|
self.builder.create_param_buttons()
|
||||||
|
|
||||||
def current_bus_mode(self):
|
def current_bus_mode(self):
|
||||||
for mode in self.bus_modes:
|
return self.target.mode.get()
|
||||||
if getattr(self.target.mode, mode):
|
|
||||||
return mode
|
|
||||||
|
|
||||||
def rotate_bus_modes_right(self, *args):
|
def rotate_bus_modes_right(self, *args):
|
||||||
current_mode = self.current_bus_mode()
|
current_mode = self.current_bus_mode()
|
||||||
|
Loading…
Reference in New Issue
Block a user