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
WarmUpTill
6d2360eb87
Clean up AdvSSScreenshotObj usage in video condition
2022-02-18 13:40:33 -08:00
WarmUpTill
ab4a70a758
Refresh contents of "Show match" dialog every second
2022-02-18 13:40:33 -08:00
WarmUpTill
b48276bd5c
Add option to check for OBS shutdown to MacroConditionPluginState
2022-02-18 13:35:15 -08:00
WarmUpTill
34167366db
Add day of week based check to date condition
2022-02-12 17:57:35 -08:00
WarmUpTill
bfa8f4d9d5
Visually clean up date condition
...
- add "and" separator if "between" check is chosen
- split dateTimeEdit into a dateEdit and a timeEdit to make editing
easier
- move ignore* checkboxes in front of respective edit widgets to make
their intention more clear and add tooltips to further clarify their
use
2022-02-12 17:57:35 -08:00
WarmUpTill
1328896801
Reopen last opened tab in current session
...
Will reset to General tab on startup / scene collection change
2022-02-10 11:29:44 -08:00
WarmUpTill
0effbd8ace
Add context menu entry for expanding and collapsing edit areas
2022-02-04 11:38:42 -08:00
WarmUpTill
08a8157f3a
Reduce spacing between macro segments
2022-02-04 11:38:42 -08:00
WarmUpTill
262bb3f1ee
Keep size of individual macro sgements consistent
...
Previously the segments would expand if there was still room in the
condition and action area.
2022-02-04 11:38:42 -08:00
WarmUpTill
0771f939a6
Restore original color after PulseWidget() completes
2022-02-04 11:38:42 -08:00
WarmUpTill
a81ee605d6
Rename function
2022-02-04 11:38:42 -08:00
WarmUpTill
1e7726bcfc
Add option to highlight recently executed macros on the Macro tab
2022-02-04 11:38:42 -08:00
WarmUpTill
dc698e426d
Add MacroListEntryWidget
...
To be used for macro tab's macro list as regular QListWidgetItem are too
limited
2022-02-04 11:38:42 -08:00
WarmUpTill
a4f66dbbcd
Fix warnings
2022-02-04 11:38:42 -08:00
WarmUpTill
1516b9a939
Add option to hide legacy tabs
2022-02-04 11:38:42 -08:00
WarmUpTill
e13f20c860
Adding frame highlighting individual macro segments
2022-02-04 11:38:42 -08:00
WarmUpTill
727992f1d0
Clean up stylesheet usage
2022-02-04 11:38:42 -08:00
WarmUpTill
4e75a15118
Clean up unnecessary variable
2022-02-04 11:38:42 -08:00
WarmUpTill
48368f4bd6
Move vertical / horizontal control handling to macro segment
2022-02-04 11:38:42 -08:00
WarmUpTill
61d9031933
Add option to toggle between vertical and horizontal macro controls
2022-02-04 11:38:42 -08:00
WarmUpTill
487c735e13
Delay show and hide of macro controls
2022-02-04 11:38:42 -08:00
WarmUpTill
7a34c334bd
Highlight macro segments new position when moving it up or down
2022-02-04 11:38:42 -08:00
WarmUpTill
4988683e22
Resize conditions and actions areas on expand / collapse all
2022-02-04 11:38:42 -08:00
WarmUpTill
cb681643c8
Fix scene switch action blocking unexpectedly
...
If "wait for transition" was checked and no valid scene was selected the
waitForTransitionChange() function will wait for its maximum allowed
duration as switcher->currentScene will never be null.
2022-02-02 09:55:35 -08:00
WarmUpTill
af188b55df
Move plugins to separate folder ( #400 )
2022-01-29 15:47:16 +01:00
WarmUpTill
f287a1041d
Add option to also check for configured volume level
2022-01-25 12:46:16 -08:00
WarmUpTill
fda9b1c3ea
Fix dock location and size not saving correctly
...
OBS will handle the docking position / window size and position as long
as an object name is set
2022-01-25 10:33:41 -08:00
WarmUpTill
abd6fd6b7e
Add sequence action ( #395 )
2022-01-22 18:07:26 +01:00
WarmUpTill
2909b1300e
Fix empty statusControl of general tab blocking mouse input
2022-01-22 06:14:03 -08:00
WarmUpTill
d1331a60b9
Fix crash on exit caused by status dock
2022-01-22 06:14:03 -08:00
WarmUpTill
d5fc3befb8
Remove QtConcurrent dependency
2022-01-22 06:14:03 -08:00
WarmUpTill
e4bd1fc180
Reduce amount of signals emitted on repopulate
2022-01-22 06:14:03 -08:00
WarmUpTill
59c87ca027
Emphasize that a duration of 0s means using default duration
2022-01-21 09:51:00 -08:00
WarmUpTill
eda161de39
Sort condition and action selection alphabetically
2022-01-21 09:51:00 -08:00
WarmUpTill
caea16c6ad
Hide selected macro for run or stop action
...
Running a macro from within itself is not supported and stopping it from
withint itself does not seem useful either.
2022-01-21 09:51:00 -08:00
WarmUpTill
e3a39a5df7
Add label clarifying the condition's intent
2022-01-21 09:51:00 -08:00
WarmUpTill
38b7e08711
Add macro action to stop other macros
2022-01-21 09:51:00 -08:00
WarmUpTill
7349841758
Fix unexpectedly returning true for hotkey condition
...
The condition would return true after unpause, if a configured hotkey was pressed
during the time the macro was paused.
2022-01-21 09:50:19 -08:00
WarmUpTill
5d58269b02
Add function to access parent macro from condition or action
2022-01-21 09:50:19 -08:00
WarmUpTill
82503286ea
Use the same widget for main settings window and status dock
2022-01-14 09:11:36 -08:00
WarmUpTill
16ee789c82
Add option to perform macro actions only on condition change
2022-01-06 08:41:18 -08:00
WarmUpTill
d040a01016
Reintroduce checkbox to change current scene check transition behaviour
2022-01-06 08:41:18 -08:00
WarmUpTill
eb952afe58
Enable time constraints for transition condition
2022-01-06 08:41:18 -08:00
WarmUpTill
016d963598
Fix volume not changing when selecting fade with a duration of 0s
2022-01-04 19:32:53 -08:00
WarmUpTill
d31ae77176
Run macros even if they are paused when pressing "Run Macro"
2022-01-04 19:32:53 -08:00
WarmUpTill
2c1b97e5cd
Abort macro early if it was paused
2022-01-05 03:39:37 +01:00
WarmUpTill
2d61189655
Display message on first boot
2022-01-04 17:16:38 -08:00
WarmUpTill
82c20b871b
Don't ask to backup settings if there is nothing to backup
2022-01-04 17:16:38 -08:00
WarmUpTill
bd52ef8e84
Don't abort build if OpenVR cannot be found
2022-01-04 15:50:26 -08:00
WarmUpTill
59e1ddd31e
Add openvr condition
2022-01-04 15:50:26 -08:00
WarmUpTill
a320d78a08
Separate OpenCV dependency into its own lib
...
This should avoid issues of the whole plugin not loading if OpenCV is
not available.
This approach should also work for possible future external
dependencies.
2022-01-03 18:22:02 -08:00
WarmUpTill
ce5730428c
Remove unnecessary uses of UNUSED_PARAMETER macro
2022-01-03 13:48:21 -08:00
WarmUpTill
f7b9795014
Add option to check if source is muted
2022-01-03 13:48:21 -08:00
WarmUpTill
3417fc5407
Add status dock
2022-01-03 11:32:22 -08:00
WarmUpTill
2649efe8b3
Adjust to SceneItemSelection and SceneItemSelectionWidget
2022-01-03 08:52:32 -08:00
WarmUpTill
3af5897427
Rename function
2022-01-03 08:52:32 -08:00
WarmUpTill
92877a6b30
Add SceneItemSelection and SceneItemSelectionWidget
...
Allows selecting individual scene items if there are duplicate entries
for the same source.
2022-01-03 08:52:32 -08:00
WarmUpTill
fbdaffcbf6
Clean up formatJsonString()
2022-01-03 08:52:32 -08:00
WarmUpTill
ba111c6caa
Add action to import settings from file
2022-01-01 18:26:40 -08:00
WarmUpTill
5c8760ac0a
Add action to switch scene collection
2022-01-01 18:26:40 -08:00
WarmUpTill
e0cca2a0d4
Add action to switch profile
2022-01-01 18:26:40 -08:00
WarmUpTill
d69aba8ab7
Remove dependency to SceneSwitcherEntry and SwitchWidget
2021-12-28 05:07:37 -08:00
WarmUpTill
a2ba7adc56
Add option to wait for transition to complete
2021-12-28 05:07:37 -08:00
WarmUpTill
0881146a25
Fix startup behavior not loading correctly
2021-12-22 13:12:41 -08:00
WarmUpTill
5224d6589e
Reduce log output when running macro in background
2021-12-22 13:12:27 -08:00
WarmUpTill
15eeec8ebf
Add condition "Studio Mode"
...
Can be used to check whether or not studio mode is active or to check
the current preview scene
2021-12-22 13:12:27 -08:00
WarmUpTill
ed7f375d64
Fix crash when reordering macros
2021-12-22 13:12:27 -08:00
WarmUpTill
8d83df9034
Add warning if macro functionality is not running with highest priority
2021-12-06 10:27:20 -08:00
WarmUpTill
0029977ae1
Adjust and move default priorities
...
New users will be confused if their macros are not executed,
if they are "blocked" by other scene switching methods.
2021-12-06 10:27:20 -08:00
WarmUpTill
70b3c2e240
Workaround OpenCV MacOS build issue
2021-12-04 08:32:52 -08:00
WarmUpTill
1785035b96
Fix warnings
2021-12-04 08:32:52 -08:00
WarmUpTill
69ab101ba3
Fix header info for media and transition condition
2021-12-04 08:32:52 -08:00
WarmUpTill
d1e752cda1
Remove Linux workaround
2021-12-04 08:32:37 -08:00
WarmUpTill
845506f7e4
Allow running macros in parallel to other macros
2021-12-04 04:09:30 -08:00
WarmUpTill
9dd47b811b
Add button to manually run macro actions
2021-12-04 04:09:30 -08:00
WarmUpTill
eafad7fe7f
Add option to match any or all media sources of a specific scene
2021-12-04 04:04:55 -08:00
WarmUpTill
f36062859d
Allow setting random duration in specified range
2021-12-04 03:37:46 -08:00
WarmUpTill
949e26781a
Enable screenshots of scenes
2021-12-04 03:37:08 -08:00
WarmUpTill
bb954a2e9a
Add macro action for triggering screenshots
2021-12-04 03:37:08 -08:00
WarmUpTill
631423a251
Add condition to check if the plugin is running
...
This will only ever return true as the plugin cannot perform checks if
it is not running.
This is intended to be used in cases where it can be useful to trigger
actions once the plugin was stopped and restarted or if one wants to
perform actions after a certain amount of plugin "uptime".
2021-12-01 11:38:38 -08:00
WarmUpTill
c527f15744
Add hotkey to toggle pause state of macros
2021-12-01 09:23:04 -08:00
WarmUpTill
8fdacc3ef7
Suggest file name when saving settings
2021-11-28 09:57:30 -08:00
WarmUpTill
02918785ba
Hide waitForTransition option if waiting for transition
...
The additions to the transition condition to check for target and source
scene of a ongoing transition fullfill the same role and this option
does not really fit the current scene check anyways.
2021-11-28 09:56:50 -08:00
WarmUpTill
2d9e6bcaa2
Add transition option to check for transition source and target scene
2021-11-28 09:56:50 -08:00
WarmUpTill
f2570e1deb
Add the option to execute another macro's actions
2021-11-28 09:56:37 -08:00
WarmUpTill
f9afbcbc59
Add macro action to display system tray notifications
2021-11-28 09:56:17 -08:00
WarmUpTill
51b4ef326d
Add fallback using QDesktopServices::openUrl() for "run" action
...
Users not familiar with launching processes with arguments might expect
the run action to behave like clicking on icons on the desktop and be
frustrated if the "file is not being opened".
Thus introducing this fallback might help some users out.
2021-11-23 11:11:41 -08:00
WarmUpTill
ad08df3d2f
Clean up adding new macros to Random action
2021-11-23 11:11:41 -08:00
WarmUpTill
4d32e921f9
Resize list to minimum necessary height
2021-11-23 11:11:41 -08:00
WarmUpTill
d7102d395e
Ensure contents of comboboxes are readable when changing scene/filter
2021-11-20 03:52:54 -08:00
WarmUpTill
82a41694a1
Allow interacting with OBS main window while plugin settings are opened
2021-11-20 03:52:54 -08:00
WarmUpTill
a1cae263c1
Add macro action "random" ( #353 )
...
This should be expanded upon by adding the ability to add weights to each macro.
2021-11-20 12:52:12 +01:00
WarmUpTill
cce6e240c2
Add option to fade in/out volume change
2021-11-17 12:30:10 -08:00
WarmUpTill
9d04b4d1a0
Move setLayoutVisible() to utility
2021-11-17 12:30:10 -08:00
WarmUpTill
fd7e48eff9
Add scene-visibility macro condition
2021-11-17 12:29:57 -08:00
WarmUpTill
0350a46004
Allow use of "previous scene"
2021-11-17 12:29:57 -08:00
WarmUpTill
00fec4b573
Fix macro hotkeys not working
2021-11-17 12:29:41 -08:00
WarmUpTill
c40a3af8ca
Fix add, delete, reorder not working when changing macro segment type
2021-11-17 12:06:53 -08:00
WarmUpTill
e452d8cc8c
Allow selecting source type for scene visibility action
...
This should allow to simplify some setups which required showing /
hiding all sources of a particular type.
2021-11-12 10:05:54 -08:00
WarmUpTill
fbc9818764
Fix macro count not updating correctly
...
The underlying issue are the potential deadlocks when triggering
frontent function calls while saving / loading is triggered in parallel
like it can happen when switching scene collections.
Hopefully the new frontend events allow for a cleaner solution.
2021-11-12 10:05:11 -08:00
WarmUpTill
5ef09f661f
Show warning if macro is paused
...
And clean up timer handling for this condition type
2021-11-12 10:05:11 -08:00
WarmUpTill
2155a942f3
Do not check conditions of paused macros
2021-11-12 10:05:11 -08:00
WarmUpTill
f955c07bda
Fix warnings
2021-11-01 11:23:43 -07:00
WarmUpTill
95537f39e4
Switch to using process names for process condition and executable tab ( #337 )
...
Previously the process condition and executable tab were just reusing
the window title functionality.
2021-10-31 14:05:54 +01:00
WarmUpTill
0490c97ad9
Add option to use pattern matching for "output changed" condition
...
This will allow you to ignore minor changes in the video output, for
example in noisy video streams.
2021-10-31 06:05:16 -07:00
WarmUpTill
4b17314c66
Add conditions "stream starting" and "stream stopping"
2021-10-31 05:40:28 -07:00
WarmUpTill
7459793fe3
Improve missing data dir error
2021-10-30 11:40:34 -07:00
WarmUpTill
8a39a859be
Remove whitespace
2021-10-30 11:40:26 -07:00
WarmUpTill
f824ac8f4e
Add option to display plugin running state in system tray
2021-10-30 11:40:10 -07:00
WarmUpTill
9bc59c1082
Add option to not save remaining time
2021-10-25 11:19:53 -07:00
WarmUpTill
8b9f03a349
Add timer action
...
This action can be used to control the state of the timers on macro
conditions
2021-10-23 13:54:26 -07:00
WarmUpTill
093b0f9ec0
Add pause / continue and save / load remaining time for time condition
2021-10-23 13:54:26 -07:00
WarmUpTill
254eabfa8d
Fix exact image match not wokring when using images with alpha channel
...
The screenshots taken from video sources were using the image format
Format_RGBX8888 instead of Format_RGBA8888.
The alpha channel of screenshots taken from OBS would be blended with a
black background while this step would be not performed for files loaded
to macht match the video sources.
2021-10-23 13:54:15 -07:00
WarmUpTill
b2da8faf37
Improve performance by not creating pattern data each interval
2021-10-23 13:54:15 -07:00
WarmUpTill
3eba20e2d8
Add option to use alpha channel as mask for pattern match
2021-10-23 13:54:15 -07:00
WarmUpTill
08841aa88e
Use duration control class / widget for scene triggers
2021-10-23 13:53:56 -07:00
WarmUpTill
2e96c226b5
Improve performance of expand / collapse all
2021-10-23 13:53:56 -07:00
WarmUpTill
c34308f743
Fix scroll position being lost when adding or removing macro segments
2021-10-23 13:53:56 -07:00
WarmUpTill
4af07d9d55
Fix incorrectly set start scene type when extending scquence with groups
...
This would result in extended sequences being aborted early whenever one
would try to extend after a scene group entry
2021-10-23 13:53:56 -07:00
WarmUpTill
d743260ca8
Add wait for transition to complete option for currrent scene check
...
Previous behaviour was to always wait for the transition to complete, as
switcher->currentScene is only updated on
OBS_FRONTEND_EVENT_SCENE_CHANGED.
2021-10-23 13:53:56 -07:00
WarmUpTill
8ff50056f0
Fix crash when switching scene collection during macro wait
...
Also update comment stating why the main mutex needs to be unlocked
during the "action" phase of running macros
2021-10-23 13:53:56 -07:00
WarmUpTill
b786831f3b
Remove unnecessary return value check
2021-10-23 13:53:56 -07:00
WarmUpTill
32e2a5f44c
Add git tag to version info
2021-10-19 13:02:15 -07:00
WarmUpTill
39a8c34fa6
Add description for the "min neighbors" parameter
2021-10-09 08:08:15 -07:00
WarmUpTill
ead51e2f13
Fix minNeighbors parameter not loading correctly
2021-10-09 08:08:15 -07:00
WarmUpTill
3b465e1fdc
Fix crash while loading haar cascade
2021-10-03 12:30:45 -07:00
WarmUpTill
08933a3683
Add transition condition
2021-10-03 07:51:09 -07:00
WarmUpTill
9be00ba3ca
Rework to use transition selection widget
2021-10-03 07:51:09 -07:00
WarmUpTill
cce15529fe
Adjust return type
2021-10-03 07:51:09 -07:00
WarmUpTill
588f90f0b1
Add transition selection widget
2021-10-03 07:51:09 -07:00
WarmUpTill
d3220c40dc
Add any transition selection in populate function
2021-10-03 07:51:09 -07:00
WarmUpTill
79c659b4fa
Reduce logging
2021-10-03 01:38:08 -07:00
WarmUpTill
292adb990d
Add option to throttle object and pattern recognition
2021-10-03 01:38:08 -07:00
WarmUpTill
b7a0f6c5d0
Add object detection option
2021-10-03 01:38:08 -07:00
WarmUpTill
b3f1aff03c
Add file selection widget
...
Rework the following macro conditions and actions to use this widget:
- file action
- run action
- file condition
2021-10-03 01:38:08 -07:00
WarmUpTill
3d1c613f1c
Add pattern match using openCV
2021-10-03 01:38:08 -07:00
WarmUpTill
34527b08a9
Fix crash in getSourceSettings()
2021-10-02 14:14:57 -07:00
WarmUpTill
d7ec7c6e40
Limit key press to OBS by default on MacOS
2021-09-30 10:42:57 -07:00
WarmUpTill
e98ee64974
Set canSimulateKeyPresses to false on Macos (not implemented)
2021-09-30 10:42:57 -07:00
WarmUpTill
7c6428b27e
Include press duration option and option to limit key press to OBS
2021-09-30 10:42:57 -07:00
WarmUpTill
aca9b84fc6
Fix rapid scene switch restarting certain transitions ( #313 )
...
When using certain transition types repeated scene switches to the same target scene will restart a transition that is already in progress.
This can be avoided by using obs_frontend_get_current_scene() instead of switcher->currentScene during the check if the target scene is already active.
obs_frontend_get_current_scene() will already point to the new scene, even if the transition is still in progess, while switcher->currentScene will only be updated once a transition is finished.
2021-09-26 14:04:01 +02:00
WarmUpTill
d397f5e406
Add transition action
2021-09-19 05:15:49 -07:00
WarmUpTill
97cbcd7e61
Add condition "scene has not changed"
2021-09-18 10:21:54 -07:00
WarmUpTill
a0dd1cf3ef
Remove unused variable
2021-09-16 10:27:32 -07:00
Joao Eriberto Mota Filho
3c8f5088d3
Fix word "unknown"
2021-09-13 10:58:39 -07:00
WarmUpTill
76fa1f8942
Add backward compatibility check to support OBS 25
2021-09-12 10:20:59 -07:00
WarmUpTill
db4214c918
Remove dependency to <util/util.hpp>
2021-09-12 03:11:21 -07:00
WarmUpTill
f024199e2d
Add backwards compatibility check
2021-09-12 03:11:21 -07:00
WarmUpTill
bee75336d0
Add option to for macro condition scene to trigger on any scene change
2021-09-10 15:14:09 -07:00
WarmUpTill
96b472776a
Remove unused variable
2021-09-10 15:14:09 -07:00
WarmUpTill
fb457f723a
Add macro action scene swap
2021-09-10 14:21:29 -07:00
WarmUpTill
eee3e05c10
Add action to switch preview scene
2021-09-02 10:06:54 -07:00
WarmUpTill
ccc147a1b3
Fix empty paths not saving on file tab
2021-08-27 23:40:00 +02:00
WarmUpTill
45a149f6df
Also save window geo when using ESC or the close button
2021-08-27 09:10:50 -07:00
WarmUpTill
076be21d40
Validate window position before setting it
2021-08-27 09:10:50 -07:00
WarmUpTill
ab5bdb32f5
Highlight newly added macro segments
2021-08-27 08:43:28 -07:00
WarmUpTill
8cfed048cc
Create copy of previous macro segment when inserting new segment
2021-08-27 08:43:28 -07:00
WarmUpTill
c842595214
Add "size" section to scene item transform info
2021-08-27 08:43:08 -07:00
WarmUpTill
8fa3e8b038
Fix crash on clicking "Get settings" if source or filter is null
2021-08-27 08:43:08 -07:00
WarmUpTill
174c17edea
Escape settings when pressing "Get settings" and regex is active
2021-08-27 08:43:08 -07:00
WarmUpTill
9d8fadda80
Remove unused include
2021-08-27 08:43:08 -07:00
WarmUpTill
58028d3c3d
Add macro condition "scene transform"
2021-08-27 08:43:08 -07:00
WarmUpTill
3dcabe543f
Add matchJson(), escapeRegex() move TransformState functions to utility
2021-08-27 08:43:08 -07:00
WarmUpTill
1a7ebc5569
Fix warning
2021-08-19 12:56:34 -07:00
WarmUpTill
2af0735a2f
Expand date condition functionality
...
The date condition now supports the condition types "after", "before"
and specifying a time range.
2021-08-12 11:01:45 -07:00
WarmUpTill
556943c293
Fix writing current scene to file
2021-08-11 12:49:07 -07:00
WarmUpTill
e3004184c4
Format json strings of user input and source settings
...
Source settings and user specified settings might use different json
formatting and thus not match even though the json contents match.
It might not be possible to do the formatting for regex strings so
revert to the originally specified settings string if it cannot.
2021-08-09 11:39:48 -07:00
WarmUpTill
7b2c2e91db
Rename function
2021-08-09 11:39:48 -07:00
WarmUpTill
06ea7bf1d9
Fix crash when deleting macro with wait action
...
Note that this might still not be completely race free but should
improve the situation a lot.
2021-08-09 11:39:20 -07:00
WarmUpTill
1474509cb9
Fix extended sequence abort when using non-instant transitions
2021-07-30 00:47:40 +02:00
WarmUpTill
87aa8d3b40
Remove code used for backwards compatibility
2021-07-29 15:16:29 -07:00
WarmUpTill
d3e8b76fa6
Do not apply MouseWheelWidgetAdjustmentGuard to QScrollBars
...
Without this change, it will be annoying to interact with expanded
QComboBoxes and there should be no danger of accidentally modifying
macro settings by interacting with QScrollBars
2021-07-29 15:16:19 -07:00
WarmUpTill
99c9b1a4a2
Fix macro video condition save
...
Logic, collapsed state and time constraint were not saved for video
condition.
2021-07-24 23:47:24 -07:00
WarmUpTill
c964ed04d3
Clean up includes
2021-07-22 09:40:31 -07:00
WarmUpTill
810235e0b7
Clean up duplicate code
2021-07-22 09:40:31 -07:00
WarmUpTill
e2b3563810
Rename files
2021-07-22 09:40:31 -07:00
WarmUpTill
76c5ec480b
Add MacroSegment and MacroSegmentEdit to remove duplicate code
2021-07-22 09:40:31 -07:00
WarmUpTill
84e4b740a8
Prevent accidental edits of actions and conditions when scrolling
2021-07-22 09:40:31 -07:00
WarmUpTill
95409dfa26
Add option to expand or collapse all macro actions or conditions
2021-07-22 09:40:31 -07:00
WarmUpTill
058af0d3bb
Move GetShortDesc() and GetId() to MacroSegment class
2021-07-22 09:40:31 -07:00
WarmUpTill
fd789b476b
Persist collapse / expand state
2021-07-22 09:40:31 -07:00
WarmUpTill
3fc82df278
Handle macro control signals
2021-07-22 09:40:31 -07:00
WarmUpTill
d541356fd3
Add macro control widget
2021-07-22 09:40:31 -07:00
WarmUpTill
7200668158
Add option to show frame
2021-07-19 12:13:29 -07:00
WarmUpTill
7cf7fd6112
Show current cursor position
2021-07-19 12:13:29 -07:00
WarmUpTill
41821cbeb2
Add macro condition that triggers if cursor position changed
...
Extend condition previously named "region"
2021-07-19 12:13:29 -07:00
WarmUpTill
9537579235
Rename macro condition "region" to "cursor"
2021-07-19 12:13:29 -07:00
WarmUpTill
6c8556c66c
Rework cmake and readme ( #264 )
...
* Add missing include
* Rework CMakeLists.txt to support out of tree builds
* Update build instructions
* Fix windows build issue and copy locale on Linux
* Update build instructions
* Add downloads section
2021-07-17 17:17:03 +02:00
WarmUpTill
a467dffd05
Fix crash on Fedora
2021-07-13 13:14:43 -07:00
WarmUpTill
497dbd89d4
Fix warning
2021-07-13 13:14:43 -07:00
WarmUpTill
0fdbce25a1
Clean up minor UI inconsistencies
2021-07-13 13:14:43 -07:00
WarmUpTill
7e3e621ae5
Log long condition checks
2021-07-03 09:12:30 -07:00
WarmUpTill
9dfbd266fc
Set timeout for libcurl call
2021-07-03 09:12:30 -07:00
WarmUpTill
8d02f63c36
Adjust scene order condition to support current scene
2021-07-03 08:47:08 -07:00
WarmUpTill
f31c54fd72
Adjust scene condition to use SceneSelection
2021-07-03 08:47:08 -07:00
WarmUpTill
7719087065
Add TODO
2021-07-03 08:47:08 -07:00
WarmUpTill
0b175a41d1
Adjust scene transform action to support current scene
2021-07-03 08:47:08 -07:00
WarmUpTill
0824abc4f5
Adjust scene order action to support current scene
2021-07-03 08:47:08 -07:00
WarmUpTill
efef29603b
Display all scene items when selecting "current scene"
2021-07-03 08:47:08 -07:00
WarmUpTill
034a1b0c93
Set current scene in handleSceneChange() and reuse it
2021-07-03 08:47:08 -07:00
WarmUpTill
86fefe1e9e
Adjust scene visibility action to support current scene
2021-07-03 08:47:08 -07:00
WarmUpTill
0bc15b4c2d
Add support for "current scene" to populateSceneSelection()
2021-07-03 08:47:08 -07:00
WarmUpTill
7cfa956b80
Move GetSceneGroupByName functions to scene-group.hpp
2021-07-03 08:47:08 -07:00
WarmUpTill
9670a01e1a
Add scene selection class and widget
2021-07-03 08:47:08 -07:00
WarmUpTill
371f6daf5a
Add macro condition "date"
2021-06-26 10:23:18 -07:00
WarmUpTill
1c141abd06
Fix plugin state action values being empty
2021-06-26 10:23:09 -07:00
WarmUpTill
13788c2dfa
Fix warning
2021-06-26 10:23:09 -07:00
WarmUpTill
daf36365a8
Only use hardcoded libcurl paths as fallback
2021-06-26 10:23:09 -07:00
WarmUpTill
cea4df90b1
Check for invalid transition settings
2021-06-21 11:01:25 -07:00
WarmUpTill
80b824e0a7
Fix Macro slots not being connected properly
...
Problem was introduced when adding header info.
To avoid the issue in future forward signals of the main plugin window
via condition and action edit widgets instead of relying on parent()
being the main window.
2021-06-20 11:05:29 -07:00
WarmUpTill
0bfdc3890b
Add macro action "file"
2021-06-19 12:30:47 -07:00
WarmUpTill
cc067de021
Expand macro action plugin-state to support changing no-match behaviour
2021-06-19 11:29:35 -07:00
WarmUpTill
57c0734ba6
Display more information about macros in collapsed state
2021-06-19 06:58:06 -07:00
WarmUpTill
913682e128
Add support for arguments for macro action "run"
2021-06-19 05:23:10 -07:00
WarmUpTill
92711c5798
Make cleaning of user input optional
2021-06-19 05:23:10 -07:00
WarmUpTill
80334088d0
Add option to only trigger window condition if foreground window changed
2021-06-19 05:22:50 -07:00
WarmUpTill
bdd9d12257
Add setPreconditions()
...
The idea is to avoid repeated calls to the same functions which lead to
the same outcome, but just calling them once in the precondition checks.
For now move repeated calls of GetCurrentWindowTitle() and ignoreWindow
checks to this function.
2021-06-19 05:22:50 -07:00
WarmUpTill
decee4647b
Add macro action 'scene_transform'
2021-06-18 11:15:15 -07:00
WarmUpTill
4991e74a72
Format json string before showing it to user
2021-06-18 11:15:15 -07:00
WarmUpTill
baa158bb33
Add helper fromatJsonString()
...
obs_data_get_json() will now dump the json data in JSON_COMPACT format
which makes it rather difficult to read.
2021-06-18 11:15:15 -07:00
WarmUpTill
0975ffabfa
Adjust log
2021-06-18 11:15:15 -07:00
WarmUpTill
beec7d5939
Move getSceneItemsWithName() to utility
2021-06-18 11:15:15 -07:00
WarmUpTill
1bf2a154e2
Add macro condition "replay_buffer"
2021-06-18 11:15:03 -07:00
WarmUpTill
aa691cf51c
Remove outdated comment
2021-06-18 11:15:03 -07:00
WarmUpTill
8fc12bee99
Initialize hotkeys to OBS_INVALID_HOTKEY_ID
2021-06-18 11:15:03 -07:00
WarmUpTill
5e8a0f92ee
Add note regarding planned removal of tabs
2021-06-18 11:14:47 -07:00
WarmUpTill
86029e8e0e
Add macro condition "Hotkey"
2021-06-15 13:44:33 -07:00
WarmUpTill
a86d6f1f76
Fix macro refs pointing to wrong entry when reordering
2021-06-15 06:16:04 -07:00
WarmUpTill
8ef798c70c
Add macro condition "scene item order"
2021-06-15 06:15:37 -07:00
WarmUpTill
efc8726054
Add macro action "scene item order"
2021-06-15 06:15:37 -07:00
WarmUpTill
7b72abb100
Move populateSceneItemSelection() to utility
2021-06-15 06:15:37 -07:00
WarmUpTill
311ee5d0a0
Add macro condition "timer" (previously known as "interval")
2021-06-15 06:15:25 -07:00
WarmUpTill
5e4258968a
Allow matching of empty files
2021-06-14 01:39:27 -07:00
WarmUpTill
ae4e861f7f
Add macro action "hotkey" ( #226 )
2021-06-14 01:21:23 +02:00
WarmUpTill
d692444687
Add / extend macro filter condition / action
2021-06-13 15:14:57 -07:00
WarmUpTill
6976c98fd8
Fix regex value not saving / loading
2021-06-13 15:14:57 -07:00
WarmUpTill
75f8d0cb07
Move filter / source functions to utility
2021-06-13 15:14:57 -07:00
WarmUpTill
a7e03245bd
Add macro condition "Macro" (previously "Count")
...
The macro condition "Macro" contains the condition type previously named
"Count" and also add the options to check the condition state of other
macros.
This allows nesting of macro conditions.
For example the following can now be configured using this new option:
"If (scene 1 or scene 2 or scene 3 is active) for at least x amount of
time"
2021-06-13 10:25:48 -07:00
WarmUpTill
056e7ef737
Rename files
2021-06-13 10:25:48 -07:00
WarmUpTill
675c23d7cc
Place extended sequence widget in scroll area
...
The previously fixed size only allowed extending the sequence depending
on the available screen space
2021-06-13 10:25:31 -07:00
WarmUpTill
c4b66ef7f6
Fix warnings
2021-06-13 10:25:31 -07:00
WarmUpTill
5cae1bca41
Add macro condition "virtual camera"
2021-06-13 10:25:20 -07:00
WarmUpTill
407d338b8b
Add macro action "virtual camera"
2021-06-13 10:25:20 -07:00
WarmUpTill
edd9f18de0
Add scene trigger to control virtual camera ( #162 )
2021-06-13 19:25:02 +02:00
WarmUpTill
c9769a799d
Abort macro if wait was aborted by manual scene change
2021-06-09 12:51:19 -07:00
WarmUpTill
047ca93486
Clean up
2021-06-06 19:05:55 +02:00
WarmUpTill
bd00a3f97e
Remove preprocessing / todo
2021-06-04 08:31:28 -07:00
WarmUpTill
72f67705ed
Collapse time restriction to clock symbol if no restriction is set
2021-06-03 10:19:19 -07:00
WarmUpTill
38161f63a3
Add helper getDataFilePath()
...
Used to get absolute file path to files in the plugin's data directory
2021-06-03 10:19:19 -07:00
WarmUpTill
b9f6e47a49
Add backwads compatability check to load() of DurationConstraint
2021-06-03 10:19:19 -07:00
WarmUpTill
326cc0c46f
Add generic time constraint to macro conditions
...
Almost every macro condition can benefit from having the option to
specify a time constraint.
Instead of adding it to each condition separately add it to all
conditions with the option of excluding it when registering a new
condition type.
2021-06-03 10:19:19 -07:00
WarmUpTill
d9997d374d
Add option to un-/pause macros using hotkeys
2021-05-30 11:05:44 -07:00
WarmUpTill
c18d799f4a
Remove comment
2021-05-30 11:05:12 -07:00
WarmUpTill
fdb72629db
Do not trigger resize if section is collapsed
2021-05-30 11:05:12 -07:00
WarmUpTill
7fda5e3820
Fix empty selection not showing correctly for visibility and filter
2021-05-30 11:05:12 -07:00
WarmUpTill
78966e456a
Fix empty selection not showing correctly
2021-05-29 15:51:22 -07:00
WarmUpTill
49a042039e
Add ability to set source settings to macro action "source"
2021-05-29 06:48:18 -07:00
WarmUpTill
adb266927f
Move getSourceSettings() to utility
2021-05-29 06:48:18 -07:00
WarmUpTill
703f24b8fc
Remove unused include
2021-05-29 06:48:18 -07:00
WarmUpTill
de6120c401
Save and load source settings
2021-05-29 06:48:18 -07:00
WarmUpTill
b1f7a255d5
Use same collapse threshold for actions and sources
...
Actions and conditions are no longer in fixed positions and instead
divided by a separator.
2021-05-29 06:47:16 -07:00
WarmUpTill
d112e92d33
Add scenes with filters to source selection for filter action
2021-05-29 06:47:16 -07:00
WarmUpTill
5c4dd6dae1
Set "select <xyz>" to disabled and sort selection alphabetically
2021-05-29 06:47:16 -07:00
WarmUpTill
546a83ee07
Add macro action "plugin-state"
2021-05-28 10:23:35 -07:00
WarmUpTill
09ab29b4ba
Trigger resize of widget
2021-05-28 10:23:24 -07:00
WarmUpTill
86d4e59dc2
Adjust to section widget rework
2021-05-28 10:23:24 -07:00
WarmUpTill
aa7714210a
Rework section widget to support dynamically sized content
2021-05-28 10:23:24 -07:00
WarmUpTill
2454ea8fa5
Add macro condition "source"
2021-05-28 10:23:24 -07:00
WarmUpTill
a5edbc8b88
Reset macro counters when stopping the plugin
2021-05-27 12:05:44 -07:00
WarmUpTill
ec6cffcd6a
Rename MacroActionPause and add action to reset macro counter
2021-05-27 12:05:44 -07:00
WarmUpTill
89849a0792
Rename files
2021-05-27 12:05:44 -07:00