forked from j62/ctbrec
1
0
Fork 0
Commit Graph

191 Commits

Author SHA1 Message Date
0xboobface 75ab95e1ea Shut down more gracefully (hopefully) 2018-12-14 17:43:38 +01:00
0xboobface c7e07b4b26 Implement login and favorites tab 2018-12-14 17:36:24 +01:00
0xboobface 6b52906811 Add configuration ui for the credentials 2018-12-14 15:51:15 +01:00
0xboobface 461e65ed84 Switch to much simpler JSON api 2018-12-14 14:58:12 +01:00
0xboobface 64c60eaeaa Add determination of stream url and stream sources 2018-12-14 02:39:07 +01:00
0xboobface 52cdf8d601 Add classes and first code for Streamate 2018-12-13 23:48:16 +01:00
0xboobface ceb7c07aa8 Add setting for minimum recording length
If a recording is shorter than x seconds, it gets deleted
2018-12-13 20:54:10 +01:00
0xboobface 9d86a0531c Bump version to 1.15.0 2018-12-13 16:24:45 +01:00
0xboobface 066cb52106 Fix JSON parsing for BongaCams 2018-12-13 16:16:46 +01:00
0xboobface 540e8a8466 Fix JSON parsing for CamSoda 2018-12-13 16:15:08 +01:00
0xboobface 10c0728e05 Avoid NPE when is not yet loaded 2018-12-13 15:21:31 +01:00
0xboobface fb54f464ab Remove irrelevant TODO comments 2018-12-13 15:21:09 +01:00
0xboobface 9f287b6d81 Fix possible IndexOutOfBoundsException in the follow animation 2018-12-13 02:35:03 +01:00
0xboobface 5c4125c03e Fix: selection overlay did not show
The selection overlay did not show when a tab was opened the first time
2018-12-12 18:30:50 +01:00
0xboobface 672c133ee4 Rename "Record" to "Start Recording"
... to be consistent with other views
2018-12-12 18:29:34 +01:00
0xboobface 60da66139e Make use of new actions 2018-12-12 18:16:49 +01:00
0xboobface a68341de82 Add actions to MFC's table view 2018-12-12 18:08:39 +01:00
0xboobface f32990b9d7 Created action classes for actions on Recording tab 2018-12-12 16:52:29 +01:00
0xboobface c944323aa4 Set min Java version to 10 and change JRE download URL 2018-12-12 13:25:26 +01:00
0xboobface c478f6b0f1 Make login methods synchronized
Add synchronized modifier to the login methods, so that only one thread
at a time tries to login. All the following threads then should be able
to use the session cookies
2018-12-12 12:48:45 +01:00
0xboobface a5ec00c936 Add table for MFC which contains all models 2018-12-11 21:59:32 +01:00
0xboobface 2d1ac40c72 Move token label and buy button to ThumbOverviewTab 2018-12-11 15:47:19 +01:00
0xboobface bb3de83453 Logout and delete cookies when credentials are changed 2018-12-10 18:37:04 +01:00
0xboobface 04382dfa6e Run registerAlertSystem in a thread 2018-12-10 17:57:12 +01:00
0xboobface 064efd2863 Register event handler 1 min after start
Don't register before 1 minute has passed, because directly after
the start of ctbrec, an event for every online model would be fired,
which is annoying as f
2018-12-10 17:16:39 +01:00
0xboobface e7f1d26a84 Bumb version to 1.14.0 2018-12-10 17:15:33 +01:00
0xboobface 5b15b77014 Disable post-processing for server mode 2018-12-10 15:18:24 +01:00
0xboobface 448cfd14b8 Clear state comboboxes before filling them to avoid duplicates 2018-12-10 14:34:56 +01:00
0xboobface b715fba836 Add validation for recording state 2018-12-10 14:32:33 +01:00
0xboobface 316842e690 Revert removal of post-processing setting 2018-12-09 21:37:24 +01:00
0xboobface 5b936c779d Add helper class for dialogs 2018-12-09 21:36:10 +01:00
0xboobface 878b25c55c Add validation to actions panel 2018-12-09 21:35:35 +01:00
0xboobface 7c16006870 Set the name in the default constructor 2018-12-09 19:02:19 +01:00
0xboobface 888046676f Add first configurable version of the notification system 2018-12-09 18:46:33 +01:00
0xboobface 434001aafe Optimize settings tab layout 2018-12-08 17:14:25 +01:00
0xboobface a944117966 Change layout of color settings panel 2018-12-08 17:13:58 +01:00
0xboobface 9825383d0c Set textfield to grow horizontally 2018-12-08 17:13:39 +01:00
0xboobface 509a9115fa Set user data directory for webengine 2018-12-08 16:49:47 +01:00
0xboobface 65f7c0d85e Use file/dir selection boxes and remove post-processing setting 2018-12-08 16:08:00 +01:00
0xboobface 016c95f7f1 Make file/dir selection boxes usable 2018-12-08 16:07:30 +01:00
0xboobface 4d55351919 Create controls for file, program and directory selection 2018-12-08 15:34:50 +01:00
0xboobface 1fc16a0d41 Add a few predicates and actions for the event system 2018-12-08 13:08:20 +01:00
0xboobface 2dc5fd4581 Add Event and EventReaction classes 2018-12-06 17:39:33 +01:00
0xboobface b50df194a0 Move settings to own package 2018-12-06 17:38:10 +01:00
0xboobface b100f107d4 Move site activation checkbox to their config ui 2018-12-06 14:16:10 +01:00
0xboobface 69544a7a60 Pull OnlineMonitor out of LocalRecorder 2018-12-05 21:01:33 +01:00
0xboobface 9f19b2c1fa Merge branch 'dev' into notify 2018-12-05 16:08:55 +01:00
0xboobface e6476e95ec Add setting to ignore the upscaled video stream on MFC 2018-12-05 16:08:44 +01:00
0xboobface 42177b4399 Add enum to Model for the online states 2018-12-05 15:51:21 +01:00
0xboobface 65e6c5b76e Merge branch 'dev' into notify 2018-12-05 12:58:51 +01:00
0xboobface 28fee0b2e6 Preselect the right entry, if stream url index is set 2018-12-05 12:20:50 +01:00
0xboobface 6db00969d7 Revert: RemoteRecorder does not work, if called with JavaFxModels
It does not work, because it uses the class name for the type and the
server doesn't know JavaFxModel. It only knowns the unwrapped model
classes.
2018-12-05 12:20:26 +01:00
0xboobface b99e88d2c8 Add cache for the resolution
This makes the display of the resolution much faster and the information
is retained, even if the ThumbCell is "destroyed"
2018-12-04 18:30:46 +01:00
0xboobface 9791427aeb Add "Follow" to the context menu of the recorded models tab 2018-12-04 17:09:19 +01:00
0xboobface 1f6e03979e Fix: ThumbCell resumes recordings
This happens because the update services don't set the suspended
property and ThumbCell copied the property from the updated model.
So, suspended would be set to false, which would cause an update of
the property change listener and that would restart the recording.
2018-12-04 17:08:44 +01:00
0xboobface 0121e02edb Merge branch 'dev' into notify 2018-12-03 14:35:24 +01:00
0xboobface 889dbecb14 Bump version to 1.13.0 2018-12-03 00:14:50 +01:00
0xboobface 6b4d320bc2 Add setting to set the base URL for MFC 2018-12-02 22:35:12 +01:00
0xboobface 96b5c26277 Implement notification messages with SystemTray and notify-send 2018-12-02 17:02:17 +01:00
0xboobface 723909aec3 Remove notification class and resources
Notifications are done with SystemTray or a call to notify-send
2018-12-02 17:01:00 +01:00
0xboobface 1feea03ec3 Dispose the video player on error 2018-12-02 13:32:38 +01:00
0xboobface 0ff04ed9ef Use /bin/bash in shebang
... otherwise pushd and popd might not work
2018-12-02 02:07:30 +01:00
0xboobface 80381c0d49 Fire events from LocalRecorder 2018-12-01 21:56:23 +01:00
0xboobface 5b8cfc02d6 Merge branch 'dev' into notify 2018-12-01 20:22:02 +01:00
0xboobface 8a3f81a77a Fix: popup was cut off on south and east edge 2018-12-01 20:21:23 +01:00
0xboobface 857674c5cb Optimized paused checkbox event handling 2018-12-01 20:01:08 +01:00
0xboobface 3188511c6a Make log messages less serious for player errors 2018-12-01 19:29:41 +01:00
0xboobface 4a8e0e3bea Removed buggy optimization for puased checkboxes 2018-12-01 16:52:51 +01:00
0xboobface f0edfb167c Added support for display names from Camsoda 2018-12-01 16:34:09 +01:00
0xboobface 56291cb97f Add support for display names for BongaCams 2018-12-01 15:29:56 +01:00
0xboobface 431d2f60c4 Add support for display names
Add display name to model and use it in GUI. The actual sites don't
set it yet. If the display name is not set, getDisplayName returns
getName instead
2018-12-01 15:24:46 +01:00
0xboobface 7192856c87 Add setting for chaturbate base URL 2018-12-01 14:17:03 +01:00
0xboobface f1eaa75a57 Add error handler for the video player 2018-12-01 14:01:50 +01:00
0xboobface 53f77afb85 Fix concurrent modification bug in delete method 2018-12-01 14:01:29 +01:00
0xboobface b44a1c2422 Fix stream source selection 2018-12-01 02:12:27 +01:00
0xboobface 754271c466 Add column which opens a preview popup, when hovered over
Add a column to the recorded models table, which can be used to
open a small preview popup. The popup opens, when the mouse hovers over
the table cell for a certain amount of time or if the cell gets clicked.
The preview plays the stream with the lowest quality without audio.
2018-12-01 00:29:20 +01:00
0xboobface 0e627aef12 Make paused checkboxes clickable 2018-11-30 17:01:01 +01:00
0xboobface ecf9fc2746 Add key listener for P to pause and resume selected models 2018-11-30 15:38:52 +01:00
0xboobface 40b3b78e52 Implement multi-selection for Recordings table 2018-11-30 15:21:01 +01:00
0xboobface fedf38004d Don't log error, if recordings dir does not exist
If the recordings dir does not exist, don't log an error, but instead
set the tooltip to show the problem
2018-11-30 15:04:02 +01:00
0xboobface 76657e2b92 Increase thumb loading thread pool size from 10 to 30 2018-11-30 13:44:13 +01:00
0xboobface 918f63b1f5 Use defaults, if settings cannot be loaded
If the settings cannot be loaded, make a backup of the settings file
and use the defaults, so that the application at least starts.
2018-11-30 13:42:51 +01:00
0xboobface 308a40210f Load images with OkHttp instead of the built-in loader
The built-in loader does not allow control over http headers etc. That
is why we use OkHttp now.
2018-11-30 00:49:56 +01:00
0xboobface 0c825237b2 Implement multi-selection for RecordedModelsTab 2018-11-29 20:56:42 +01:00
0xboobface 0bd655bf95 Add buttons to pause/resume all recordings 2018-11-29 20:10:06 +01:00
0xboobface afd5d3caa3 Extend manual add function to allow to add models by their URL 2018-11-29 19:08:57 +01:00
0xboobface 88bddcb188 Fix: Player not starting when path contains spaces 2018-11-29 17:53:26 +01:00
0xboobface c17dcc4216 Add setting to toggle Player Starting message 2018-11-29 17:33:10 +01:00
0xboobface fbb1c284d2 Remove old code 2018-11-29 13:41:45 +01:00
0xboobface 6a2a1aaba2 Remove HLS player stuff 2018-11-29 13:36:23 +01:00
0xboobface 09a65c0a96 Load stylesheets from parent stage
Also, move the notification to the bottom right
2018-11-29 01:05:03 +01:00
0xboobface cf9a6d3f85 Merge branch 'master' into notify 2018-11-28 23:43:43 +01:00
0xboobface 539db89bdb Bump version to 1.12.1 2018-11-28 23:28:32 +01:00
0xboobface 4150a2911b Playing around with notifications 2018-11-28 23:24:06 +01:00
0xboobface b771145612 Bump version to 1.12.0 2018-11-28 17:52:30 +01:00
0xboobface 3a7f2ceca6 Add convenience method Config.isDevMode()
Also made isServerMode() static
2018-11-28 15:37:35 +01:00
0xboobface e9909fe11a Add debug styling
Display size cell red, if the size didn't change. This is only done
when run in DEV mode. This makes it easier to debug freezing / hanging
downloads
2018-11-28 15:23:56 +01:00
0xboobface e296340016 Ignore log files 2018-11-27 17:54:43 +01:00
0xboobface 55b219d271 Move size formatting code to StringUtil 2018-11-27 14:11:52 +01:00
0xboobface 8826de38b2 Improve calculation of size property 2018-11-27 14:05:56 +01:00