Advanced Scene Switcher

Advanced Scene Switcher 1.28.1

Hi thanks for the reply.

Yes I can share one of the logs. I still have it on clipboard. (Attaching).

I downloaded and installed the latest update released (yesterday)
I started OBS a number of times, OBS just disappeared and one or two times I saw the Advanced Scene Switcher backup message (which I always see after updating Advanced Scene Switcher to the latest version). But could not interact with that message.
The message stayed up front even after OBS had crashed but could not be interacted with.

Advanced Scene Switcher was the only thing I had changed since my last OBS session so I figured this may be the issue.

I dragged the plugin files away and OBS started fine.
Put them back and OBS started fine but as you say, settings all gone.

Restored settings from backup. All OK now.

I did also have a little trouble restoring from backup. Some settings were not restored. I had to remove all Advanced Scene Switcher settings again and then restore.

While I am here, you mention that opening OBS without the plugin, it is expected that the settings are gone. is there anything that can be done about this? And where are those settings stored? (Yes, we can Export backup but it would be good to be able to actually backup the entire settings just in case).

Cheers,

This is more to @Warmuptill but I wanted to confirm that I'm getting a crash on one of my setups, but it's the single-most-complex setup in my cluster of four computers. However, I can also say that I (thankfully) did not lose my current setup. Same here; I get the backup dialog but cannot interact with it because OBS Studio is in the process of crashing in the background.

I don't know if you need any further loggage or not; please let me know.

Anyway, my setup is as follows:

VTuber: 1.24.1. Successfully backed up.
Gamer: 1.24.1. Successfully backed up.
Studio: 1.24.0. Had to roll back as this machine will crash with 1.24.1.
Encoder: 1.24.1: Successfully backed up.

All are now running OBS Studio 30.0.2.

--Katt. =^.^=
 
Just a quick follow up:
It seems to somehow be related to the OBS websocket library attempting to display a system tray notification.

Yes, this sounds possible, most of my macros have system tray notifications.

However, I can also say that I (thankfully) did not lose my current setup. Same here; I get the backup dialog but cannot interact with it because OBS Studio is in the process of crashing in the background.

I only lost my setup because I had to remove the plugin in order to get OBS to start without crashing. Other than that, the symptoms were identical, (the non-interactable backup dialog + OBS crashing in bg).
 

Warmuptill

Active Member
@AdmiralFunghie and @KattPhloxworthy, assuming you have backed up your settings, would you be willing to try to reproduce the problem with this version of the plugin?
Note that you will have to be logged into GitHub to be able to download it.

It changes the type of dialog used to show the backup message to not block the rest of the OBS UI.
I hope that should solve this problem.

I am not sure why this problem was introduced to be honest.
If I had to guess the problem was always there, but now some timing changed.
Sorry about that and thanks for you help in getting this resolved! :)
 
@AdmiralFunghie and @KattPhloxworthy, assuming you have backed up your settings, would you be willing to try to reproduce the problem with this version of the plugin?
Note that you will have to be logged into GitHub to be able to download it.

It changes the type of dialog used to show the backup message to not block the rest of the OBS UI.
I hope that should solve this problem.

I am not sure why this problem was introduced to be honest.
If I had to guess the problem was always there, but now some timing changed.
Sorry about that and thanks for you help in getting this resolved! :)

I am indeed logged into Github, so I will grab a copy right now.

--Katt. =^.^=
 
I am indeed logged into Github, so I will grab a copy right now.

--Katt. =^.^=

(Insert mind-numbingly stupid Spongebob Squarepants "A time period later..." meme here...)

I just tried the prerelease version and it seems to work just fine. OBS Studio fully opened, then the backup dialog comes up, and I'm allowed to make that backup the newly-installed plugin wanted me to make. Then I'm allowed to go about my OBS Studio-type business per usual.

Let me know if you need anything further!

--Katt. =^.^=
 
