Skip to content

Commit 1d7fad9

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: -Scene parameter defaults ( Fixes #210 )
1 parent fc7832c commit 1d7fad9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Commands/Sources/Set-OBSVLCSource.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ function Set-OBSVLCSource {
196196
}
197197

198198
if (-not $myParameters["Scene"]) {
199-
$myParameters["Scene"] = Get-OBSCurrentProgramScene
199+
$myParameters["Scene"] = Get-OBSCurrentProgramScene |
200+
Select-Object -ExpandProperty currentProgramSceneName
200201
}
201202

202203
$myParameterData = [Ordered]@{}

0 commit comments

Comments
 (0)