forked from j62/ctbrec
1
0
Fork 0
Commit Graph

444 Commits

Author SHA1 Message Date
0xboobface e87611fe3d Split up project into client, server and master 2018-11-18 19:22:37 +01:00
0xboobface b27fb699e4 Update changelog 2018-11-18 18:40:54 +01:00
0xboobface 331e2e2e80 Delete parent directories if they are empty
Stop deleting parent dirs at the recordings dir level
2018-11-18 18:36:38 +01:00
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 f7c581a517 Add open in player to menu in "Recording" tab 2018-11-17 14:35:03 +01:00
0xboobface 549181f5ed Add export for JAVA_HOME env variable 2018-11-17 13:38:16 +01:00
0xboobface ccee14e2ae Don't run the pp script in the directory of the recording
On widows, running the script in the directory of the recording results
in a filesystem lock on the directory, so that it cannot be deleted.
2018-11-17 13:37:56 +01:00
0xboobface bbe0239ae1 Change hint text for the filter textfield
... to make it clearer what it does
2018-11-17 12:34:28 +01:00
0xboobface 60e81c5dbf Add auto-complete to input field on the "Recording"-tab 2018-11-17 00:03:10 +01:00
0xboobface 5df5b4a405 Add open dir menu entry for recordings
... to open the directory of the recording in the systems file
manager
2018-11-16 20:27:41 +01:00
0xboobface c36052f854 Fixed typo in class name 2018-11-16 20:02:53 +01:00
0xboobface bd1522f615 Ignore case when checking online state by name 2018-11-16 19:14:02 +01:00
0xboobface 25d5fa9646 Add HMAC as request param, if authentication is enabled 2018-11-16 12:47:54 +01:00
0xboobface d7ba8b2978 Protect only the playlists with HMAC
Ignore HMAC authentication for segments, so that media players can
access the segments without the server having to manipulate the
playlist and add an hmac for every segment
2018-11-16 12:42:33 +01:00
0xboobface 917dbbadaa If HMAC is a request parameter, calculate it from the requested path 2018-11-16 12:40:27 +01:00
0xboobface 3241066303 Clear streamSources list before update 2018-11-16 11:14:13 +01:00
0xboobface 11133f309d Catch all exceptions in startPlayer() 2018-11-16 11:13:26 +01:00
0xboobface 1237476d31 Update download links to 1.9.0 2018-11-15 15:46:48 +01:00
0xboobface 2e3e7d2419 Enable sites, if config does not exist
Sites were only enabled, if the config existed. That's why all sites
were disabled on the very first start.
2018-11-15 14:11:19 +01:00
0xboobface 5cab782510 Update changelog 2018-11-15 13:04:26 +01:00
0xboobface 5f4fa129e6 Bump version to 1.9.0 2018-11-15 13:04:19 +01:00
0xboobface 999a68231e Add google analytics to website 2018-11-15 13:01:21 +01:00
0xboobface 5e063eb91c Improve exception handling
Don't log a stacktrace, if the server returns a 404 for the playlist
2018-11-15 12:50:18 +01:00
0xboobface 81cfdf8439 Update changelog 2018-11-14 19:32:26 +01:00
0xboobface 0d6d9a8442 Create assembly descriptors for all platforms w/ and w/o JRE 2018-11-14 18:57:58 +01:00
0xboobface ff8bbeacc2 Refactor and simplify MergedHlsDownload
* Break up the big downloadSegments method into smaller methods
* Remove the mergeQueue, because it is not needed anymore. This was
  a left over from when the download used a thread pool to download
  the segments
2018-11-14 16:24:04 +01:00
0xboobface 434e0a1f64 Remove stacktrace from continuity fix error log 2018-11-14 16:21:55 +01:00
0xboobface d26bb2660b Interrupt streaming thread, if end of stream is reached
Before the thread would just linger around and prevent the download
from closing the file
2018-11-14 16:21:16 +01:00
0xboobface 71d293b778 Throw HttpException in getStreamSources if request failed 2018-11-14 16:20:07 +01:00
0xboobface 9bf8a4f2d4 Fix: Make it possible to remove post-processing script 2018-11-14 15:26:11 +01:00
0xboobface ef3c5640e1 Throw a HttpException if request is unsuccessful in getMasterPlaylist 2018-11-14 14:54:03 +01:00
0xboobface 5b8d65ab27 Introduced new HttpException for unsuccessful HTTP responses
Instead of throwing an IOException with String message, use the new
HttpException. The exception handling code can then use the status
code to be more specific how to handle the exception.

Also: use try-with-resources for the okhttp response where possible
2018-11-14 14:43:26 +01:00
0xboobface 8e1aabc7b7 Use CamrecApplication's http client for cam4 unfollow requests
If the cam4 http client is used, the request does not work. Must have
something to do with the authentication cookies. No idea!
2018-11-14 14:19:26 +01:00
0xboobface 037061531e Only save cookies for domains, which contain cam4 2018-11-14 14:17:26 +01:00
0xboobface e3001cb242 Replace deprecated call to Call.newInstance() 2018-11-14 14:16:20 +01:00
0xboobface 9bcf7523b1 Remove finalize method. It is deprecated in Java 9 2018-11-14 14:15:52 +01:00
0xboobface 59cd9cf699 Make sure, ctbrec is started with Java >= 10 2018-11-14 13:49:31 +01:00
0xboobface 016fd2bd14 Include JavaFX in the distribution zips
Since JavaFX will not be shipped with the JRE/JDK form Java 11 on, we
include it in the distribution zips. The latest JavaFX is built with
Java 10, so we set that as runtime, too.
2018-11-14 13:48:04 +01:00
0xboobface 22dbb82c66 Add new class to determine the Java version 2018-11-14 13:37:36 +01:00
0xboobface 3bcbf100fe Fix: NPE when switching stream resolution of suspended model 2018-11-14 12:46:13 +01:00
0xboobface 40f0411bf3 Close HTTP connection if websocket request fails
When the websocket "switch over" request fails, close the response
to avoid resource leaks in OkHttp
2018-11-13 17:37:41 +01:00
0xboobface 41a3031f37 Run watchdog every 10 seconds instead of every second 2018-11-13 17:25:01 +01:00
0xboobface f6c98cc68d Remove calls to private API 2018-11-13 16:13:39 +01:00
0xboobface 7be5aec719 Set file appender level to debug
Also overwrite logfile each time, the app gets started
2018-11-13 16:11:52 +01:00
0xboobface c2ad49fa3a Log environment on startup
Print out OS version, Java version and JavaFX version on startup
2018-11-13 16:11:11 +01:00
0xboobface 0cedd7e8e6 Remove calls to private API 2018-11-13 16:10:06 +01:00
0xboobface 378d3954b0 Add animation for following a model
The preview of the model is animated to move to the followd tab
on the left side. This should help to understand, what happened and
that it happened.
2018-11-13 01:01:49 +01:00
0xboobface 705b04b0da In RecordedModelsTab get online state from the recorder
Get the online state of the models on the recorded models tab
from the recorder instead of requesting it from each model. The
recorder knows the state anyways, so there is no need to do the
requests again.
2018-11-13 00:59:09 +01:00
0xboobface 6c1a757af3 Fix: Update online state more reliable
So online state was only updated by the ThumbnailOverviewTab, so the
recorder would never start recording.
2018-11-12 22:37:32 +01:00
0xboobface 014ab5312f Reduce log level in loadModelDetails() 2018-11-12 12:39:38 +01:00