Skip to content

feat(vars): Add obsPreviousSceneName variable (#3057) - #3562

Merged
ebiggz merged 2 commits into
crowbartools:v5from
Lordmau5:feat/obs-previous-scene
Aug 24, 2026
Merged

feat(vars): Add obsPreviousSceneName variable (#3057)#3562
ebiggz merged 2 commits into
crowbartools:v5from
Lordmau5:feat/obs-previous-scene

Conversation

@Lordmau5

Copy link
Copy Markdown
Contributor

Description of the Change

Adds a new variable called obsPreviousSceneName to access the previous scene that was active after switching scenes (or "" if there was no previous scene)

The value is cached similarly to the programSceneName in the file obs-remote.ts
https://github.com/crowbartools/Firebot/blob/v5/src/backend/integrations/builtin/obs/obs-remote.ts

The only thing I'm a bit unsure about is the description for the variable.

Applicable Issues

#3057

Testing

This has been tested with some simple Log Message effects and works fine in my setup.

Screenshots

image

@Lordmau5
Lordmau5 requested a review from ebiggz as a code owner August 11, 2026 09:15

@ebiggz ebiggz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks for the contribution @Lordmau5!

@ebiggz
ebiggz merged commit 052d529 into crowbartools:v5 Aug 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants