Skip to content

Commit 5b95bc2

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: -Scene parameter defaults ( Fixes #210 )
1 parent 5d82cb7 commit 5b95bc2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Commands/Sources/Set-OBSMarkdownSource.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ function Set-OBSMarkdownSource {
126126
}
127127

128128
if (-not $myParameters["Scene"]) {
129-
$myParameters["Scene"] = Get-OBSCurrentProgramScene
129+
$myParameters["Scene"] = Get-OBSCurrentProgramScene |
130+
Select-Object -ExpandProperty currentProgramSceneName
130131
}
131132

132133
$myParameterData = [Ordered]@{}

0 commit comments

Comments
 (0)