Skip to content

Commit 672a76c

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: -Scene parameter defaults ( Fixes #210 )
1 parent c22cc18 commit 672a76c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Commands/Sources/Set-OBSBrowserSource.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ function Set-OBSBrowserSource {
180180
}
181181

182182
if (-not $myParameters["Scene"]) {
183-
$myParameters["Scene"] = Get-OBSCurrentProgramScene
183+
$myParameters["Scene"] = Get-OBSCurrentProgramScene |
184+
Select-Object -ExpandProperty currentProgramSceneName
184185
}
185186

186187
$myParameterData = [Ordered]@{}

0 commit comments

Comments
 (0)