StartAutomating / obs-powershell

Script OBS with PowerShell
https://obs-powershell.start-automating.com
MIT License
52 stars 4 forks source link

get Get-OBSStats command shows error #162

Closed tauseedzaman closed 10 months ago

tauseedzaman commented 11 months ago

i just installd this package according to the docs

when i executed this command

Get-OBSStats

i got this error

image

StartAutomating commented 11 months ago

@tauseedzaman It seems like you connected to OBS and got disconnected (hence the error)

How you got disconnected is a good question.

This will happen "naturally" if you close /reopen obs (and can be fixed be reimporting or reconnecting)

There are some high volume requests and bad request forms that can cause the websocket to crash. If you Receive-Job the obs connection, you should see the last error that caused it to barf.

Hope this helps, and let me know if it was something I can fix.