Compare commits

...

1 Commits
v2.8.0 ... dev

Author SHA1 Message Date
23b99cb66b perform some path magic so Voicemeeter receives the entire path
patch bump
2026-03-01 21:29:09 +00:00
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "vban-cmd"
version = "2.8.0"
version = "2.8.1"
description = "Python interface for the VBAN RT Packet Service (Sendtext)"
authors = [{ name = "Onyx and Iris", email = "code@onyxandiris.online" }]
license = { text = "MIT" }

View File

@ -102,7 +102,9 @@ class Recorder(IRemote):
def load(self, file: os.PathLike):
try:
self.setter('load', str(file))
# Convert to string, use forward slashes, and wrap in quotes for spaces
file_path = f'"{os.fspath(file).replace(chr(92), "/")}"'
self.setter('load', file_path)
except UnicodeError:
raise VBANCMDError('File full directory must be a raw string')