@AdmiralFunghie and @KattPhloxworthy, assuming you have backed up your settings, would you be willing to try to reproduce the problem with this version of the plugin?
Yup, always logged into GH. Got the latest and it worked as expected. Got the backup message etc.

Tested a few Macros, including ones that display system tray messages. They work fine.

Thank you.


I always have an annoyance with system tray messages, in that they display for too long, (5 seconds)... So, if I trigger two Macros quite quickly, the tray message for the first one displays and then the second one displays after 5 seconds.

It would be nice to have control how long the tray messages display for as they are very useful, but I guess this is a Windows framework thing. (I have looked into this and seems the least amount is 5 seconds - which what I have - and there seems to be no way to change it less even using registry.)
 
Last edited:

Lycanthrope -R-

New Member
Greetings. Unfortunately, I'm here to report that the Scene Switcher isn't detecting if the mic/aux is muted anymore.

I have a macro set up to mute or unmute the mic when switching to a given scene. And for some reason it now thinks that the mic/aux is unmuted no matter what. I don't know exactly when this started happening, but I know it didn't used to do this. Updating to the latest version didn't help.

You can see in the attachment how the "current state" of unmuted is flashing green with the Mic/Aux below the window still being muted. Also, I attached a log if it'll help.

If anyone here has any advice, thanks in advice.
 

Attachments

  • Screenshot 2023-12-16 185409.png
    Screenshot 2023-12-16 185409.png
    450.6 KB · Views: 63
  • 2023-12-16 18-51-05.txt
    218.2 KB · Views: 18

AaronD

Active Member
Greetings. Unfortunately, I'm here to report that the Scene Switcher isn't detecting if the mic/aux is muted anymore.

I have a macro set up to mute or unmute the mic when switching to a given scene. And for some reason it now thinks that the mic/aux is unmuted no matter what. I don't know exactly when this started happening, but I know it didn't used to do this. Updating to the latest version didn't help.

You can see in the attachment how the "current state" of unmuted is flashing green with the Mic/Aux below the window still being muted. Also, I attached a log if it'll help.

If anyone here has any advice, thanks in advice.
That screenshot doesn't have the mic selected:
"Configured volume level of --select source-- is unmuted"

Maybe that's the problem?
 

Lycanthrope -R-

New Member
That screenshot doesn't have the mic selected:
"Configured volume level of --select source-- is unmuted"

Maybe that's the problem?
Woowwwww, I must be losing it. lol

I definitely had it set to Mic/Aux before and then it somehow just up and vanished. Weird. My brain was just filling in what was supposed to be there. Thanks.
 

obsfan

New Member
Latest update is causing OBS to crash on start here. Removed Advanced Scene Switcher and OBS starts fine. tested multiple times.

I see the message from Advanced Scene Switcher asking to backup settings on launch of PBS, but do not see OBS itself. It then crashes.



Maybe the issue is the backup message itself.

I put the plugin files back and now OBS starts but there was no backup message from Advanced Scene Switcher and all my Macros have gone.
I am also experiencing this (same? related?) issue with the Flatpak version on Fedora Silverblue, except OBS just silently fails to launch:
 

Attachments

  • obs_adv_ss_issues.txt
    1.1 KB · Views: 14

Warmuptill

Active Member
I am also experiencing this (same? related?) issue with the Flatpak version on Fedora Silverblue, except OBS just silently fails to launch:
I just now released version 1.24.2, which contains the fix for this problem. (Flatpak was updated as well)
Sorry about that!
 

Warmuptill

Active Member

obsfan

New Member
I just now released version 1.24.2, which contains the fix for this problem. (Flatpak was updated as well)
Sorry about that!
My ancient account with like 3 posts is a testament to the reilability of your work! I'm afraid I'm still experiencing this issue, though. The core dump error is the same, and I forgot to note before that OBS logs end with
Code:
11:10:24.057: [adv-ss] trying to reconnect to  in 10 seconds.
11:10:24.057: [adv-ss] reset transition behaviour to adjust active transition type
 

normen

