mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 13:20:47 +00:00
enable verbose output in examples
fix host key in obs example readme.
This commit is contained in:
parent
e01d4f134a
commit
72467a611b
@ -7,6 +7,8 @@ param(
|
|||||||
|
|
||||||
Import-Module ..\..\lib\Voicemeeter.psm1
|
Import-Module ..\..\lib\Voicemeeter.psm1
|
||||||
|
|
||||||
|
$VerbosePreference = "Continue"
|
||||||
|
|
||||||
function get-value {
|
function get-value {
|
||||||
param([object]$vmr, [string]$line)
|
param([object]$vmr, [string]$line)
|
||||||
try {
|
try {
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
Import-Module ..\..\lib\Voicemeeter.psm1
|
Import-Module ..\..\lib\Voicemeeter.psm1
|
||||||
|
|
||||||
|
$VerbosePreference = "Continue"
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$vmr = Get-RemotePotato
|
$vmr = Get-RemotePotato
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ This example assumes the following:
|
|||||||
|
|
||||||
```psd1
|
```psd1
|
||||||
@{
|
@{
|
||||||
hostname = "localhost"
|
host = "localhost"
|
||||||
port = 4455
|
port = 4455
|
||||||
password = "mystrongpassword"
|
password = "mystrongpassword"
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ function CurrentProgramSceneChanged {
|
|||||||
|
|
||||||
function ExitStarted {
|
function ExitStarted {
|
||||||
param([System.Object]$data)
|
param([System.Object]$data)
|
||||||
"OBS closing has begun!" | Write-Host
|
"OBS shutdown has begun!" | Write-Host
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user