Advanced Scene Switcher

Advanced Scene Switcher 1.28.1

Warmuptill

Active Member
I see, thank you. So if I do the multiple conditions for hourly time range, and I want to add an AND condition, I can simply add 1 AND at the end for the extra condition (although ofc I'll still put the hourly time range conditions in a separate macro).

That being said, trying it made me encounter a bug with the Date condition, where it seemed like you were converting the time to UTC, but fails to convert it back (happens on switching between macros back and forth). Will try to provide screenshots or a video later.
Thanks - that is a known issue.
A build with a fix is available here:
It is just a visual issue however.
Whichever values you entered are being used in the backend.
 

gem40

New Member
Help me please
I just want to switch the scene. that is, to make the scenes switch endlessly after a certain time. In the old version, this was done in the Sequences tab. How to do the same now?
 

Warmuptill

Active Member
Help me please
I just want to switch the scene. that is, to make the scenes switch endlessly after a certain time. In the old version, this was done in the Sequences tab. How to do the same now?
You can still use the old tabs by changing this setting:
194732681-cc5c8118-c008-45c2-89d4-a364771327e7.PNG


Alternatively create a macro to do the same thing:

Let me know if you need further help :)
 

gem40

New Member
Warmuptill, thanks awfully!!
Turns out there are instructions! But I would never have found it without your help)))
And I myself would never have guessed how to do it myself) I'm not very intelligent)
Thanks again, everything worked out. Done with macros.
 

AaronD

Active Member
I've never had the Ended state work for me either. I wonder if it was a good intent from the writers of the API, but something about it is fatally broken.

Anyway, Played to End does work. Don't know what the difference is internally, but that's the one you need to use.
Internally the VLC source only supplies the "ended" state.
This is however triggered even after a single playlist item ends, but the playlist has still items remaining.

I added the "Ended(Playlist)" condition type to work around this limitation.
It works by checking if the selected media source reports the "ended" state for an extended period of time.
Okay. I was thinking about the Media source, not VLC. I believe my assessment of the Media source still stands though.

Two more thoughts:
  1. How long is "an extended period of time"? Is it long enough to be perceptible? Or just two scans of the plugin, expecting that the API only returns "Ended" once if the playlist has more in it?
  2. Does it HAVE to be a VLC playlist? Or could that sequence be done in OBS instead, using individual Media sources?
 

te_rav

New Member
I have just updated to OBS v28.0.4 (mac) and then updated to Advanced Scene Switcher 1.19.1. However, I do not have the Advanced Scene Switcher available in OBS. I have tried doing re-installing and restarting OBS and my computer multiple times with no success. A quick look at the logs does not show up anything obvious. What am I missing here?
 

BillRayDrums

New Member
Which step do you have problems with and what do you want me to elaborate on further? (note that this plugin will only work for 64 bit versions of OBS on windows since that is the version the person i made the plugin for uses)
Hello Warmuptill!
I cannot figure out how to make my scenes change randomly; I went to the tutorial on it in your wiki, but alas, it looks like there's a different version of your program for PC and Mac. (I'm on a Mac). Can you tell me how to make my scenes change randomly? Thank you!
 

CodeYan

