fix menu name for loading config

fix menu name for loading config

update readme
This commit is contained in:
onyx-and-iris 2022-06-17 13:36:11 +01:00
parent ccfc4333ee
commit 94d5596d60
3 changed files with 7 additions and 8 deletions

View File

@ -33,9 +33,9 @@ import vmcompact
def main():
# pass the kind_id and the vmr object to the app
with voicemeeterlib.api(kind_id) as vmr:
app = vmcompact.connect(kind_id, vmr)
# pass the kind_id and the vm object to the app
with voicemeeterlib.api(kind_id) as vm:
app = vmcompact.connect(kind_id, vm)
app.mainloop()
@ -50,11 +50,11 @@ It's important to know that only labelled strips and buses will appear in the Ch
![Image of unlabelled app](./doc_imgs/nolabels.png)
If the GUI looks like the above when you first load it, then no channels are labelled. From the menu, `Profiles->Load Profile` you may load an example config. Save your current Voicemeeter settings first :).
If the GUI looks like the above when you first load it, then no channels are labelled. From the menu, `Configs->Load config` you may load an example config. Save your current Voicemeeter settings first :).
### kind_id
A _kind_id_ specifies a major Voicemeeter version. This may be one of:
Set the kind of Voicemeeter, kind_id may be:
- `basic`
- `banana`
@ -76,7 +76,6 @@ Inside each kind directory you may place as many custom toml configurations as y
        ├── vban.toml
        ├── basic
                ├── example.toml

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "voicemeeter-compact"
version = "1.0.2"
version = "1.0.3"
description = "A Compact Voicemeeter Remote App"
authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT"

View File

@ -76,7 +76,7 @@ class Menus(tk.Menu):
menu_configs = tk.Menu(self, tearoff=0)
self.add_cascade(menu=menu_configs, label="Configs")
self.menu_configs_load = tk.Menu(menu_configs, tearoff=0)
menu_configs.add_cascade(menu=self.menu_configs_load, label="Load profile")
menu_configs.add_cascade(menu=self.menu_configs_load, label="Load config")
defaults = {"reset"}
if len(self.target.configs) > len(defaults) and all(
key in self.target.configs for key in defaults