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(): def main():
# pass the kind_id and the vmr object to the app # pass the kind_id and the vm object to the app
with voicemeeterlib.api(kind_id) as vmr: with voicemeeterlib.api(kind_id) as vm:
app = vmcompact.connect(kind_id, vmr) app = vmcompact.connect(kind_id, vm)
app.mainloop() 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) ![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 ### 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` - `basic`
- `banana` - `banana`
@ -76,7 +76,6 @@ Inside each kind directory you may place as many custom toml configurations as y
        ├── vban.toml         ├── vban.toml
        ├── basic         ├── basic
                ├── example.toml                 ├── example.toml

View File

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

View File

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