Th0rstenf / Rocksniffer-to-Streamer.bot-extension

A set of streamerbot actions interacting with the Rocksmith RSSniffer
MIT License
6 stars 1 forks source link

Add an option to make automatic scene switch time for each scene different. #77

Closed kozaka-tv closed 1 year ago

kozaka-tv commented 1 year ago

We should be able to set a fixed, or range value for each songScene to set the time how long a scene should be set in OBS/SLOBS.

Like I have songScenes: Scene1, Scene2, Scene3, Scene4 And there should be an new option for scene time during a song play like for example: 10, 3-20, 5, 15

So this means, if it is switched to:

Or similar... (it is a pity, that in SB we could set timer minimum only to 1 sec...I would have more faster stuffs).

This could replace the Advanced scene switcher for most users.


Or songScenes="Scene1#10, Scene2#3-20, Scene3, Scene4#15" Same as above, but Scene3 will use the songSwitchPeriod set in config, or some default if this is not set.

Th0rstenf commented 1 year ago

I wonder if we should make the syntax a bit more explicit, so it is less cryptic for the user But if we do, it has the potential to be bloated quite fast.

I just get started on it, but if you have other ideas about the syntax, feel free to drop them here :)

kozaka-tv commented 1 year ago

I think for now, as a simple and flat solution it is ok. If, then I would use a yaml config file, then we could have structured config like:

songScenes:

image

But this must be then implemented later. To read config from a file. #84

Th0rstenf commented 1 year ago

I'm still not convinced that having a config file is the way to go (see the arguments I had for closing #84 as won't be implemented) We can open a discussion about that though.

kozaka-tv commented 1 year ago

Yeah...I converted #84 into a Discussion. Config file brings nothing in our case.