mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-15 17:40:52 +00:00
run vban.logout() to cleanup threads/sockets.
bump vban-cmd dependency ver. patch bump
This commit is contained in:
parent
6de79977cc
commit
d4b2b90fc0
4
poetry.lock
generated
4
poetry.lock
generated
@ -84,7 +84,7 @@ python-versions = ">=3.7"
|
||||
|
||||
[[package]]
|
||||
name = "vban-cmd"
|
||||
version = "1.4.3"
|
||||
version = "1.4.4"
|
||||
description = "Python interface for the VBAN RT Packet Service (Sendtext)"
|
||||
category = "main"
|
||||
optional = false
|
||||
@ -107,7 +107,7 @@ tomli = {version = ">=2.0.1,<3.0.0", markers = "python_version < \"3.11\""}
|
||||
[metadata]
|
||||
lock-version = "1.1"
|
||||
python-versions = "^3.10"
|
||||
content-hash = "df755b86361b6c58978bcdc7875d8d8e5f4d554d13b189823347d64994ba1507"
|
||||
content-hash = "1013fe45920526153e77b65bd21f9cdaac34841917159ea85565bec747c1e455"
|
||||
|
||||
[metadata.files]
|
||||
black = []
|
||||
|
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "voicemeeter-compact"
|
||||
version = "1.5.2"
|
||||
version = "1.5.3"
|
||||
description = "A Compact Voicemeeter Remote App"
|
||||
authors = ["onyx-and-iris <code@onyxandiris.online>"]
|
||||
license = "MIT"
|
||||
@ -17,7 +17,7 @@ python = "^3.10"
|
||||
sv-ttk = "^2.0"
|
||||
tomli = { version = "^2.0.1", python = "<3.11" }
|
||||
voicemeeter-api = "^0.7.0"
|
||||
vban-cmd = "^1.4.3"
|
||||
vban-cmd = "^1.4.4"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
black = {version = "^22.6.0", allow-prereleases = true}
|
||||
|
@ -5,6 +5,7 @@ from tkinter import messagebox, ttk
|
||||
|
||||
import sv_ttk
|
||||
import vban_cmd
|
||||
from vban_cmd.error import VBANCMDError
|
||||
|
||||
from .data import _base_values, _configuration, get_configuration, kind_get
|
||||
|
||||
@ -304,10 +305,10 @@ class Menus(tk.Menu):
|
||||
# login to vban interface
|
||||
try:
|
||||
self.vban.login()
|
||||
except TimeoutError as e:
|
||||
messagebox.showerror(
|
||||
"Connection Error", f"Unable to establish connection with {opts['ip']}"
|
||||
)
|
||||
except VBANCMDError as e:
|
||||
msg = (str(e), f"Please check your connection settings")
|
||||
messagebox.showerror("Connection Error", "\n".join(msg))
|
||||
self.vban.logout()
|
||||
self.after(1, self.enable_vban_menus)
|
||||
return
|
||||
self.menu_teardown(i)
|
||||
|
Loading…
Reference in New Issue
Block a user