forked from j62/ctbrec
1
0
Fork 0
Commit Graph

689 Commits

Author SHA1 Message Date
0xb00bface 602c81d18d Adjust ThreadPoolScaler behavior
- ramp up at 65% thread usage
- ramp down at 15% thread usage
- added cooldowns for ramp down, 10 secs after ramp down, 30 seconds
after ramp up
2021-01-01 13:09:37 +01:00
0xb00bface 93a662ce22 Add check to pp to not re-save deleted recordings 2020-12-31 12:51:49 +01:00
0xb00bface f86ba637b4 Add automatic scaling of the scheduled thread pool 2020-12-29 14:44:11 +01:00
0xb00bface c79cc826d7 Improve bandwidth meter performance 2020-12-29 14:44:11 +01:00
0xb00bface 5d50515b81 Add cleanup to method start and set the interval to 24h 2020-12-29 14:44:11 +01:00
0xb00bface 9da2f0fc5d Set version to 4.0.0-SNAPSHOT 2020-12-29 14:44:11 +01:00
0xb00bface e08cf998d5 Remove query part from segment file name 2020-12-29 14:44:11 +01:00
0xb00bface 1c8758ef52 Fix race condition in HlsDownload 2020-12-29 14:44:11 +01:00
0xb00bface 32429b192c Make MergedFfmpegHlsDownload work again 2020-12-29 14:44:11 +01:00
0xb00bface 7e03b48895 Fixed error handling for new multi-threading 2020-12-29 14:44:11 +01:00
0xb00bface e3270b6221 Refactored multi-threading for downloads
This is a first kind of working version. HlsDownload records, but teh error handling is broken.
2020-12-29 14:44:11 +01:00
0xb00bface 65ffbf525d Refactored HLS downloads 2020-12-29 14:44:11 +01:00
0xb00bface 52cdc82044 Fix chaturbate follow/unfollow response parsing 2020-12-29 14:43:26 +01:00
0xb00bface ac3f91eb03 Add setting to show confirmation dialogs for dangerous actions 2020-12-27 14:35:18 +01:00
0xb00bface 58d8432cf2 Update Java to version 15.0.1 2020-12-24 17:03:53 +01:00
0xb00bface 42904f6fba Set version to 3.11.0 2020-12-24 16:54:25 +01:00
0xb00bface 8b55e9d374 Reduce number of threads to read FFmpeg output 2020-12-24 13:10:25 +01:00
0xb00bface 9a270bb84b Add config option for fast scroll speed 2020-12-24 12:10:16 +01:00
0xb00bface e3925e992d Add migration step for Cam4 model notes 2020-12-24 12:02:37 +01:00
0xb00bface ec71dc3c6d Remove dead download code 2020-12-22 15:15:21 +01:00
0xb00bface 8fa785862b Fix MVLive models being detected as online while being offline 2020-12-21 20:10:12 +01:00
0xb00bface 086e15578f Core cleanup 2020-12-21 20:05:22 +01:00
0xb00bface 97715aecc5 Improve UI features for time limited recordings 2020-12-21 18:53:34 +01:00
0xb00bface 8fe48f91b7 Update playlist all the time
Before the playlist was only retrieved, when it was empty (on the
initial call). Now the playlist is updated every time.
2020-12-21 18:17:19 +01:00
0xb00bface 43d8b9d2de Add cache control headers to Cam4 requests 2020-12-21 15:07:50 +01:00
0xb00bface 6875de9b14 Add more logging to Cam4Model 2020-12-20 20:46:01 +01:00
0xb00bface 3b8022df87 Add switch to choose between fast and accurate playlist generation 2020-12-20 20:16:16 +01:00
0xb00bface cf165b7fc0 Make Showup login work with minimal browser 2020-12-20 16:27:48 +01:00
0xb00bface 5f4e17c2d2 Merge branch 'dev' into showup
# Conflicts:
#	common/src/main/java/ctbrec/sites/showup/ShowupHttpClient.java
2020-12-20 12:23:08 +01:00
0xb00bface 867e500fbd Fix MVLive recordings 2020-12-20 00:08:07 +01:00
0xb00bface 672d2a77d4 Add another playlist source for Cam4 models 2020-12-19 19:29:15 +01:00
0xb00bface c9cd6e825d Add Model.exists to check, if a model account exists 2020-12-19 18:07:30 +01:00
0xb00bface fb58be47bb Normalize Cam4 model URLs in setUrl 2020-12-19 18:06:55 +01:00
0xb00bface b5640d932f Set version to 3.10.10 2020-12-19 17:46:15 +01:00
0xb00bface a3ffa7a71e Improve error handling and set timeouts in the Cam4 websocket 2020-12-19 17:41:44 +01:00
0xb00bface 3d076cdde6 Improve logging 2020-12-19 17:41:03 +01:00
0xb00bface ae3726d906 Improve logging 2020-12-19 15:50:24 +01:00
0xb00bface 49469d8987 Determine online state of Cam4 models through the chat websocket 2020-12-19 15:47:44 +01:00
0xb00bface f730f95026 Also use the model page to detect the online state 2020-12-17 20:41:06 +01:00
0xb00bface 809d86f5a2 Extend regex to support more model URLs 2020-12-17 18:49:08 +01:00
0xb00bface 04ee553c1a Set version to 3.10.9 2020-12-15 19:31:29 +01:00
0xb00bface 2f0ef47acf Add more category tabs for CamSoda 2020-12-14 21:28:43 +01:00
0xb00bface d50ca02374 Add online state "off" to mapOnlineState() 2020-12-13 02:54:01 +01:00
0xb00bface ff273efedc Set version to 3.10.8 2020-12-12 22:27:10 +01:00
0xb00bface 1f07cea343 Add more online states to mapOnlineState() 2020-12-12 21:45:32 +01:00
0xb00bface 2eacbae228 Fix Stripchat recordings
For some models the recording didn't start, even if they were online and
publicly visible in the browser. We now use a different JSON object to
determine, which resolutions are available
2020-12-12 21:06:38 +01:00
0xb00bface cdaeaa746b Remove state from Remux post-processor
Post-processors have to be thread safe and can't have any state
2020-12-12 16:31:36 +01:00
0xb00bface 605269b4a0 Add setting to switch FFmpeg logging on / off 2020-12-12 15:22:10 +01:00
0xb00bface 5020f9f06d Update version to 3.10.7 2020-12-06 20:49:59 +01:00
0xb00bface 7d3e65fc14 Add parameters to the macOS browser command
Add parameters to the open command, so that it waits for the process to
end. Otherwise the process returns immediately and causes ctbrec to go
on even though the login process didn't run in the browser.