New Member
A build with this functionality is available here in a few minutes:
View attachment 100187
Let me know if you are facing any issues! :)
It works like a charm. I can just put sources in my "player" scene and grab their settings no matter their name now, awesome! Together with being able to get the source count my player macros now feel like an actual vlc player, I can just drop sources in there and they get picked up automatically, nice. Thanks again for your work!
 

AaronD

Active Member
It works like a charm. I can just put sources in my "player" scene and grab their settings no matter their name now, awesome! Together with being able to get the source count my player macros now feel like an actual vlc player, I can just drop sources in there and they get picked up automatically, nice. Thanks again for your work!
Can you post your macros please? I had a hard time understanding what that feature was needed for, but the way you describe the result sounds attractive to me too. Thanks!
 

normen

New Member
Can you post your macros please? I had a hard time understanding what that feature was needed for, but the way you describe the result sounds attractive to me too. Thanks!
Sure, it works best when you create these beforehand:

Variables:
PlayerSelectedNumber
PlayerCurrentNumber
PlayerPlaylistSize
PlayerTrackName
PlayerSourceName

Scene:
Player

Also, when importing, I don't know if sceneswitcher still does that, but you might have to re-map macro calls that call macros that are imported. That is, in the "Player GO" macro the "Player Play" macro is called but when importing that macro doesn't exist yet so its left empty. You have to set it again, maybe in a few other places too, not sure.

Heres the import code for the macros - they will only work with that build above currently:

Code:
AABdO3ic7VxZc6M4EP4rFLsPc+QAezI53pzYM+vdHN44ydTUJJsioGBtMLhAJPam/N+3JUBcPsDBV4yrEhuhblqt1tefJOBV7CqqbTni0a9X0VS6SDwSW4YyQLa4JfYU14GCR8VwED2yFcNABi+wzJOOYupQg9guHDtPuNfoI/XCbBPFJryebltuL6jEDuoKUcSjV1G1DEPpOUjjdR38H+iT5eFwK2aPgR0i1FxiOcTqhaZ5Ot9qmX+kWepTGxGCTd2h1tlIh6uCJ3wtHcW5dM1jlxDL5EJQ2KK2BMW8KlyJuM6p8hCxq4P1jgF/pPl4YpkaJtgynSuQ4DXs4AJXqA92inDBoLWx8jp2lAcDwTnXTJ9tmP5JNXYVzyS/TmiAoNhIoHbvxCS+UY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9OXIMOcx6QMH7Qrz74UIxwaelRcgwShJYmR6VrN1bB1qhBkqoOEJFtI8USqe5KY0hNVc15vTlUyTcfZoGGqlkZn+z5BiquSJkr7slOt+DrFiuv28VQdFWmKkjGrTmPUyVmUJR+qm03XqfUC+NTBtnaKTZT0cERPFpOiOJe9o0bMO2ZrC3hkdE9luX5yH29MyO5I7DPKkLvInEDc269qj9UHcfg/5MToTg==

bildschirmfoto-2023-11-16-um-13-40-32-png.99274
 

Warmuptill

Active Member
My ancient account with like 3 posts is a testament to the reilability of your work! I'm afraid I'm still experiencing this issue, though. The core dump error is the same, and I forgot to note before that OBS logs end with
Code:
11:10:24.057: [adv-ss] trying to reconnect to  in 10 seconds.
11:10:24.057: [adv-ss] reset transition behaviour to adjust active transition type
In that case the issue is probably something else.
Unfortunately, the core dump does not really point in any particular direction.

Does it help if you open your scene collection json file (please back it up beforehand) and remove the "version" field of the "advanced-scene-switcher" block?

What was the last version where you did not face this issue?

