WarmUpTill
a2906a534b
Add variable support to media condition
2023-01-15 09:33:46 -08:00
WarmUpTill
30294842f2
Add variable support to filter condition
2023-01-15 09:33:46 -08:00
WarmUpTill
eb478d2948
Add variable support to audio condition
2023-01-15 09:33:46 -08:00
WarmUpTill
e4ee55cd3d
Add variable support to source action
2023-01-15 09:33:46 -08:00
WarmUpTill
9c4fe38c97
Add variable support for screenshot action
2023-01-15 09:33:46 -08:00
WarmUpTill
81e64382c9
Add variable support to media action
2023-01-15 09:33:46 -08:00
WarmUpTill
b55db1a79a
Add variable support to filter action
2023-01-15 09:33:46 -08:00
WarmUpTill
dcdcd23361
Add variable support to audio action
2023-01-15 09:33:46 -08:00
WarmUpTill
3ccc057547
Clean up utilty
2023-01-15 09:33:46 -08:00
WarmUpTill
d04884fe8b
Resolve variables in log messages
2023-01-15 09:33:46 -08:00
WarmUpTill
7ae490ca25
Add option to resolve variable values in ToString()
2023-01-15 09:33:46 -08:00
WarmUpTill
cd74534e4c
Add source selection helpers
2023-01-15 09:33:46 -08:00
WarmUpTill
e4f9ccec3f
Add support for variables in text edit widgets of actions and conditions
2023-01-15 09:33:46 -08:00
WarmUpTill
f106329892
Enable use of multi-line values for variables
2023-01-15 09:33:46 -08:00
WarmUpTill
14f0194372
Add helper classes to support strings containing variables
...
* VariableResolvingString will accept strings potentially containing
variables as inputs and will automatically resolve any variables when
converting to std::string
* VariableTextEdit is a simple wrapper around ResizingPlainTextEdit to
enable working with VariableResolvingString
2023-01-15 09:33:46 -08:00
WarmUpTill
fafaafd578
Fix crash when showing frame for cursor condition
...
Extreme values for setGeometry() could cause a crash.
Limit frame size to screen union to avoid these crashes.
2023-01-14 05:09:42 -08:00
WarmUpTill
fd4476c0b3
Fix warnings
2023-01-07 11:49:53 -08:00
WarmUpTill
c96c81cf1d
Update macro properties dialog
...
* Visually group settings
* Hide hotkey settings if no macro or a group is selected
2023-01-07 11:49:53 -08:00
WarmUpTill
3e4293f9b0
Set background of macro action / condition splitter transparent
2023-01-07 11:49:53 -08:00
WarmUpTill
a80af327d7
Enable grouping of macros
...
Based on OBS's source-tree model/view implementation
2023-01-07 11:49:53 -08:00
WarmUpTill
2116bd7a78
Adjust function signature for macro rename signal
2023-01-07 11:49:53 -08:00
WarmUpTill
11571751b9
Fix crash related to highlights
...
A crash could occur when macro segments would be deleted while
highlighting of a segment was triggered.
2023-01-07 11:49:53 -08:00
WarmUpTill
f9de63bc88
Rename "count" to "runCount"
2023-01-07 11:49:53 -08:00
WarmUpTill
378bf4dfd6
Add button to open settings window to dock
...
Also apply current OBS theme to status dock by using "OBSDock" wrapper
class
2023-01-07 11:49:53 -08:00
WarmUpTill
5444d6fd9e
Adjust locale
2023-01-02 08:38:25 -08:00
WarmUpTill
15d7e2f972
Add option to check audio balance
2022-12-27 04:02:08 -08:00
WarmUpTill
357d9447f2
Add option to set audio balance
2022-12-27 04:02:08 -08:00
WarmUpTill
6c9d6095c9
Move slider spinbox to core lib
2022-12-27 04:02:08 -08:00
WarmUpTill
bba029e901
Only show audio monitoring options if monitoring is supported by OBS
2022-12-27 04:02:08 -08:00
WarmUpTill
4eafbb8f18
Improve plugin state action
...
Add options to check for ...
* Initial plugin start
* Plugin restart
* Scene collection change
2022-12-27 03:55:40 -08:00
WarmUpTill
e147402250
Improve random action
...
* Allow duplicates to enable weighting macro occurance
* Add option to allow consecutive execution of the same macro
2022-12-23 15:50:17 -08:00
WarmUpTill
e0602f8de2
Rename function and class
2022-12-23 14:10:37 -08:00
WarmUpTill
11f769cf09
Add option to check for change in visibilty
2022-12-23 14:10:37 -08:00
WarmUpTill
4ab88ea218
Add option to not reset seletion on any / all index type change
2022-12-23 14:10:37 -08:00
WarmUpTill
601b035285
Fall back to OBS-only key press if global key press can't be simulated
2022-12-23 13:18:45 -08:00
WarmUpTill
0027ae9bb8
Reuse last import path
2022-12-23 13:17:58 -08:00
WarmUpTill
70c9a3bd83
Improve video condition and preview dialog
...
* Fix crashes in preview dialog
* Pass copy of parameters instead of working directly with condition
data
* Set sensible default paths in file selection dialogs
* Add maximize button to preview dialog
* Derive preview dialog size from scene switcher settings window
* Use parameter helper classes
2022-12-23 13:16:22 -08:00
WarmUpTill
b7c6deddde
Add helper classes to more easily handle video condition parameters
2022-12-23 13:16:22 -08:00
WarmUpTill
feab4fe744
Add ValidPathOrDesktop() helper function
2022-12-23 13:16:22 -08:00
WarmUpTill
b5ec9e7586
Add const qualifier to various functions
2022-12-23 13:16:22 -08:00
WarmUpTill
a901f59f0f
Add option to interact with source settings buttons
2022-12-21 11:52:48 -08:00
WarmUpTill
ea826f1be0
Add option to check for mouse button press
...
Implemented only for Windows for now.
2022-12-21 11:52:36 -08:00
WarmUpTill
f7afb9c446
Cleanup
...
* Add include
* Fix typo
2022-12-21 11:52:36 -08:00
WarmUpTill
368034ad5a
Combine hotkeys with the same description into a single hotkey
2022-12-15 11:46:38 -08:00
WarmUpTill
0d1a3e5646
Add missing virtual destructors
2022-12-15 11:46:38 -08:00
WarmUpTill
76be75474b
Set default path for import to desktop folder
2022-12-15 11:46:38 -08:00
WarmUpTill
cca32e59c2
Do not allow running paused macros
...
The old behaviour was not consistent with the other action types.
(E.g. "Sequence" or "Random" ignore paused macros)
It would also only ever execute the first action of the given macro as
afterwards the plugin would realise the macro is paused and abort the
execution.
2022-12-10 13:06:55 -08:00
WarmUpTill
0ce9c515af
Add option to check / set audio monitoring of sources
2022-12-10 13:06:19 -08:00
WarmUpTill
c07ef3c699
Enable detection of user holding down hotkey
...
Previously only the key down event would trigger the condition
2022-12-05 07:23:13 -08:00
WarmUpTill
f3e5fb59f3
Reset duration modifier timers when stopping the plugin
2022-12-05 07:22:57 -08:00
WarmUpTill
ef0f6839e5
Remove unnecessary duration reset
2022-12-05 07:22:57 -08:00
WarmUpTill
8dc434f45e
Add option to match scene name to pattern
2022-12-04 09:26:38 -08:00
WarmUpTill
7b65286181
Add error handling for non X11 windowing systems
...
This will only avoid crashes.
Functionality relying on X11 might not be available in such situations.
(E.g. window title, idle detection, key press simulation)
2022-12-02 20:14:13 -08:00
WarmUpTill
05fce566f4
Use existing Qt functionality to get cursor position
...
Might resolve issues with cursor position detection on non-X windows on
Linux
2022-12-02 20:14:13 -08:00
WarmUpTill
cc3ce3f0e0
Resolve libXss.so symbols at runtime
...
This enables running the advanced scene switcher in environments in
which this library is not available with only minimal loss of
functionality (idle detection)
2022-11-28 10:18:18 -08:00
WarmUpTill
20ba02be8d
Fix MultiStateCondition not being saved
2022-11-26 08:46:31 -08:00
WarmUpTill
31511851c9
Add option to match date pattern
2022-11-26 08:46:31 -08:00
WarmUpTill
4f71c55034
Show simple date settings by default
2022-11-26 08:46:31 -08:00
WarmUpTill
46fb63e960
Add option to set working directory for new process
2022-11-26 05:47:24 -08:00
WarmUpTill
034a5255a5
Add option to select folder
2022-11-26 05:47:24 -08:00
WarmUpTill
1be2764d7b
Allow setting / checking the audio sync offset of sources
2022-11-26 05:47:13 -08:00
WarmUpTill
34355379ca
Clean up Linux platform code
...
* Fix foreground process check not working for large pids.
* Clean up memory leaks.
* Reduce code duplication.
* Style changes.
2022-11-21 11:15:07 -08:00
WarmUpTill
fd8e3c1e5c
Add support for libproc2 (Linux)
...
Needed for Debian build. (#590 )
Also cleaned up platform dependent sections of CMakeLists.txt.
2022-11-21 11:15:07 -08:00
WarmUpTill
7407bc7d82
Add option to toggle visibility
2022-11-20 10:09:56 -08:00
WarmUpTill
d636022576
Add support for additional source groups
...
Previous implementation missed source types like "scene" and "group"
2022-11-20 10:09:56 -08:00
WarmUpTill
ae9ef2bf3b
Fix potential crash for sources of unkown type
...
This can happen if a source was created but the corresponding
functionality was later removed (e.g. when loading a scene collection
containing a browser source on an OBS build without browser source
support)
2022-11-20 10:09:56 -08:00
WarmUpTill
624ff9f5c6
Fix freeze when changing scene collection
2022-11-16 08:44:15 -08:00
WarmUpTill
9bcced524b
Move transition behaviour related settings to General tab
2022-11-09 09:57:55 -08:00
WarmUpTill
50e26aba72
Improve focus handling
...
* Display current focus window / process
* Match against app name instead of window name on MacOS when using
Process condition
* Clean up
2022-11-06 09:53:25 -08:00
WarmUpTill
65ea7987c7
Add special handling for the "between" case when ignoring the date
...
In this case the left time value will be treated as the start of the
time range and the right one as the end.
This now enables specifying ranges that span over the 24h boundary.
E.g. 23:00:00 to 01:00:00.
This would have previously been treated as 01:00:00 to 23:00:00 instead.
2022-11-02 07:57:01 -07:00
WarmUpTill
a6839666ce
Fix scene item selection not saving index
2022-11-02 07:56:37 -07:00
WarmUpTill
e5843de4fc
Add option to check for average brightness
2022-10-21 13:15:11 -07:00
WarmUpTill
a330378c16
Improve option to check multiple media sources
...
* Added the option to select current, previous, variables, ...
* Refresh the source list on scene change
* General clean up of media condition
2022-10-21 13:15:00 -07:00
WarmUpTill
67c3b73e10
Fix date condition showing incorrect date
...
This is only affecting the displayed value when reopening a macro.
The entered values were stored / used correctly.
2022-10-08 15:59:15 -07:00
WarmUpTill
8b8829f7df
Fix scene item selection not returning expected number of items
2022-10-04 23:35:58 -07:00
WarmUpTill
66ddf3b4ef
Rebase volume control widgets to new OBS version
2022-10-04 02:59:59 -07:00
WarmUpTill
c9b5bbfc14
Fix multi state count not being saved
2022-10-04 02:59:59 -07:00
WarmUpTill
3e1e8d01b6
Add option to check for value change
2022-10-04 02:59:59 -07:00
Joao Eriberto Mota Filho
53bef18d15
Fix spelling and double word
2022-10-01 10:14:49 -07:00
WarmUpTill
ced1c7605a
Add option to set default value on load
2022-10-01 08:24:11 -07:00
WarmUpTill
7fdff72a92
Only show duration selection if dynamic length transition is selected
2022-10-01 08:24:11 -07:00
WarmUpTill
d2d042bae3
Move transition type definition
2022-10-01 08:24:11 -07:00
WarmUpTill
f70ae803a3
Enable creating screenshots of scenes
2022-10-01 01:58:57 -07:00
WarmUpTill
cdefbf383c
Add preview scene support
2022-10-01 01:58:57 -07:00
ubuntu
d107f653de
Fix warnings
2022-10-01 01:52:22 -07:00
WarmUpTill
22f4c11ee3
Hide Scene Groups tab
...
The tabs functionality is often confused with the sequence tab.
With the introduction of variables / macros this tab is unlikely to find
much use so also hide when legacy-tabs are hidden.
2022-09-29 10:59:08 -07:00
WarmUpTill
7683957267
Add variable support for scene item selection
2022-09-28 02:21:05 -07:00
WarmUpTill
e0d4c7244d
Add variable support for scene selection
2022-09-28 02:21:05 -07:00
WarmUpTill
b2ccd30f68
Clean up SceneSelection
...
* Adjust save and load functions to avoid conflicts with other values
* Move enum definition
2022-09-28 02:21:05 -07:00
WarmUpTill
1dea2e5f5d
Adjust to new Item, ItemSelection, and ItemSettingsDialog classes
2022-09-28 02:21:05 -07:00
WarmUpTill
c95fb6c2ea
Add macro action "Variables"
2022-09-28 02:21:05 -07:00
WarmUpTill
d779ced27f
Add macro condition "Variable"
2022-09-28 02:21:05 -07:00
WarmUpTill
c84c1638bf
Add support for variables
2022-09-28 02:21:05 -07:00
WarmUpTill
3ac4e22600
Add generic item selection and settings configuration widgets
...
To be used for configuring variables and connections
2022-09-28 02:21:05 -07:00
WarmUpTill
a59d15a77a
Add option to disable hotkey registration for new macros
2022-09-28 02:20:22 -07:00
Joao Eriberto Mota Filho
c2edc7c612
Fix spelling errors in final binary
2022-09-27 11:07:31 -07:00
WarmUpTill
77fe75f738
Fix websocket condition layout when enabling regular expressions
2022-09-24 00:45:58 -07:00
WarmUpTill
fdb70a32c6
Fix splitter position save data size growing on scene collection change
2022-09-24 00:45:58 -07:00
WarmUpTill
a8953f23f4
Add backwards compatability to at least OBS 26.1.2
...
Required for Debian Stable
2022-09-20 14:01:22 -07:00
WarmUpTill
4c20ac605d
Fix UI not showing correct logic type if removing root condition
2022-09-19 11:36:28 -07:00
WarmUpTill
75cdd3c80d
Add option to reduce video matching latency
2022-09-19 11:36:28 -07:00
WarmUpTill
b2585ae176
Fix potential crash in video condition
2022-09-19 11:36:28 -07:00
WarmUpTill
d1e912cb24
Clean up video condition widget
...
* only show area selection widget if option is enabled
* fix slight alignment issue
* move "Show match" button to the bottom of the widget
2022-09-19 11:36:28 -07:00
WarmUpTill
bd5ecb3b3b
Add "slideshow" to list of supported media sources
2022-09-17 00:40:10 -07:00
WarmUpTill
1a8a4584c1
Add support for websocket vendor events
2022-09-16 23:55:36 -07:00
WarmUpTill
6d755ad570
Add content / modification date changed as separate options
...
Previously this would require knowledge of regular expressions to match
any content.
2022-09-15 12:25:37 -07:00
WarmUpTill
99ceb6a42a
Style changes
...
* Move FileType definition
* Change capitalization
2022-09-15 12:25:37 -07:00
WarmUpTill
7ddfdcf5be
Switch to RegexConfig
2022-09-15 12:25:37 -07:00
WarmUpTill
a243e026c8
Add RegexConfig class and widget
...
This allow more control over regular expressions, when they are used
throughout the plugin, as it enables configuration of additional
QRegularExpression::PatternOptions.
2022-09-15 12:25:37 -07:00
WarmUpTill
f40f98c702
Move setButtonIcon to utility
2022-09-15 12:25:37 -07:00
WarmUpTill
d99618d2f6
Enable multiline regex pattern matching
2022-09-15 12:25:37 -07:00
WarmUpTill
a93305e16e
Convert line endings to "\n" to allow easier matching
2022-09-15 12:25:37 -07:00
WarmUpTill
bddbcebece
Slight layout adjustments to better support new OBS themes
2022-09-05 12:19:07 -07:00
WarmUpTill
aeaa13955c
Hide password
2022-09-05 12:19:07 -07:00
WarmUpTill
f99eb6c3c8
Set sensible default paths when browsing using FileSelection
...
Previously FileSelection would default to the OBS run dir
2022-09-03 10:31:47 -07:00
WarmUpTill
c16b97e5cd
Add option to save screenshot to custom path
2022-09-03 10:31:47 -07:00
WarmUpTill
0d29fb2ee1
Add support to save screenshots to file
2022-09-03 10:31:47 -07:00
WarmUpTill
7b44c28767
Fix warnings
2022-09-01 13:20:35 -07:00
WarmUpTill
9bed6df2b5
Adjust macro list to new OBS layout changes
2022-09-01 13:20:35 -07:00
WarmUpTill
9e2ca1529c
Save splitter positions on macro tab
2022-08-31 12:12:25 -07:00
WarmUpTill
e62504968c
Move comment to correct line
2022-08-31 12:12:25 -07:00
WarmUpTill
97720a798c
Waste less space in the UI
...
* Adjusted layout margins
Nested layouts lead to lots of wasted space.
* Removed unnecessary "Close" button
Closing the settings dialog via "x" or the close button does not make
a difference so it can savely be removed.
2022-08-31 12:12:25 -07:00
WarmUpTill
636630fdf3
Add splitter between macro list and macro edit area
...
This will make editing macros easier on smaller window sizes as the list
or edit area can be resized to the users needs
2022-08-31 12:12:25 -07:00
WarmUpTill
c3aa421bc5
Add option to split recording
2022-08-31 07:58:24 -07:00
WarmUpTill
046de4118f
Rework curl helpers
2022-08-25 11:26:31 -07:00
WarmUpTill
c9177c4429
Add Http action
2022-08-25 11:26:31 -07:00
WarmUpTill
9704d5f1f4
Add AnimationFinished signal
2022-08-24 12:53:25 -07:00
WarmUpTill
1978b8f1a1
Save and load websocket connections
2022-08-24 12:53:25 -07:00
WarmUpTill
59cc37c90a
Add websocket condition
2022-08-24 12:53:25 -07:00
WarmUpTill
866c49bffd
Add websocket action
2022-08-24 12:53:25 -07:00
WarmUpTill
c9370c8929
Add websocket helper functions to receive and send messages
2022-08-24 12:53:25 -07:00
WarmUpTill
e97f41a356
Add connection-manager
...
Used to add, remove, and modify websocket connections
2022-08-24 12:53:25 -07:00
WarmUpTill
c9820e77d8
Add option to check states of multiple macros at the same time
2022-08-23 11:31:48 -07:00
WarmUpTill
a268f98b73
Rework to use MacroList widget
2022-08-23 11:31:48 -07:00
WarmUpTill
700e75a2b5
Fix potential crashes when removing macros
2022-08-23 11:31:48 -07:00
WarmUpTill
19e79aff50
Add macro list widget
2022-08-23 11:31:48 -07:00
WarmUpTill
c8f684ce9f
Add helper to get internal ref name
2022-08-23 11:31:48 -07:00
WarmUpTill
1027dda6f6
Enable inheriting from both MultiMacroRef* and MacroRef*
...
Initially to be used only for the "Macro" condition type
2022-08-23 11:31:48 -07:00
WarmUpTill
6f7bcc34af
Add helper functions to save / load list of macro refs
2022-08-23 11:31:48 -07:00
WarmUpTill
face0f7f3c
Add MultiMacroRefCondtition
2022-08-23 11:31:48 -07:00
WarmUpTill
7480e793b8
Adjust General tab layout for new Yami theme of OBS 28
2022-08-23 10:58:57 -07:00
WarmUpTill
53a5fa6ff4
Restructure "src/" folder
...
Moving files from the "src/" folder into "src/legacy", "src/macro-core",
and "src/utils" was necessary as it was becoming a bit too cluttered.
2022-08-17 11:08:53 -07:00
WarmUpTill
5ae9e18044
Rework plugin to allow split into module and library part
...
This is mostly intended to allow easier bundling for MacOS but might
prove to be useful for other areas as well.
2022-08-17 11:08:53 -07:00
WarmUpTill
f000758820
Add Qt version checks to support Qt5
2022-08-17 11:08:53 -07:00
WarmUpTill
786c9592a1
Fix depecrations and clean up backwards compatibility checks
2022-08-17 11:08:53 -07:00
WarmUpTill
5cb50821e0
Rewrite CMakeLists.txt to support new build system based on obs-plugintemplate
2022-08-17 11:08:53 -07:00
WarmUpTill
bcdfe79831
Add action to refresh sources
2022-08-03 11:35:06 -07:00
WarmUpTill
ec93babed6
Fix duration modifier of media conditions not saving
2022-08-03 11:34:25 -07:00
WarmUpTill
e075dcd4be
Cleanup
...
Rename locale entry to match naming scheme
2022-06-28 11:25:50 -07:00
WarmUpTill
4113f94528
Add condition to check current profile
2022-06-28 11:25:50 -07:00
WarmUpTill
db3affc43d
Set screenshot file extension to *.png
...
Files without any file extension are not properly loaded as an QImage and
thus pattern matching might not work
2022-06-28 11:25:38 -07:00
WarmUpTill
925729e6b8
Fix hotkeys not being registered for new macros
2022-06-22 14:13:34 -07:00
WarmUpTill
4d2c3e0f80
Copy settings of selected transition for show / hide transition
2022-06-13 11:40:12 -07:00
WarmUpTill
1665841589
Fix freeze on setting hide/show transition
...
A "private" copy of the transition source has to be used for show and
hide transitions as otherwise this can lead to an OBS freeze the next
time the show / hide transition is used
2022-06-13 11:40:12 -07:00
WarmUpTill
e89343b03e
Fix crash when deleting last macro
...
A crash could occur if the last macro was deleted and the highlighting
of macro segments was enabled due to the macro segments already being
deleted while the widgets representing these segments were not
2022-06-12 06:45:11 -07:00
WarmUpTill
a9c79b02ff
Fix UI elements shifting slightly
...
Content margins of scene item selection widget would cause Transition
action to shift slightly whenever the widget's visibility changed
2022-06-12 04:50:13 -07:00
WarmUpTill
c6541825f8
Add option to select before and after for time of simple date check
2022-06-12 03:46:18 -07:00
WarmUpTill
003a1aa696
Remove delay before saving replay buffer
2022-06-12 03:46:04 -07:00
WarmUpTill
20767630c0
Add option to set show, hide, and override transitions ( #471 )
2022-06-12 12:45:45 +02:00
WarmUpTill
70fb972f84
Add option to ignore time component in simple check
2022-05-18 04:55:55 -07:00
WarmUpTill
4d65956f25
Fix MacOS memory leak
2022-05-18 04:55:28 -07:00
WarmUpTill
a2e4580970
Fix media and audio condition unexpectedly returning true after unpause
2022-05-12 11:42:39 -07:00
WarmUpTill
8da1e3ad40
Rework time restriction to support "within" duration modifier
...
Also renamed duration constraint to duration modifier
2022-05-12 11:42:39 -07:00
WarmUpTill
92b6a057f6
Restructure files
...
- Move condition and action related parts into separate files
- Move duration constraint to macro condition
- Move duration constraint widget to macro condition edit
- Adjust includes
2022-05-12 11:42:39 -07:00
WarmUpTill
70a3ae0245
Fix waiting for transition to complete with fixed duration transitions
2022-05-12 11:42:39 -07:00
WarmUpTill
8cc7b65436
Do not allow duplicates in condtion and action type selection
2022-05-12 11:42:39 -07:00
WarmUpTill
fd18e64e19
Add studio mode action (previously scene swap and preview scene action)
...
The option to enable and disable studio mode is new
2022-05-12 11:42:39 -07:00
WarmUpTill
e4526c4e81
Enable option to check previous scene during active transition
2022-05-07 16:55:36 -07:00
WarmUpTill
d6ef69a3d4
Add spinbox control to threshold slider
2022-05-06 11:37:43 -07:00
WarmUpTill
b5eb0b3f3e
Add option to disable registering of pause control hotkeys
2022-05-06 11:37:28 -07:00
WarmUpTill
22a361f977
Fix scene group not being random
2022-05-04 06:20:10 -07:00
WarmUpTill
d47b878b56
Display next match time if repeat is selected
2022-04-24 09:45:22 -07:00
WarmUpTill
9105087036
Show update on repeat option only if repeat is selected
2022-04-24 09:45:22 -07:00
WarmUpTill
e26f41a1a8
Add option to preserve original date in combination with repeat option
2022-04-24 09:45:22 -07:00
WarmUpTill
ff513d8664
Fix cursor condition frame blocking mouse inputs
2022-04-24 06:28:28 -07:00
WarmUpTill
07f11c63f0
Don't allow manipulating area selection when highlighting match
2022-04-02 12:51:57 -07:00
WarmUpTill
6685a1ccaa
Do not spam first time setup message
2022-04-02 09:14:26 -07:00
WarmUpTill
ecee919e0b
Hide legacy tabs by default and adjust default tab order
2022-04-02 09:14:26 -07:00
WarmUpTill
e8c1b673c0
Allow accessing macro properties even without selecting any macro
2022-04-02 09:14:26 -07:00
WarmUpTill
1a8b185f7d
Make date "At"-type check more robust
...
Previously the "At" check could skip the desired time window if e.g another
macro was performing a long wait wait action or condition was taking
a long time to check.
The date condition will now take into consideration when the last time
was the condition checked a date instead of simply applying a fixed
window of "switcher->interval".
2022-04-02 09:13:01 -07:00
WarmUpTill
eb8a9df627
Create cropped screenshot depending on selected area
2022-04-02 00:29:29 -07:00
WarmUpTill
123d308a0d
Add option to select OSB' main video output
2022-03-29 10:02:44 -07:00
WarmUpTill
102b93d3b5
Fix deadlock when changing condition / action type
...
The video preview dialogs could not exit as the destructor was holding
the main mutex while joining the preview thread, which in turn was
waiting to get the access to the mutex to exit its main loop
2022-03-29 10:02:44 -07:00
WarmUpTill
eeceb7cbd9
Fix random action not being random
2022-03-27 11:45:50 -07:00
ubuntu
3ed7727c85
Fix warnings
2022-03-26 15:40:19 -07:00
ubuntu
a922d6a73d
Add missing reordering of action widgets
2022-03-26 15:40:19 -07:00
WarmUpTill
9ba8a02a11
Add hotkey to move current macro segment selection up / down
2022-03-26 10:05:50 -07:00
WarmUpTill
e61539a878
Reuse macro segment widgets if possible
2022-03-26 10:05:50 -07:00
WarmUpTill
5a78c99703
Ignore delete hotkey if macro tab is not in focus
2022-03-26 10:05:50 -07:00
WarmUpTill
dbbcf04b8a
Auto scroll during drag if touching top or bottom areas of list widget
2022-03-26 10:05:50 -07:00
WarmUpTill
6a8066795b
Improve drag & drop behaviour of macro segments
...
- Depending on the drop position you can either drop before or after a
widget
- Added a visual indicator where the macro segment will be dropped
2022-03-26 10:05:50 -07:00
WarmUpTill
e0763a4957
Improve performance for drag and drop
...
- Changing the style sheets for the selection frame dynamically considerably
slowed down the handling of the mouse events.
Instead two separate widgets with fixed style sheets are now used.
- Recreating the macro segments after dropping a widget took too much
time leading to unresponsive drop operations
2022-03-26 10:05:50 -07:00
WarmUpTill
1ab9a38914
Selection idx handling was moved to macro segment list widget
2022-03-26 10:05:50 -07:00
WarmUpTill
a6ca266dab
Fix potential crash / memory leak when clearing layouts
2022-03-26 10:05:50 -07:00
WarmUpTill
0a8f279e97
Rework macro segment list widget
...
- Allows drag and drop reorder
- Handles selection change
- Handles highlight
- Handles changing collapse change
- Handles add, insert, remove, and clear functionality
2022-03-26 10:05:50 -07:00
WarmUpTill
1b63978acb
Add media seek action
2022-03-26 10:05:40 -07:00
WarmUpTill
ddc2ee4fa5
Remove "Played to end" and replace it with "Playlist end" state
...
"Ended" can now be used to also detect the end of individual playlist
items.
2022-03-26 10:05:40 -07:00
WarmUpTill
11fede6cc3
Fix start streaming action only working every second attempt
2022-03-18 13:08:31 -07:00
WarmUpTill
1d45072c58
Recurse in setLayoutVisible()
2022-03-15 10:58:29 -07:00
WarmUpTill
d450210d39
Add option to visually select area to check
2022-03-15 10:58:29 -07:00
WarmUpTill
5462334693
Add option to perform video check only on parts of the video source
...
This will significantly reduce CPU usage if the video source larger than
the selected area and make it easier to only check parts of a video
source output image.
2022-03-15 10:58:29 -07:00
WarmUpTill
293d3dd16c
Work around macro handle buttons not being redrawn
...
Not sure what exaclty causes this - investigating it further is not
worth the time at the moment
2022-03-12 06:35:59 -08:00
WarmUpTill
71b6ae4d78
Add additional settings dialog to macro tab
...
This settings dialog currently contains debug features to highlight
recently executed macros, actions and conditions.
2022-03-12 06:35:59 -08:00
WarmUpTill
69d6d63dfd
Increase macroSplitter size by moving condition controls into handle
2022-03-12 06:35:59 -08:00
WarmUpTill
d693dbc844
Add highlighting of onChagne if actions were prevented recently
2022-03-12 06:35:59 -08:00
WarmUpTill
428e114a0a
Highlight recently executed action and true conditions
2022-03-12 06:35:59 -08:00
WarmUpTill
001d8b4714
Move hightlight and update of paused state into MacroListEntryWidget
2022-03-12 06:35:59 -08:00
WarmUpTill
d1fe5beaeb
Fix fade animation triggering unexpectedly for controls
2022-03-05 17:09:58 -08:00
WarmUpTill
036afb4a4f
Add option to abort active fade when starting new fade
2022-03-05 15:38:46 -08:00
WarmUpTill
c87589d534
reduce duplicate code
2022-03-05 15:38:46 -08:00
WarmUpTill
1df513585d
Add option to specifiy rate of change instead of duration for audio fade
2022-03-05 15:38:46 -08:00
WarmUpTill
e1bacd75b6
Move audio fade threads to generic _helperThreads of macro
...
This will allow waiting for and stopping audio fades when calling Stop()
for a particular macro
2022-03-05 15:38:46 -08:00
WarmUpTill
7095f4668c
Rework wait action to support being interrupted by calling Stop()
2022-03-05 15:38:46 -08:00
WarmUpTill
8131ad3c24
Block when calling Stop() until macro is stopped
2022-03-05 15:38:46 -08:00
WarmUpTill
ac5b2c3f9e
Rework handling of fade threads
...
Previous implementation did not allow ongoing fades to be stopped.
New implementations allows waiting for fade to complete.
2022-03-05 15:38:46 -08:00
WarmUpTill
a86f7d0fd4
Set background of openVR controls transparent
2022-03-05 07:40:14 -08:00
WarmUpTill
da28fea2e0
Fix potential freeze or crash with "Show match" dialog
...
This is a workaround to handle random segfaults triggered when using ...
QMetaObject::invokeMethod(this, "RedrawImage", -Qt::QueuedConnection,
Q_ARG(QImage, image));
... from within CheckForMatchLoop().
Even using BlockingQueuedConnection causes deadlocks.
2022-02-26 16:08:55 -08:00
WarmUpTill
b6b0531dbc
Fix size ofi new collapsed segments containing ResizingPlainTextEdit
2022-02-26 16:08:55 -08:00
WarmUpTill
2de0a94756
Fix highlight animations never stopping
2022-02-26 16:08:55 -08:00
WarmUpTill
d018740442
Fix potential deadlock in ShowMatchDialog
2022-02-26 16:08:55 -08:00
WarmUpTill
d89f8a7972
Clear pixmap if screenshot creation failed
2022-02-26 16:08:55 -08:00
WarmUpTill
f7a2aa09cb
Fix potential crash
2022-02-26 16:08:55 -08:00
WarmUpTill
04825e4b88
Fix warning
2022-02-26 08:23:10 -08:00
WarmUpTill
1cfd981245
Reduce text edit areas size of file, filter, source, transform segments
2022-02-26 08:23:10 -08:00
WarmUpTill
6fb8297275
Use QPropertyAnimation::DeleteWhenStopped PulseWidget() when once is set
...
Also fixes potential crash when waiting for single shot timer when
looping and widget and animations are deleted in the meantime
2022-02-26 08:23:10 -08:00
WarmUpTill
4253c99cf2
Fade out segment controls which will likely not be needed
...
This was done to give some hints which controls will likely need to be
used to avoid mistakenly clicking on the action controls when editing
conditions.
2022-02-26 08:23:10 -08:00
WarmUpTill
ae13a68cae
Double click on list item in run and sequence action to edit
2022-02-26 08:23:10 -08:00
WarmUpTill
4e5aae7e5f
Add 'OBS stats' condition type ( #414 )
...
It supports various different types of stats:
* fps
* cpu
* ram
* frame time
* skipped frames
* missed frames
* dropped frames
* data size sent
* bitrate
2022-02-26 11:37:54 +01:00
WarmUpTill
88dff37776
Allow drag and drop reordering of macros
2022-02-24 14:15:23 -08:00
WarmUpTill
83df1ab658
Skip collapse animation if section is already in the desired state
2022-02-24 14:15:23 -08:00
WarmUpTill
5298b14803
Use name of macro to be copied in addNewMacro() dialog
2022-02-24 14:15:23 -08:00
WarmUpTill
eeedf11c6a
Add hotkey to delete macro segments
2022-02-24 14:15:23 -08:00
WarmUpTill
89efb6d1c8
Allow selecting either an action or condition but not both
2022-02-24 14:15:23 -08:00
WarmUpTill
1054bce4a7
Remove slight movement of macro segment when (de-)selecting them
2022-02-24 14:15:23 -08:00
WarmUpTill
d3cbddf0a4
Allow selecting scene groups in preview scene change action
2022-02-24 14:15:05 -08:00
WarmUpTill
a91fed1583
Simplify waitForTransitionChange()
...
Will now also work if the target scene is the already currently active
scene.
2022-02-24 14:15:05 -08:00
WarmUpTill
c94a791d19
Allow switching to already active scene if in studio mode
...
Preview and program scene can differ in regards to the active scene
items.
Thus it can make sense to switch to the already active scene.
2022-02-24 14:15:05 -08:00
WarmUpTill
02e380a9f2
Allow selecting current and previous scene in preview scene action
2022-02-24 14:15:05 -08:00
WarmUpTill
cc9d5897da
Add deprecation warning for legacy tabs
2022-02-20 04:50:12 -08:00
WarmUpTill
8e3eb8519b
Fix potential crashes when adding or removing macro segments
...
I wrongly assumed that std::deque would guarantee that pointers to
elements in deque would not be invalidated by insert() or erase() but
this is not the case it seems.
""
An erase in the middle of the deque invalidates all the iterators and
references to elements of the deque. An erase at either end of the deque
invalidates only the iterators and the references to the erased
elements.
""
I guess I got lucky noone ran into these sorts of crashes for now?
2022-02-20 04:50:12 -08:00
WarmUpTill
354ef56070
Do not select any item if pressing add without any active selection
2022-02-20 04:50:12 -08:00
WarmUpTill
352dac5e32
Add MacroSegmentList to allow deselecting items
...
Previously once a macro segement was selected you could only deselect it
by clicking on different macro segment, thus never allowing the user to
deselect all macro segments
2022-02-20 04:50:12 -08:00
WarmUpTill
584fe4b3b6
Copy logic type when adding conditions
2022-02-20 04:50:12 -08:00
WarmUpTill
bdd489aea5
Fix crashes related to PulseWidget()
...
* Fix crash if widget was deleted during animation
* Fix crash if multiple animations were started at the same time
2022-02-20 04:50:12 -08:00
WarmUpTill
0b2e725471
Do not run collapse animation when calling SetContent()
2022-02-20 04:50:12 -08:00
WarmUpTill
45e8378021
Remove old macro segment controls
2022-02-20 04:50:12 -08:00
WarmUpTill
955f308c59
Add list-like controls to macro actions and conditions
2022-02-20 04:50:12 -08:00
WarmUpTill
2c25bb4dd4
Make slider background transparent
...
Sliders, e.g. in the video condition, would otherwise block parts of the
highlight frame around macro segments.
2022-02-18 13:40:33 -08:00
WarmUpTill
d8dcd91ed9
Split video condition into multiple files
2022-02-18 13:40:33 -08:00
WarmUpTill
03900e936b
Rename class AdvSSScreenshotObj to ScreenshotHelper
2022-02-18 13:40:33 -08:00