Skip to content

Commit c22cc18

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Commands/Sources/Set-OBSAudioOutputSource.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ function Set-OBSAudioOutputSource {
131131
}
132132

133133
if (-not $myParameters["Scene"]) {
134-
$myParameters["Scene"] = Get-OBSCurrentProgramScene
134+
$myParameters["Scene"] = Get-OBSCurrentProgramScene |
135+
Select-Object -ExpandProperty currentProgramSceneName
135136
}
136137

137138

0 commit comments

Comments
 (0)