We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6aafc1 commit 8364c66Copy full SHA for 8364c66
1 file changed
Commands/Sources/Set-OBSBrowserSource.ps1
@@ -174,6 +174,7 @@ function Set-OBSBrowserSource {
174
inputKind = "browser_source"
175
inputSettings = $myParameterData
176
inputName = $Name
177
+ NoResponse = $myParameters["NoResponse"]
178
}
179
# If -SceneItemEnabled was passed,
180
if ($myParameters.Contains('SceneItemEnabled')) {
@@ -226,7 +227,8 @@ function Set-OBSBrowserSource {
226
227
228
229
# Otherwise, if we had a result
- elseif ($outputAddedResult) {
230
+ if ($outputAddedResult -and
231
+ $outputAddedResult -isnot [Management.Automation.ErrorRecord]) {
232
# get the input from the scene.
233
Get-OBSSceneItem -sceneName $myParameters["Scene"] |
234
Where-Object SourceName -eq $myParameters["Name"]
0 commit comments