Can you share the plugin settings you are using? (Doesn't need to be here - feel free to send me a DM)
 

obsfan

New Member
In that case the issue is probably something else.
Unfortunately, the core dump does not really point in any particular direction.

Does it help if you open your scene collection json file (please back it up beforehand) and remove the "version" field of the "advanced-scene-switcher" block?

What was the last version where you did not face this issue?

Can you share the plugin settings you are using? (Doesn't need to be here - feel free to send me a DM)
I really appreciate your help! If I roll back my system, everything works normally and I can even successfully update the plugin, so I don't even know where to begin to look for the problem. It did not help to remove the version field in the json file.

Here's the last adv-ss backup I was prompted to make. Again, this issue just appeared with the latest update of Fedora Silverblue, but I've been using the plugin for years and years including through a major OS version update (F38-F39) with no issues. OBS runs without issues in safe mode or with adv-ss uninstalled.

{"sceneGroups":[],"macroProperties":{"highlightExecuted":true,"highlightConditions":false,"highlightActions":false,"newMacroRegisterHotkey":false},"macros":[{"name":"scripts on stream","pause":false,"parallel":true,"onChange":true,"skipExecOnStart":false,"group":false,"dockSettings":{"register":false,"hasRunButton":true,"hasPauseButton":true,"hasStatusLabel":false,"highlightIfConditionsTrue":false,"runButtonText":"Run","pauseButtonText":"Pause","unpauseButtonText":"Unpause","conditionsTrueStatusText":"","conditionsFalseStatusText":""},"registerHotkeys":false,"pauseHotkey":[],"unpauseHotkey":[],"togglePauseHotkey":[],"conditions":[{"collapsed":false,"id":"streaming","logic":0,"durationModifier":{"time_constraint":0,"seconds":{"value":{"value":0.0,"type":0},"unit":0,"version":1}},"state":2,"keyFrameInterval":{"value":0,"type":0}}],"actions":[{"collapsed":true,"id":"run","enabled":true,"processConfig":{"path":"/var/home/user/.config/all-scripts/funds.sh","workingDirectory":"/var/home/user/.config/all-scripts","args":[]}},{"collapsed":true,"id":"run","enabled":true,"processConfig":{"path":"/var/home/user/.config/all-scripts/tippers.sh","workingDirectory":"/var/home/user/.config/all-scripts","args":[]}}]},{"name":"scripts on stop stream","pause":false,"parallel":true,"onChange":true,"skipExecOnStart":false,"group":false,"dockSettings":{"register":false,"hasRunButton":true,"hasPauseButton":true,"hasStatusLabel":false,"highlightIfConditionsTrue":false,"runButtonText":"Run","pauseButtonText":"Pause","unpauseButtonText":"Unpause","conditionsTrueStatusText":"","conditionsFalseStatusText":""},"registerHotkeys":false,"pauseHotkey":[],"unpauseHotkey":[],"togglePauseHotkey":[],"conditions":[{"collapsed":false,"id":"streaming","logic":0,"durationModifier":{"time_constraint":0,"seconds":{"value":{"value":0.0,"type":0},"unit":0,"version":1}},"state":3,"keyFrameInterval":{"value":0,"type":0}}],"actions":[{"collapsed":true,"id":"run","enabled":true,"processConfig":{"path":"/var/home/user/.config/all-scripts/fundsKill.sh","workingDirectory":"/var/home/user/.config/all-scripts","args":[]}},{"collapsed":true,"id":"run","enabled":true,"processConfig":{"path":"/var/home/user/.config/all-scripts/tippersKill.sh","workingDirectory":"/var/home/user/.config/all-scripts","args":[]}}]}],"connections":[],"variables":[],"switches":[],"ignoreWindows":[],"screenRegion":[],"pauseEntries":[],"sceneRoundTrip":[],"sceneTransitions":[],"defaultTransitions":[],"defTransitionDelay":0,"ignoreIdleWindows":[],"idleTargetType":0,"idleSceneName":"","idleTransitionName":"","idleEnable":false,"idleTime":60,"executableSwitches":[],"randomSwitches":[{"targetType":0,"scene":"Cam 1","transition":"Fade","delay":6.1799999999999997},{"targetType":0,"scene":"Cam 1","transition":"Fade","delay":10.0},{"targetType":0,"scene":"Cam 2","transition":"Fade","delay":6.1799999999999997},{"targetType":0,"scene":"Cam 1","transition":"Fade","delay":16.18},{"targetType":0,"scene":"Cam 4","transition":"Fade","delay":6.1799999999999997},{"targetType":0,"scene":"Cam 3","transition":"Fade","delay":6.1799999999999997},{"targetType":0,"scene":"Cam 3 + Cam 2","transition":"Fade","delay":10.0},{"targetType":0,"scene":"exterior","transition":"Fade","delay":10.0},{"targetType":0,"scene":"Cam 4 + Cam 1","transition":"Fade","delay":10.0},{"targetType":0,"scene":"Cam 2","transition":"Fade","delay":10.0},{"targetType":0,"scene":"Cam 3 Tips","transition":"Fade","delay":16.18},{"targetType":0,"scene":"Cam 1 Tips","transition":"Fade","delay":16.18}],"fileSwitches":[],"readEnabled":false,"readPath":"","writeEnabled":false,"writePath":"","mediaSwitches":[],"timeSwitches":[],"audioSwitches":[],"audioFallbackTargetType":0,"audioFallbackScene":"","audioFallbackTransition":"","audioFallbackEnable":false,"audioFallbackDuration":{"value":{"value":0.0,"type":0},"unit":0,"version":1},"videoSwitches":[],"ServerEnabled":false,"ServerPort":55555,"LockToIPv4":false,"ClientEnabled":false,"Address":"","ClientPort":55555,"SendSceneChange":true,"SendSceneChangeAll":true,"SendPreview":true,"triggers":[],"interval":4000,"non_matching_scene":"","switch_if_not_matching":2,"noMatchDelay":{"value":{"value":0.0,"type":0},"unit":0,"version":1},"cooldown":{"value":{"value":0.0,"type":0},"unit":0,"version":1},"active":false,"startup_behavior":2,"autoStartEvent":0,"verbose":false,"showSystemTrayNotifications":false,"disableHints":false,"warnPluginLoadFailure":true,"hideLegacyTabs":false,"priority0":10,"priority1":0,"priority2":2,"priority3":8,"priority4":6,"priority5":9,"priority6":7,"priority7":4,"priority8":1,"priority9":5,"priority10":3,"threadPriority":3,"transitionOverrideOverride":false,"adjustActiveTransitionType":true,"lastImportPath":"/var/home/user/.config/audio-system/adv-ss-Untitled-2023.11.28.16.50.52","startHotkey":[],"stopHotkey":[],"toggleHotkey":[{"key":"OBS_KEY_NUMPLUS"}],"upMacroSegmentHotkey":[],"downMacroSegmentHotkey":[],"removeMacroSegmentHotkey":[],"generalTabPos":0,"macroTabPos":1,"transitionTabPos":2,"pauseTabPos":3,"titleTabPos":4,"exeTabPos":5,"regionTabPos":6,"mediaTabPos":7,"fileTabPos":8,"randomTabPos":9,"timeTabPos":10,"idleTabPos":11,"sequenceTabPos":12,"audioTabPos":13,"videoTabPos":14,"networkTabPos":15,"sceneGroupTabPos":16,"triggerTabPos":17,"saveWindowGeo":false,"windowPosX":1909,"windowPosY":-48,"windowWidth":1000,"windowHeight":600,"macroActionConditionSplitterPosition":[],"macroListMacroEditSplitterPosition":[{"pos":143},{"pos":493}],"version":"68c6492c3f4e5507a343bd821f7112610d32e430"}
 

Warmuptill

Active Member
If I roll back my system, everything works normally and I can even successfully update the plugin
this issue just appeared with the latest update of Fedora Silverblue
Ah, thanks for pointing that out!

So just to clarify:
There is a configuration which works with OBS 30 and Advanced scene switcher 1.24.2, and the only change leading to the crash was the update of the OS?

If so, I will try to setup a VM during the weekend to replicate and investigate the issue.
And just to be sure: Is Fedora Silverblue 39 the correct version to use?
 
Top