Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBS-PowerShell Effects #109

Closed
5 tasks done
StartAutomating opened this issue May 31, 2023 · 0 comments
Closed
5 tasks done

OBS-PowerShell Effects #109

StartAutomating opened this issue May 31, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@StartAutomating
Copy link
Owner

StartAutomating commented May 31, 2023

OBS PowerShell should introduce the concept of "effects" and "effect commands".

This should include:

  • Import-OBSEffect
  • Get-OBSEffect
  • Start-OBSEffect
  • Stop-OBSEffect
  • Remove-OBSEffect

It should generate effects from Commands or JSON files that match the naming pattern:

(?>
    ^OBS.(?>fx|effects?)\p{P}
    |
    [\p{P}-[-]]OBS\.(?>fx|effects?)$
    |
    \p{P}OBS.(?>fx|effects?)\.(?>ps1|json)
)

It should also be able to Import an effect from a dictionary. In all cases, the effect will become an OBS.PowerShell.Effect

Once imported, it should be possible to Start the effect. It may not be possible to Stop it (unless we are looping)

If an effect is a JSON file, it will be treated as a series of messages and encapsulated into an OBS.PowerShell.Effect

If the effect is a command, it should be run when the effect is Started, and any results of that command that are requests should be stored as the effect.

When an effect is started, it should generate an OBS.PowerShell.Effect.Started event.

Then, any timings should be calculated and a .NET timer should generate an OBS.PowerShell.Effect.Ended event after that delay.

@StartAutomating StartAutomating added the enhancement New feature or request label May 31, 2023
@StartAutomating StartAutomating self-assigned this May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue May 31, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
StartAutomating pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
github-actions bot pushed a commit that referenced this issue Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant