Advanced Scene Switcher

Advanced Scene Switcher 1.37.2

Hey everyone!
Is there any documentation on how the "File" action works? I'm trying to set up a macro to delete the last saved recording if a hotkey is pressed, but I'm not sure how to go about it.
The conditions, if I understood them correctly, I figure are easy enough:
1718743627651.png


...but I'm stumped as to how find and delete the file. From what I understand, the file option only writes or appends to a text file? I tried making a simple workaround and write the current time in the same formatting I use in the OBS recording (%MM-%DD//%hh_%mm), but that only writes that command line verbatim. How can I make this work? Either by automatically deleting the file or by updating a .txt with the names of the recording I need to delete.
 
I couldn't find a way to edit my last post, so I'll add this:
I fiddled around with it some more and changed how it works. Instead of triggering at recording end, it triggers if a recording is running and the hotkey is pressed and then changes the output folder and ends the recording. I dunno if it's the most elegant solution to this, but it's one that works so far. lol
 
Video (warning, audio is loud) of how compressor ducking works for me
"This video is private."

Unlike a lot of the users on here just asking you to write a macro for them, I'm trying to learn, showing my work and asking for advice, not if I should be doing it this way but if I'm on the right track, is this how you would do it? with adv-ss specifically, because we are in the adv-ss forum, not the compressor forum, not some other 3rd party whatever the hell forum, just adv-ss.

So stick to the adage, don't have something nice to say, don't say anything at all please. Its not your plugin, don't feel compelled to reply to every post... think of this as a discord extension, chime in with useful answers, stay stone cold silent if you don't, nobody wants to read your negativity about their ideas.
It's a "how to do it" forum, centered on Adv. SS. If there's something that is much better done elsewhere, why make a Rube-Goldberg machine here? If the discussion goes off in that direction for more than a few posts at a time, *then* we can continue it elsewhere, but there's also a lot of value in sharing general expertise, right here, beyond the central focus.

I'm pretty sure that Adv. SS *is* a Turing Complete programming language, and has been for some time now, which means that everything that can be done at all, can technically be done inside of Adv. SS, given the right connections to the outside world. But some things are still a massive headache! I think yours is one of them.

Just be glad it's not THIS bad!:
 
Hey everyone!
Is there any documentation on how the "File" action works? I'm trying to set up a macro to delete the last saved recording if a hotkey is pressed, but I'm not sure how to go about it.
The conditions, if I understood them correctly, I figure are easy enough:
View attachment 104731

...but I'm stumped as to how find and delete the file. From what I understand, the file option only writes or appends to a text file? I tried making a simple workaround and write the current time in the same formatting I use in the OBS recording (%MM-%DD//%hh_%mm), but that only writes that command line verbatim. How can I make this work? Either by automatically deleting the file or by updating a .txt with the names of the recording I need to delete.
I couldn't find a way to edit my last post, so I'll add this:
I fiddled around with it some more and changed how it works. Instead of triggering at recording end, it triggers if a recording is running and the hotkey is pressed and then changes the output folder and ends the recording. I dunno if it's the most elegant solution to this, but it's one that works so far. lol

How about something like this?:
1718757009967.png

One hotkey to do everything. And it writes a new blank file (or any contents you want; it doesn't matter) to a timestamped filename. Then when you sort your recording folder, the clips you want will be right next to the files that this macro created. Take those, and delete the rest.

What I show here does not actually create a timestamped filename. I don't know how to do that. But I think you get the idea.

This has you keep everything during your session, note which ones are *good*, and delete the bad ones after you're done. So it gives you the opportunity to remember at the last moment that in fact there *was* something good in one of the other takes, and you still have a chance to find it and use it.
 
Ive decided to just block Aaron instead of reading his reply because I'd likely be compelled to reply again as well, I apologize to the forum, for having to read his an my garbage, I would delete it if I could. In the future I will just block rude people immediately and not engage with them.
 
How about something like this?:
View attachment 104745
One hotkey to do everything. And it writes a new blank file (or any contents you want; it doesn't matter) to a timestamped filename. Then when you sort your recording folder, the clips you want will be right next to the files that this macro created. Take those, and delete the rest.

What I show here does not actually create a timestamped filename. I don't know how to do that. But I think you get the idea.

This has you keep everything during your session, note which ones are *good*, and delete the bad ones after you're done. So it gives you the opportunity to remember at the last moment that in fact there *was* something good in one of the other takes, and you still have a chance to find it and use it.
I tried that, but I couldn't find a way for the plugin to write an actual timestamp. What I ended up doing was simply to create macros to manage OBS' replay buffer. One hotkey to get it running. One to disable it (and discard). And one to save then disable. This way it does everything I need to. Each individual clip is only as long as it needs to be, and I only save the ones that are good. Should save me some time editing now. Thanks for the help nevertheless!
 
Is anyone else having difficulty with the "Start commercial" action? I'm trying to get a macro to run a 3 minute ad, so I assigned a "Start commercial" action with the duration at 180s. But twice in a row now, it simply does nothing.

Is it bugged or something?
 
Is anyone else having difficulty with the "Start commercial" action? I'm trying to get a macro to run a 3 minute ad, so I assigned a "Start commercial" action with the duration at 180s. But twice in a row now, it simply does nothing.

Is it bugged or something?
Hrmm, I believe start commercial is a twitch action... are you an affiliate yet? Ive honestly not used the action or went live yet, but I feel you would have to be live/maybe affiliate to use it, not sure they let you control commercials till then? I could be totally wrong, but something to think about while you wait for the pros to chime in...
 
Hrmm, I believe start commercial is a twitch action... are you an affiliate yet? Ive honestly not used the action or went live yet, but I feel you would have to be live/maybe affiliate to use it, not sure they let you control commercials till then? I could be totally wrong, but something to think about while you wait for the pros to chime in...
Yup, I'm affiliate. I've been manually doing what I'm presently trying to automate for a little while now, which is to start stream, play a 3 minute ad while my 'starting soon' scene is up, and then I start the stream content proper, with the first hour being free of pre-rolls, per Twitch's ad setup.

Of course, I expect it only to work when you're live, so I even added a command to wait 5 seconds after I hit 'start streaming' before doing the "start commercial" action, just to remove the possibility of the "start commercial" action being done before Twitch 'realizes' I'm live.

But no, I see the time pass and nothing happen, and have had to run the 3m ad manually, for several streams now.
 
Is anyone else having difficulty with the "Start commercial" action? I'm trying to get a macro to run a 3 minute ad, so I assigned a "Start commercial" action with the duration at 180s. But twice in a row now, it simply does nothing.

Is it bugged or something?
I am not aware of any bugs with this particular action.
But as I am not a Twitch affiliate / partner, this is one of the actions I could never verify myself directly and had to rely on others to confirm to be working.
So, maybe something broke since the last time it was confirmed to be working.

Is there anything visible in the OBS log which would indicate that the Twitch API replied with an error?
Do you see the action being triggered in the OBS log when increasing the logging verbosity (can be adjusted on the General tab)?
Do other Twitch actions work for you? (E.g. setting the stream category)

I also think there is some sort of commercial "cooldown" on Twitch side.
Do you see that being affected when running the action?
 
I am not aware of any bugs with this particular action.
But as I am not a Twitch affiliate / partner, this is one of the actions I could never verify myself directly and had to rely on others to confirm to be working.
So, maybe something broke since the last time it was confirmed to be working.

Is there anything visible in the OBS log which would indicate that the Twitch API replied with an error?
Do you see the action being triggered in the OBS log when increasing the logging verbosity (can be adjusted on the General tab)?
Do other Twitch actions work for you? (E.g. setting the stream category)

I also think there is some sort of commercial "cooldown" on Twitch side.
Do you see that being affected when running the action?
"Is there anything visible in the OBS log which would indicate that the Twitch API replied with an error?"

Not that I'm aware of, never looked for any sort of log like that, though.

Just tested another Twitch action, and was able to send a message to chat with no problem.

The ad cooldown on Twitch only comes into play if you're trying to run an ad shortly after another one has just ended. Wouldn't be relevant here.
 
Dear Warmuptill, I don't quite understand the Audio/Fade function. It seems that it only works in the Fade/Out direction. But the Fade/In direction is really needed. How is this possible?
Thanks!
 
I even added a command to wait 5 seconds after I hit 'start streaming' before doing the "start commercial" action, just to remove the possibility of the "start commercial" action being done before Twitch 'realizes' I'm live.
The ad cooldown on Twitch only comes into play if you're trying to run an ad shortly after another one has just ended. Wouldn't be relevant here.
I wonder if it does though. I've written algorithms before, that don't start in the steady state, but run a cycle (or at least part of a cycle) immediately, before eventually settling there. If Twitch's ad cooldown does that, then it might not work for some time after you first go live.
 
Dear Warmuptill, I don't quite understand the Audio/Fade function. It seems that it only works in the Fade/Out direction. But the Fade/In direction is really needed. How is this possible?
Thanks!
Works for me, in version 1.23.1. (yeah, that's old now, but it does everything I need)
Possible regression somewhere?
 
Back
Top