Server pre/post commands?

5 posts / 0 new
Last post
spem101
Server pre/post commands?

Is it possible to run a script pre/post a client sharing a USB device?

I'm wanting to share an audio device that's normally in use by a Mumble server. It shares ok and works remotely, but even though I've used the "AutoAttachToKernel" setting it leaves the Mumble server dazed and confused.

How can I automatically stop the Mumble server when the audio device is shared, and restart it again then the device is released?

Thanks,
Steven P.

spem101
Found it. I think.

No sooner had I posted my question than I found https://www.virtualhere.com/quirks

So pre/post commands are set using onBind and onUnBind in the server's config.ini?

Michael
.

Yes

spem101
Does the onBind script run

Does the onBind script run before or after the device is grabbed by VH? I want to kill a process on the server before the device disappears.

Michael
.

Before

Log in or register to post comments