mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-22 04:40:55 +00:00
change to vban example config
comment out vban info in vban example config. disables menu if all configuration options are commented out (or file not present)
This commit is contained in:
parent
6e7d84a9da
commit
041c350737
@ -1,12 +1,13 @@
|
|||||||
# example connections
|
### example connections
|
||||||
[connection-1]
|
### set the ip then uncomment
|
||||||
kind = 'banana'
|
# [connection-1]
|
||||||
ip = '<ip address 1>'
|
# kind = 'banana'
|
||||||
streamname = 'Command1'
|
# ip = '<ip address 1>'
|
||||||
port = 6990
|
# streamname = 'Command1'
|
||||||
|
# port = 6990
|
||||||
|
|
||||||
[connection-2]
|
# [connection-2]
|
||||||
kind = 'potato'
|
# kind = 'potato'
|
||||||
ip = '<ip address 2>'
|
# ip = '<ip address 2>'
|
||||||
streamname = 'Command1'
|
# streamname = 'Command1'
|
||||||
port = 6990
|
# port = 6990
|
||||||
|
@ -89,7 +89,7 @@ class Menus(tk.Menu):
|
|||||||
# vban connect menu
|
# vban connect menu
|
||||||
self.menu_vban = tk.Menu(self.menubar, tearoff=0)
|
self.menu_vban = tk.Menu(self.menubar, tearoff=0)
|
||||||
self.menubar.add_cascade(menu=self.menu_vban, label="VBAN Connect")
|
self.menubar.add_cascade(menu=self.menu_vban, label="VBAN Connect")
|
||||||
if self.configuration_vban is not None:
|
if self.configuration_vban:
|
||||||
for i, _ in enumerate(self.configuration_vban):
|
for i, _ in enumerate(self.configuration_vban):
|
||||||
setattr(self, f"menu_vban_{i+1}", tk.Menu(self.menu_vban, tearoff=0))
|
setattr(self, f"menu_vban_{i+1}", tk.Menu(self.menu_vban, tearoff=0))
|
||||||
target_menu = getattr(self, f"menu_vban_{i+1}")
|
target_menu = getattr(self, f"menu_vban_{i+1}")
|
||||||
|
Loading…
Reference in New Issue
Block a user