Commit Graph

26 Commits

Author SHA1 Message Date
0xboobface 69cfc8a6ec Add setting to configure the directory structure
In client mode you can now select how the stream is stored. There
are three options:
* all recordings in one directory
* one directory for each model
* one directory for each recording
2018-11-18 18:23:19 +01:00
0xboobface 8ee3d8b588 Add setting to run post-processing script
The post-processing script is executed, after a local recording
is finished. The script is executed in the directory of the recording
with the following parameters in given order: directory (absolute path),
file (absolute path), model name, site name, unixtime
2018-11-07 23:05:06 +01:00
0xboobface ba0cc591d3 Add setting for HTTP User-Agent header
Replace all occurences of the User-Agent header with the user-agent
string from the settings
2018-11-07 13:49:56 +01:00
0xboobface 682f78bdac Remove dependency to JavaFX from the server code
The sites had a direct depedency to JavaFX, which prevents the server
to be started with openjdk. The affected code is no located in ConfigUI,
so that the no direct dependency exists.
2018-11-05 19:02:22 +01:00
0xboobface 9da580c6e8 Add setting to define a maximum resolution for recordings 2018-11-04 13:37:27 +01:00
0xboobface b476c452ad Merge branch 'dev' into camsoda
Conflicts:
	src/main/java/ctbrec/Settings.java
	src/main/java/ctbrec/recorder/server/HttpServer.java
	src/main/java/ctbrec/ui/CamrecApplication.java
	src/main/java/ctbrec/ui/ThumbCell.java
2018-10-30 19:06:20 +01:00
0xboobface 43cb005fcd Add login dialog for Cam4
The login dialog uses a WebView to load the login form from cam4.com
Username and password get filled in by ctbrec, the user has to solve
the captcha. Afterwards all cookies (especially the session cookie)
are extracted from the webview and transfered to the OkHttp client,
so that it can be used for further requests.
2018-10-29 17:36:58 +01:00
0xboobface 8fd09fd521 Implemented followed tab for CamSoda 2018-10-28 21:23:58 +01:00
0xboobface 5cd8ae3cff Add possibility to disable sites
Sites can be disabled in the settings, so that they don't get
initialized on start. The UI is not created for them aswell.
2018-10-25 20:11:25 +02:00
0xboobface f0154857d9 Add mechanisms to have credentials/settings for each site
Each site can now provide its own configuration panel. For
Chaturbate and MyFreeCams these panels contain input fields
for the user credentials.
2018-10-25 12:27:46 +02:00
0xboobface 387661cfdf Abstract more stuff in the site packages 2018-10-21 19:06:01 +02:00
0xboobface 43c29758c4 Add interface Model to abstract from different implementations
Model is the common interface for the implementations of all sites.
At the moment only ChaturbateModel exists.
2018-10-16 18:32:54 +02:00
0xboobface dd316070a5 Set httpTimeout to 10000ms instead of 10ms 2018-09-10 17:44:42 +02:00
0xboobface 527f5f61ff Add setting to split up the recording after x minutes 2018-09-10 13:45:05 +02:00
0xboobface 698ba72120 Integrate mpegts-streamer to save a recording to a single file
Integrate a modified version of mpegts-streamer (https://github.com/igilham/mpegts-streamer)
Add BlockingMultiMTSSource to mpegts-streamer, which is used to add new InputStreamMTSSources
online for each segment.

Remove all settings and methods, which are needed for segment merging.
2018-09-07 15:16:08 +02:00
0xboobface 9ba0fd624f Save and restore window size, location and maximized state
Save and restore window size, location and maximized state so that
the window opens in the exact same state as when it has been closed.
2018-09-05 14:24:22 +02:00
0xboobface 7d36586b04 Make thumbnail size configurable
Add combobox on the bottom of ThumbOverviewTab.
Add integer thumbWidth to the Settings to save and restore the selected
 value between sessions. Set the selected value for all thumbnails on
all tabs.
2018-09-05 13:54:44 +02:00
0xboobface e09d0c35aa Add proxy settings
Add titled pane to settings tab to configure a proxy. Assign the proxy
settings on start to the according System properties (see
https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html#Proxies),
so that they get picked up by okhttp, HttpUrlConnection etc.
2018-08-27 18:15:40 +02:00
0xboobface c64359d455 Allow multiple player processes at once 2018-08-13 18:27:23 +02:00
0xboobface d6e73aef9a Added setting to move merged files to a separate directory 2018-08-09 14:43:27 +02:00
0xboobface f1adead851 Improved resolution requests 2018-07-25 20:21:51 +02:00
0xboobface 98cefacae3 Added possibility to select the stream quality.
The Settings tab now contains a checkbox to enable manual stream
selection. If not checked, the stream with the highest quality is
selected.
2018-07-11 20:41:22 +02:00
0xboobface b12644cfbf Added auto-merging for local mode
In local mode files can be automatically merged after a recording is
finished. This can be configured in the settings.
2018-07-07 18:04:56 +02:00
0xboobface d62bba5599 Implemented HMAC authentication in RecorderServlet 2018-07-07 12:50:21 +02:00
0xboobface 4c4f885844 Added resoltion tag to thumb cell
Added the possibility to display the video resolution for each model in
the top right corner of the thumb. Can be toggled in the settings.
2018-07-06 13:05:42 +02:00
0xboobface 1ab902892d initial import 2018-07-01 17:38:53 +02:00