WarmUpTill
07b95cb8ae
do not sleep less than 1ms ( #82 )
2020-12-13 17:26:59 +01:00
WarmUpTill
faca5f8863
add option to only match if file content changed ( #80 )
2020-12-12 16:31:07 +01:00
WarmUpTill
084c263260
always match checkRandom() if random tab only has one entry
2020-12-10 20:14:07 +01:00
WarmUpTill
a1c592f1ec
format
2020-12-10 20:14:07 +01:00
WarmUpTill
41f34f8f40
remove runtime of check() functions from interval sleep
2020-12-10 20:14:07 +01:00
WarmUpTill
9711390aac
add no match delay option ( #78 )
2020-12-06 14:10:17 +01:00
WarmUpTill
25f28b9796
Add media state played to end ( #58 )
2020-12-06 14:09:21 +01:00
WarmUpTill
a1484f9621
fix warning
2020-12-06 14:03:04 +01:00
WarmUpTill
b54506c5ee
add 'OBS' entry to GetWindowList() on Windows( #76 )
2020-11-28 16:23:17 +01:00
WarmUpTill
4af7540497
hide guide frames when switching to a different tab ( #75 )
2020-11-28 12:36:58 +01:00
Guillaume Turchini
ba15e6812f
Add a log when auto stopping stream / record ( #74 )
...
* Add a log when auto stopping stream / record
I had a hard time deciphering why the stream stopped automatically for someone when using the plugin as the logs contained nothing indicating an error or an action from the plugin.
He activated the checkbox to auto stop stream when a scene is activated (which I didn't know) so the plugin was doing exactly what asked.
I think adding a log is a good idea for an action as important as stopping the stream.
I added the same for starting stream for the same reasons.
2020-11-27 17:34:17 +01:00
WarmUpTill
22a90c7d64
fix crash on deleting last screen region entry when guide frame was active ( #70 )
2020-11-24 22:57:52 +01:00
WarmUpTill
f6c3c65e26
resolve potential deadlocks ( #66 )
...
A deadlock could occur if the save callback is called just before the frontend set functions are used.
Thus unlock() is necessary before setting current scene or transition.
(e.g. if start recording is activated just before using the above functions, as this apparently triggers a save() call)
2020-11-21 01:40:24 +01:00
shugen002
16c4a2d5a9
Adjust UI And Improve ( #63 )
2020-11-20 19:10:06 +01:00
WarmUpTill
45a880d8f8
Add version info log ( #61 )
...
add generated version info log on startup of the plugin using the "GetGitRevisionDescription" cmake module from https://github.com/rpavlik/cmake-modules
2020-11-15 20:34:11 +01:00
WarmUpTill
e5c1e81d81
clean up and silence warnings
2020-11-14 18:45:25 +01:00
WarmUpTill
2ae97cd90e
Merge branch 'master' of https://github.com/WarmUpTill/SceneSwitcher
2020-11-14 17:11:21 +01:00
WarmUpTill
e5fffa0b82
log if sequence is canceled if verbose
2020-11-10 18:31:42 +01:00
WarmUpTill
a0119426d6
remove dead code
2020-11-10 18:31:42 +01:00
WarmUpTill
45e5738d2c
do not hold main lock in callback handling
2020-11-10 18:31:42 +01:00
WarmUpTill
cdd1259f12
style changes
2020-11-09 22:20:58 +01:00
WarmUpTill
e026bd7420
fix crash on first startup on fresh install of OBS
2020-11-07 18:56:08 +01:00
WarmUpTill
8eb99a3fde
fix comment
2020-11-02 19:06:51 +01:00
WarmUpTill
bf30a058ee
fix crash on deleting scene sequences
...
This crash could occur when a scene sequence was currently in progress and the entries were changed while in the 'wait for ...' state.
2020-11-02 19:05:19 +01:00
WarmUpTill
0c6a7b140e
add comment about use of 'matched'
2020-11-02 19:00:50 +01:00
WarmUpTill
d279b35086
fix crash on importing scene sequence
...
This crash could occur when a scene sequence was currently in progress and the entries were changed while in the 'wait for ...' state.
2020-11-02 18:38:26 +01:00
WarmUpTill
8e26148255
fix media states being retriggered multiple times ( #54 )
2020-11-01 18:53:48 +01:00
WarmUpTill
1a3ed0d09c
add clang format check to CI and adjust formatting ( #55 )
2020-11-01 12:39:14 +01:00
WarmUpTill
214821b69f
UI rework ( #44 )
...
* rework general tab UI
* rework audio tab UI
* rework media tab UI
* rework time tab UI
* rework random tab UI
* rework window tab UI
* rework sreen region tab UI
* rework sequence tab UI
* rework transition tab UI
* adjust log messages to new format
* fix include path and warning
* highlight widgets to guide users (can be disabled)
* add helper frame for screen region tab
* rename main SceneSwitcher widget to AdvSceneSwitcher to resolve naming conflicts with the frontend tools on certain platforms (e.g. Debian 10)
* add media state 'any'
* adjust media switch handling to support vlc source
2020-10-31 16:25:44 +01:00
WarmUpTill
7edb6eb6c1
add handling of window title of metro apps
2020-10-24 15:23:08 +02:00
WarmUpTill
8aed15f3a8
allow WS_EX_TOOLWINDOW as valid windows to match 'Task Switching'
2020-10-22 19:44:23 +02:00
WarmUpTill
1e6a022787
improve hotkey handling ( #49 )
2020-10-12 20:55:51 +02:00
WarmUpTill
fb1eac5268
fix crash on exit when on autoStart scene ( #47 )
2020-10-10 01:56:08 +02:00
WarmUpTill
787b664d29
Add vlc source to media tab ( #42 )
2020-09-30 19:07:40 +02:00
WarmUpTill
dd63ff846c
Refactor, fixes and maximized option for title tab ( #40 )
...
* move definitions of switcher structs to separate files
* remove useless comment
* cleanup and silence warnings
* add generic switch
* removed delay on main thread startup as it served no purpose
* clean up ultility.hpp
* do not save switchStr to file as it could cause issues when scenes are renamed
* rename sceneRoundTrip to sceneSequence
* add option to switch if window is maximized to title tab
2020-09-25 21:42:58 +02:00
WarmUpTill
8d023ee385
Add audio tab ( #36 )
...
* add volumemeter widget
* add audio tab UI
* add checkAudioSwitch functionality
* use constexpr instead of preprocessing
2020-09-21 00:52:42 +02:00
WarmUpTill
3fd3801e56
load libcurl at runtime ( #33 )
...
* load libcurl at runtime
* add warning to file tab if curl cant be loaded
2020-09-13 09:13:09 +02:00
WarmUpTill
21a788b48b
Improve time tab ( #34 )
...
* add support for weekdays and allow reordering on time tab
* add option to use time relative to streaming/recording start on time tab
2020-09-13 00:03:38 +02:00
WarmUpTill
a5c8d776f3
only try auto start streaming/recording once on scene chagne
2020-08-24 20:55:54 +02:00
WarmUpTill
95261ce9bb
add first draft of auto start of recording / streaming
2020-08-16 19:48:54 +02:00
WarmUpTill
255d10e603
fix auto fill not wokring for modified entries on time tab
2020-08-09 20:48:49 +02:00
WarmUpTill
ab3e93ab84
add fallback to old format for sequence import
2020-08-02 20:22:13 +02:00
WarmUpTill
3b5f88c14f
do not sort sequence and region on add
2020-08-02 19:38:32 +02:00
WarmUpTill
2f33b6bdc3
fix data loss for sequence delay
2020-08-02 19:37:37 +02:00
WarmUpTill
3c1e240722
add option to set startup behavior
2020-08-02 18:45:44 +02:00
WarmUpTill
91831a1075
fix autoStop not being persisted
2020-08-02 18:00:50 +02:00
WarmUpTill
ccc824abc1
fix loading of old delay values
2020-08-02 17:46:36 +02:00
WarmUpTill
6f39d4648b
add included 'thread' and 'QAction' for Linux and macOS build
2020-08-01 20:34:12 +02:00
WarmUpTill
910b1dde99
set sceneRoundTripDelayUnits
2020-08-01 16:19:57 +02:00
WarmUpTill
e462d7f420
fix sequence not stopping when manually switching scene
2020-08-01 16:11:54 +02:00
WarmUpTill
0cdd8bf1d0
move UI init of tabs to respective source files
2020-08-01 11:14:54 +02:00
WarmUpTill
f8ad8c31be
scene sequence adjustments
...
use double internally instead of two ints
rework save / load to file to reuse existing functionality
add option to select between seconds / minutes / hours
2020-08-01 10:12:32 +02:00
WarmUpTill
f8b505fa4e
silence warnings
2020-07-31 22:05:55 +02:00
WarmUpTill
1516263d2a
save and load tab order
2020-07-31 21:58:17 +02:00
WarmUpTill
cd54cc17c0
fix switch priority falling back to default values on startup
2020-07-09 19:57:55 +02:00
WarmUpTill
098159dc0f
increase window size on mac
...
currently the general tab will be compressed to an almost unusable level due to the differences in Windows and Macintosh styles
2020-06-30 20:11:44 +02:00
WarmUpTill
a4418996f4
disable mediaTime selection if restriction is set to none
2020-06-19 19:52:43 +02:00
WarmUpTill
340cb559ee
add option to override transitionOverrides
2020-06-17 22:16:47 +02:00
WarmUpTill
eeefd8279f
allow reordering of file/media/sequence/region
2020-06-16 20:25:25 +02:00
WarmUpTill
e62dc91cd7
fix linux/mac build error
2020-06-15 21:46:58 +02:00
WarmUpTill
d3ab9e01c5
add support for remote file using libcurl
2020-06-15 21:19:34 +02:00
WarmUpTill
2a92df4f3c
add draft of remote file support
2020-06-14 20:35:02 +02:00
WarmUpTill
560044bbbf
implement export/import of settings
2020-06-14 15:22:34 +02:00
WarmUpTill
4bd8cdf5a0
move auto start/stop to gernal.cpp
2020-06-14 14:17:03 +02:00
WarmUpTill
c17cbb66d9
write to OBS log if verbose logging is enabled
2020-06-14 14:14:00 +02:00
WarmUpTill
bf70bd7c60
move saving and loading to separate files
2020-06-13 21:56:26 +02:00
WarmUpTill
6810ba71e8
remove using namespace std
2020-06-12 21:40:06 +02:00
WarmUpTill
3151a7542f
return true in isFullscreen() if window maximized
2020-06-11 16:25:17 +02:00
Myned
7bfde0a39b
Add regex matching to fullscreen check
2020-06-10 04:06:04 -04:00
Myned
7347be370e
Fix type error
...
Pushed a little too soon
2020-06-09 17:14:22 -04:00
Myned
66d847c047
Fix ignored switches not directly matching last window
2020-06-09 17:10:14 -04:00
Myned
c9f1f9624b
Use actual window titles and fix fullscreen check on macOS
...
Fallback to window owner if title does not exist
Remove duplicate entries from list
2020-06-09 07:49:39 -04:00
Myned
8e4a8b7e9d
Use QString::fromStdString() instead of c_str()
2020-06-09 07:10:30 -04:00
Myned
e693794549
Add sorting of window lists for UI
2020-06-09 07:09:08 -04:00
Myned
7a924438bc
Add .clang-format and apply to src/ files
2020-06-08 14:58:44 -04:00
Myned
9f7ca3e4c7
Merge remote-tracking branch 'WarmUpTill/master'
2020-06-07 14:15:08 -04:00
WarmUpTill
2f77d99161
Undo "Revert "do not use QThread::create""
...
This reverts commit 4b86849356 .
2020-06-07 14:15:01 -04:00
WarmUpTill
acd2e2863a
adjust win isFullscreen() to use GetMonitorInfo()
...
only tested on a single monitor setup but should work on secondary monitors also as MONITOR_DEFAULTTONEAREST is set
2020-06-07 13:25:51 +02:00
WarmUpTill
513fe0728c
initialize SwitcherThread to nullptr
2020-06-07 10:43:52 +02:00
Myned
cba39633aa
Add ability to reorder Window and Executable switches with arrows
2020-06-06 23:23:02 -04:00
WarmUpTill
4b86849356
Revert "do not use QThread::create"
...
This reverts commit 98c3131017 .
2020-06-06 22:38:22 -04:00
Myned
8fd263f44a
Merge remote-tracking branch 'WarmUpTill/master'
2020-06-06 18:40:17 -04:00
Myned
5590e97f4f
Fix fullscreen check only returning true if window is focused on Windows
...
by @WarmUpTill
2020-06-06 18:39:57 -04:00
WarmUpTill
98c3131017
do not use QThread::create
...
there might still be versions of QT in use which do not yet have this functionality (see Linux build fail of f03fca8 )
2020-06-06 18:51:26 +02:00
WarmUpTill
f03fca85aa
add thread priority option (using QThread)
2020-06-06 17:05:49 +02:00
WarmUpTill
7fef29dafb
fix media delete button deleting wrong entry
...
the mediaSwitches UI is sorted alphabetically while the switches data strucutre is not
the previous implementation of the delete function was just using the index of the currently selected row to delete this index of the switches data structure
the new implementation will try to find the correct entry and delete it
2020-06-06 08:59:03 +02:00
WarmUpTill
9f03264672
fix memory leak in check for media switch
2020-06-04 20:35:36 +02:00
WarmUpTill
5082f5944e
prune media switches if invalid
2020-06-03 19:56:18 +02:00
WarmUpTill
b981a446b6
fix for times switch not saving when using previous scene
2020-06-03 19:55:06 +02:00
WarmUpTill
5ab8199e03
add log on start / stop of switcher thread
2020-06-02 20:53:26 +02:00
WarmUpTill
e6a3f98ab7
use source_id to identify meida sources
2020-06-02 20:45:46 +02:00
WarmUpTill
5e60cefd1c
update current selection on media tab when selecting a different row
2020-06-02 19:34:15 +02:00
Myned
fabb7406bd
Merge remote-tracking branch 'WarmUpTill/master'
2020-06-02 00:48:01 -04:00
Myned
78ed7415f5
Fix allocation error
2020-06-02 00:39:14 -04:00
Myned
d6380b865e
Fix some windows (Steam) not being found on Linux
...
Reverts part of commit e61905d02f
Fallback to WM_NAME if _NET_WM_NAME does not exist
Also fixes some BadWindow errors that were due to some apps like Steam only populating WM_NAME, and only for certain windows (tooltips count as windows due to the odd way the GUI works on Linux, so they don't have either property)
2020-06-02 00:38:35 -04:00
WarmUpTill
2e475b8059
add first draft of thread priority
2020-06-01 14:54:08 +02:00
WarmUpTill
99b5c16406
add Time scene switching
2020-05-31 12:43:34 +02:00
Myned
55d8303ecf
Fix isFullscreen() logic error for Linux
...
Not sure why this arose in the first place
2020-05-26 02:44:12 -04:00
Myned
23201100fa
Fix macOS build error (again)
...
Adds to f0cf5a5c19
Forgot to remove vestigial code
2020-05-23 00:34:40 -04:00
Myned
3959e41e88
Add clearing of passed window list like with other platforms
2020-05-23 00:27:19 -04:00