Skip to content

Commit 10c1592

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: -Scene parameter defaults ( Fixes #210 )
1 parent 588bdb4 commit 10c1592

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Commands/Sources/Set-OBSWindowSource.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ function Set-OBSWindowSource {
157157
}
158158

159159
if (-not $myParameters["Scene"]) {
160-
$myParameters["Scene"] = Get-OBSCurrentProgramScene
160+
$myParameters["Scene"] = Get-OBSCurrentProgramScene |
161+
Select-Object -ExpandProperty currentProgramSceneName
161162
}
162163

163164

0 commit comments

Comments
 (0)