SceneSwitcher icon indicating copy to clipboard operation
SceneSwitcher copied to clipboard

Feature Request: "Any" and "all" media/source/etc

Open Fplusplus opened this issue 5 years ago • 8 comments

First off: Thanks for the amazing work on this plugin. This really makes OBS an insanely versatile and professional app.

My main use case for the plugin atm is to switch scenes after media files finished playing (either single files or playlists)

Currently I have to set a macro for every single file to achieve this, but it would be amazing to have the following options:

  1. Any: meaning if any source in a scene fulfills the criteria, the macro will trigger
  2. All: having the possibility to change attributes of all sources (or all of a kind) in a scene (e.g. hide all media sources after one has finished)

Fplusplus avatar Oct 08 '21 11:10 Fplusplus

Thank you for the suggestion! :) I will add it to the to-do list.

WarmUpTill avatar Oct 09 '21 07:10 WarmUpTill

Oh and I just figured the best way would be to have a "exclude" or "except" within the macro, as well.

That way one could make a group with every source that shouldn't be included in the "any" or "all" case and could easily separate sources from the macro.

Fplusplus avatar Oct 09 '21 09:10 Fplusplus

Sorry about the late reply / slow progress. I got around to implementing the second part of your request ...

having the possibility to change attributes of all sources (or all of a kind) in a scene (e.g. hide all media sources after one has finished)

... for the scene visibility action:

Visibility

If you want to test this functionality a build with this change is available here: https://github.com/WarmUpTill/SceneSwitcher/actions/runs/1454203918

What other types of actions did you have in mind?

WarmUpTill avatar Nov 14 '21 16:11 WarmUpTill

Amazing I will give it a try next week!

Also it could be great to have it the other way around, e.g.:

  • If ANY Media Source in Scene ABC finished playing then ..... (switch scene most likely)

Fplusplus avatar Nov 20 '21 18:11 Fplusplus

Amazing I will give it a try next week!

Also it could be great to have it the other way around, e.g.:

  • If ANY Media Source in Scene ABC finished playing then ..... (switch scene most likely)

I also need this hahaha as I have a whole scene (I use it as a nested scene) where most of my videos are, and my Media tab is full of entries from that scene, with the same settings. So having a generic option for videos in the same scene is useful.

CodeYan01 avatar Nov 27 '21 13:11 CodeYan01

I implemented the option to match any / all media sources on a specified scene with the linked PR. AnyMedia A build will be available here in a few minutes: https://github.com/WarmUpTill/SceneSwitcher/actions/runs/1513205248

Please let me know if everything is working as expected! :)

WarmUpTill avatar Nov 28 '21 17:11 WarmUpTill

I will merge the change for now - let me know if you run into any issues! :)

WarmUpTill avatar Dec 04 '21 12:12 WarmUpTill

Better late then never: It is working flawlessly :)

Fplusplus avatar Jan 15 '22 10:01 Fplusplus