Furthermore we now pass on the config dir for the minimal browser as a
command line argument
2020-12-06 18:40:12 +01:00
0xb00bface 281d70d29b Store minimal browser config in ctbrec's config dir 2020-12-06 17:59:56 +01:00
0xb00bface 5be7fcc2ae Add clipboard monitoring for model URLs 2020-12-06 15:34:48 +01:00
0xb00bface dafde88721 Fix moving of segmented downloads 2020-12-06 14:22:28 +01:00
0xb00bface a31debcdea Add possibility to split recordings with different strategies 2020-12-05 21:30:54 +01:00
0xb00bface 8b66dce61a Rename chaturbate username and password setting 2020-12-05 16:24:47 +01:00
0xb00bface f2d3026d0a Code cleanup - Remove compiler warnings 2020-12-05 16:13:33 +01:00
0xb00bface c6dd2bb06c Fix bug in credentialsAvailable for Streamate
It was using the username for Chaturbate. Whoopsy!
2020-12-05 16:10:41 +01:00
0xb00bface ab911baeae Bump version to 3.10.6 2020-12-04 21:05:18 +01:00
0xb00bface 9e2074ba59 Fix Cam4 model details link 2020-12-04 21:04:11 +01:00
0xb00bface 75131cd325 Fix MV Live downloads and search 2020-11-29 16:36:39 +01:00
0xb00bface 5c3755dedc Fixed wrong playlist file extensions
m3u8a -> m3u8
2020-11-28 01:00:13 +01:00
0xb00bface 678d7b0174 Set version to 3.10.5 2020-11-21 20:51:23 +01:00
0xb00bface cd840afe0d Add idea project files to .gitignore 2020-11-21 19:20:01 +01:00
0xb00bface 0e7b5b5452 Fix: date placeholders with patterns with more than one ocurrence are 2020-11-21 16:06:45 +01:00
0xb00bface 20473f9a23 Change MFC websocket URL to the TLS one 2020-11-08 13:40:10 +01:00
0xb00bface 17b0a51d02 Set version to 3.10.4 2020-10-31 22:19:15 +01:00
0xb00bface f6a0a5dcaa Update http user agent string 2020-10-31 22:10:47 +01:00
0xb00bface ece3355e1e Try to make showup external login work 2020-10-31 22:08:59 +01:00
0xb00bface 808f96c04f Rename StreamRedirectThread to StreamRedirector
... since it isn't a thread, but a Runnable
2020-10-31 15:10:44 +01:00
0xb00bface bf0e99bd0f Set version to 3.10.3 2020-10-24 11:37:46 +02:00
0xb00bface 66ba857b82 Fix bug in Recording.equals 2020-10-17 17:28:04 +02:00
0xb00bface f7775b4671 Add button to pause recording entirely without pausing all models 2020-10-17 16:43:23 +02:00
0xb00bface e49ef57f21 Change equals and hashcode in Recording to only use the ID 2020-10-17 13:37:49 +02:00
0xb00bface 7eac934c7f Remove getLength from download
The length has to be determined just in time for certain pp functions to
work properly. The length can no longer be retrieved from the recording,
but has to be determined with the help of VideoLengthDetector
2020-10-11 19:14:22 +02:00
0xb00bface 24fa1a6ed6 Set version to 3.10.2 2020-10-08 21:49:01 +02:00
0xb00bface 2d3bb0c5c8 Add possibility to define the contactsheet file name with variables 2020-10-07 21:14:15 +02:00
0xb00bface 2dd32fed0c Fix URLs for models with special characters in their name 2020-10-05 18:44:16 +02:00
0xb00bface eaf5fd2ed7 Remove online check in resumeRecording
The online check will be done in the preconditions check anyway
2020-10-04 19:46:02 +02:00
0xb00bface 0b384cf85e Improve Bongacams online state detection 2020-10-04 19:31:34 +02:00
0xb00bface e250628c96 Add com.sun.activation for Java versions > 8 2020-10-04 16:03:56 +02:00
0xb00bface a2e2dbda6d Catch JSON parse exception 2020-10-04 15:20:23 +02:00
0xb00bface 5fa939ae65 Write script output to temporary log file 2020-10-03 20:22:20 +02:00
0xb00bface 8cc6f7ae0e Delete FFmpeg log files on JVM termination 2020-10-03 20:16:41 +02:00
0xb00bface 098e2d1b67 Fix update of associated files in GUI 2020-10-03 19:00:20 +02:00
0xb00bface 986744dfe7 Improve file handling in HLS servlet 2020-10-03 18:29:09 +02:00
0xb00bface 1350dce14f Fix BongaCams online check
Fix Bongacams unfollow
2020-10-03 16:14:24 +02:00
0xb00bface 3b3854c488 Fix Streamate followed tab
Also use a preview image instead of the bio pic
2020-10-03 13:59:19 +02:00
0xb00bface 99b21845ab Change post-process return value to boolean 2020-09-30 20:09:52 +02:00
0xb00bface 4823c603a7 Mark FFmpeg log files for deletion on JVM exit 2020-09-30 19:13:11 +02:00
0xb00bface 385a4c53c3 Fix Locale related bug in CreateContactSheet 2020-09-30 16:52:47 +02:00
0xb00bface c88ab395e7 Add contact sheet to recordings associated files 2020-09-30 16:23:09 +02:00
0xb00bface dcd3df5d0c Implement contact sheet creation 2020-09-30 16:16:49 +02:00
0xb00bface ce908bded2 Improve video length detection 2020-09-30 13:29:27 +02:00
0xb00bface 3bf9c5fa26 Fix JSON parsing exception
Sometimes performerData is not available. In this case we assume the
model is offline
2020-09-30 10:52:30 +02:00
0xb00bface 26b73322cc Add migration of old pp settings to new pp steps 2020-09-29 20:50:37 +02:00
0xb00bface bccdf47a2e Add automatic fix for invalid resolution range 2020-09-29 19:16:19 +02:00
0xb00bface 7bb0e8fe5d Fix FFMpeg remux stop for server recordings on windows 2020-09-29 15:39:01 +02:00
0xb00bface 099ccc9399 Remove console output 2020-09-29 13:27:09 +02:00
0xb00bface e4eee063ba Fix Showup downloads
Add cid and pid to the playlist url, which fixes the download
functionality. But downloads now stop after a couple of minutes if you
are not logged in.
2020-09-28 14:34:11 +02:00
0xb00bface 8b6d246732 Merge branch 'pp' into dev 2020-09-27 15:25:49 +02:00