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

Advanced Scene Switcher seems to ignore time based rules #334

Closed
magnetra7 opened this issue Oct 26, 2021 · 10 comments
Closed

Advanced Scene Switcher seems to ignore time based rules #334

magnetra7 opened this issue Oct 26, 2021 · 10 comments

Comments

@magnetra7
Copy link

OBS Version: 27.0.1
Adv. Scene Switcher Version: 1.16.1
Windows 10 ver. 21H1
AMD CPU

I'm using OBS + Adv. Scene Switcher for our local TV station. I currently use sequence based rules with success. Now I want to add time based scene switching rules. I set the Switching Methods Priority to time first, then secquence, then the others. I have added two time based scene switch rules, but SEEM to be ignored.

What I already tried:

  • The option: After a match do not switch scenes for... set to 2 seconds
  • Setting all sequence based rules to the Scene Transition "cut" as to prevent the fade Transition from interfering with the Time Based Sequence Switching Rules (crazy idea maybe, but also this didn't help).

I'm still figuring out what could be wrong, and maybe I can find a workaround to achieve switching scenes based on the computer time. These rules have to have priority over the sequence based switching rules at our TV station.

Things I can come up with that could be wrong:

  • Advanced Scene Switcher uses UTC time instead of the local time zone which in my case is UTC+2 Europe/Amsterdam.

Lastly thank you for the good software.

@WarmUpTill
Copy link
Owner

I have an idea what the issue might be:
Entries in the time tab will only match at the exact time specified.
But by default the plugin is paused while it is waiting for a sequence to complete.
So there is a chance that this time point is missed while a scene sequence is currently active.

You can change this behavior by marking a sequence as "interruptible".
This will allow the plugin to check for other conditions while it is waiting for the sequence time to pass.

Alternatively, if you don't want to interrupt your scene sequence, I would recommend to use a macro for the time based scene switching instead of the time tab.
There you can use the date condition to specify a time range instead of just a time point.
So instead of "at 20:00 switch o scene X" you can specify "After 20:00 switch to scene X" or "Between 20:00 and 21:30 switch to scene X".

Let me know if that helps or if you need more information.

@magnetra7
Copy link
Author

magnetra7 commented Oct 27, 2021 via email

@petjo10
Copy link

petjo10 commented Oct 28, 2021

Hi,
I use the Advanced Scene Switcher with these macro
image

But i want it to show only between the time interval and then hide, bt it did not hide.,any suggestion?

@WarmUpTill
Copy link
Owner

You need to create a second macro to hide the source.
I would suggest to just create a copy of the first macro by right clicking on in the left panel and then exchanging "if" with "if not" and "show" with "hide".

Let me know if that works for you.

@petjo10
Copy link

petjo10 commented Oct 29, 2021

Yes of course!! Thank you!!

@magnetra7
Copy link
Author

Update: I tried setting all the sequence rules to "interruptible", and now the time based scene switch rules partly work. One rule is effective, and the other seems te be ignored.

I will try creating a work around using a macro and a helper program / script.

@WarmUpTill
Copy link
Owner

@magnetra7 shall I close this issue for now or do you want me to investigate any remaining issues?

@magnetra7
Copy link
Author

I still can't get it fully working, just one time based scene switch rule, not two. But I will try a work around, I can't say for sure if it's the settings or something that are wrong on my PC or that this is a real issue. Up to you if you close it :-)

@magnetra7
Copy link
Author

When I have some energy left I'll fiddle with it more anyhow :-)

@WarmUpTill
Copy link
Owner

I will close this for now - let me know if there is still something left to do :)

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

No branches or pull requests

3 participants