Skip to content

Commit 853a1cb

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: -Scene parameter defaults ( Fixes #210 )
1 parent 372b5e1 commit 853a1cb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Commands/Sources/Set-OBSSoundCloudSource.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ function Set-OBSSoundCloudSource {
239239
}
240240

241241
if (-not $myParameters["Scene"]) {
242-
$myParameters["Scene"] = Get-OBSCurrentProgramScene
242+
$myParameters["Scene"] = Get-OBSCurrentProgramScene |
243+
Select-Object -ExpandProperty currentProgramSceneName
243244
}
244245

245246
$myParameterData = [Ordered]@{}

0 commit comments

Comments
 (0)