Member
Thanks - that is a known issue.
A build with a fix is available here:
It is just a visual issue however.
Whichever values you entered are being used in the backend.
Good to know a release will have a fix for it soon, thanks (can't test yet). Although, from my testing, it wasn't really just a visual issue. The changed values are the ones used.
 

CodeYan

Member

Warmuptill

Active Member
I have just updated to OBS v28.0.4 (mac) and then updated to Advanced Scene Switcher 1.19.1. However, I do not have the Advanced Scene Switcher available in OBS. I have tried doing re-installing and restarting OBS and my computer multiple times with no success. A quick look at the logs does not show up anything obvious. What am I missing here?
Can you share the log?
Which version of OBS are you using (arm or x86)?
 

Warmuptill

Active Member
Okay. I was thinking about the Media source, not VLC. I believe my assessment of the Media source still stands though.

Two more thoughts:
  1. How long is "an extended period of time"? Is it long enough to be perceptible? Or just two scans of the plugin, expecting that the API only returns "Ended" once if the playlist has more in it?
  2. Does it HAVE to be a VLC playlist? Or could that sequence be done in OBS instead, using individual Media sources?
  1. Depends on what is configured as the scene switcher interval, but it just boils down to at least two consecutive intervals at which the state ended is reported.
    The "Ended" (without playlist) option will trigger even for a single occurrence.
    For the "Media Source" source type both Ended and Ended(Playlist) will almost behave identically.
  2. I am not sure I understand the question correctly.
    Yes, you could simulate a VLC playlist using multiple media sources for each playlist item.
Can you elaborate when the ended state is not working as intended?
I would like to investigate if that is maybe an issue on the plugin side.
 

AaronD

Active Member
  1. Depends on what is configured as the scene switcher interval, but it just boils down to at least two consecutive intervals at which the state ended is reported.
    The "Ended" (without playlist) option will trigger even for a single occurrence.
    For the "Media Source" source type both Ended and Ended(Playlist) will almost behave identically.
  2. I am not sure I understand the question correctly.
    Yes, you could simulate a VLC playlist using multiple media sources for each playlist item.
Can you elaborate when the ended state is not working as intended?
I would like to investigate if that is maybe an issue on the plugin side.
#2 was more for the OP. If the playlists are already made and not trivial, then it's probably easier to use the VLC source and work around its limitations. If they're simple, or if you're building one from scratch, then it's probably easier to do it in OBS instead. Then you know *exactly* what the state is, all the way through.

For the Ended condition not working for a Media source, I've never seen it actually trigger. When I set it up to switch back to the previous scene (usually a camera), when a video is "Ended", it still just hung on the last frame. (the source is not set to repeat) When I changed it to "Played to End", then it switched, even if I drug the slider manually to the end, which is good for testing.

That was for the old Sequence tab though. It works the way I have it, and I've never changed it to see if it breaks again. I see the same list in the Macro conditions and assume that it's the same logic behind it. Maybe not?
If "Ended" and "Played to End" do both work now, what's the difference?

---

If you're looking at it anyway, is there a way that I can trigger on *any* video being finished, and not a specific one? The idea is to have a generic "play video" scene that is constantly getting reconfigured, but regardless of what's in it, it still "just works" without changing the plugin settings at all. "Oh, you're playing a video? Okay. That video's done now? I'll switch back to the camera for you. You're welcome!" And all I did to play that video instead of a different one, is to update the scene.

Also, the number of videos is not always known until the moment itself. It could be one, or it could be several, all set up beforehand with not enough time in between, or as a remote possibility, added live during the show, with certainly not enough time to update the plugin then. Not to mention training people to "go into this->string->of->menus and change <this setting>" whenever they want to play a new video. (they're not going to do that)

So "any video" (or perhaps "any media"?) shouldn't be limited to a particular scene or source. It really should be "any", with no further qualifiers.

Thanks!
 
Last edited:

saddie

New Member
Hi
I have a mac mini. since the last update all my prefs advanced scenes switchers just disappeared. How can I have that back? I am unable to install the new advanced switcher.
I tried to unarchived it but It does show up anywhere.
Is there a YoutuBe video or something else step by steps?
Best
S
 

Warmuptill

Active Member
If "Ended" and "Played to End" do both work now, what's the difference?
There is only a difference for sources that have internal playlists like the VLC Video source.

If you're looking at it anyway, is there a way that I can trigger on *any* video being finished, and not a specific one? The idea is to have a generic "play video" scene that is constantly getting reconfigured, but regardless of what's in it, it still "just works" without changing the plugin settings at all. "Oh, you're playing a video? Okay. That video's done now? I'll switch back to the camera for you. You're welcome!" And all I did to play that video instead of a different one, is to update the scene.

Also, the number of videos is not always known until the moment itself. It could be one, or it could be several, all set up beforehand with not enough time in between, or as a remote possibility, added live during the show, with certainly not enough time to update the plugin then. Not to mention training people to "go into this->string->of->menus and change <this setting>" whenever they want to play a new video. (they're not going to do that)

So "any video" (or perhaps "any media"?) shouldn't be limited to a particular scene or source. It really should be "any", with no further qualifiers.
I will add it to the list, but it might turn out to be a bit tricky.
 

Warmuptill

Active Member
Hi
I have a mac mini. since the last update all my prefs advanced scenes switchers just disappeared. How can I have that back? I am unable to install the new advanced switcher.
I tried to unarchived it but It does show up anywhere.
Is there a YoutuBe video or something else step by steps?
Best
S
Hi,

I assume what happened is that first OBS got updated but the plugin did not.
Then it failed to load the old version of the plugin due to being incompatible with the newer Qt framework and the plugin's settings were deleted.

I am afraid unless you have a backup of your old scene collection or manually exported the plugin's settings to a file using the option on the General tab there is no way to get the settings back. :(

Just to clarify:
Are you also having issues of the plugin showing up at all when using the new version of OBS, even after installing the new version of the plugin?
If so can you please share an OBS log?
That might give hints as to what the issue might be.
 

saddie

New Member
Hi,

I assume what happened is that first OBS got updated but the plugin did not.
Then it failed to load the old version of the plugin due to being incompatible with the newer Qt framework and the plugin's settings were deleted.

I am afraid unless you have a backup of your old scene collection or manually exported the plugin's settings to a file using the option on the General tab there is no way to get the settings back. :(

Just to clarify:
Are you also having issues of the plugin showing up at all when using the new version of OBS, even after installing the new version of the plugin?
If so can you please share an OBS log?
That might give hints as to what the issue might be.
Hi
Thanks for your reply.
Yes OBS has been updated but the plugin did not. You right.

Ok no problem. I will do everything again.

Yes exactly. The plugin not shows up in my new version. Not sure I did the installation properly though. I just clicked and unarchived the file: advanced-scene-switcher-macos-arm64.pkg
I restarted. And strictly nothing happened.

Do I have something else to do?
I tried to find the files to do that part (... right click the OBS app inside your Applications folder and choose 'Show Package Contents'.
Copy the advanced-scene-switcher.so file to 'Contents/Plugins' and the 'data' folder to 'Contents/Resources'.) BUT never found those files...

I'm lost.
Best
 

saddie

New Member
Hi
Thanks for your reply.
Yes OBS has been updated but the plugin did not. You right.

Ok no problem. I will do everything again.

Yes exactly. The plugin not shows up in my new version. Not sure I did the installation properly though. I just clicked and unarchived the file: advanced-scene-switcher-macos-arm64.pkg
I restarted. And strictly nothing happened.

Do I have something else to do?
I tried to find the files to do that part (... right click the OBS app inside your Applications folder and choose 'Show Package Contents'.
Copy the advanced-scene-switcher.so file to 'Contents/Plugins' and the 'data' folder to 'Contents/Resources'.) BUT never found those files...

I'm lost.
Best
Hi again
How can I send log files?
Best
S
 

Warmuptill

Active Member
Hi again
How can I send log files?
Best
S
Either paste the contents here directly or upload it to pastebin (or something similar) and share the link.
If you have concerns about the contents you can also send me a private message.
 
Last edited:

saddie

New Member
Hi
I have exactly the same problem………
Not working on my Mac version.

PLease let me know how to save my sentences for next time. It's a nightmare to have everything to do again……
Best
S
 
Top