forked from j62/ctbrec
1
0
Fork 0
Commit Graph

429 Commits

Author SHA1 Message Date
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
0xboobface e9e6d73e97 Handle empty model details more gracefully
The model details request might just return an empty array. Instead of
printing out a stacktrace for each online check, we just assume, that
the model is offline.
2018-11-12 12:37:44 +01:00
0xboobface eb3c878b03 Avoid NPE in ContinuityFixer 2018-11-10 15:03:35 +01:00
0xboobface c8af7a409a Change log level to trace in getMasterPlaylist 2018-11-10 14:34:05 +01:00
0xboobface f2cd4d3609 Start player, when enter is hit on a finished recording 2018-11-10 14:32:16 +01:00
0xboobface 2658536ee6 Be less verbose on playlist parsing errors 2018-11-10 14:31:40 +01:00
0xboobface 45a7e4ba5f Remove stub comments 2018-11-09 19:18:38 +01:00
0xboobface 977674cc1e Replace user name in pp batch script 2018-11-09 18:45:18 +01:00
0xboobface 7d027adfde Update homepage texts 2018-11-09 18:41:52 +01:00
0xboobface 1ed34310de Replace Windows (no JRE) with macOS download link 2018-11-09 18:36:11 +01:00
0xboobface 19a22f6900 Update download links to 1.8.0 2018-11-09 18:32:22 +01:00
0xboobface 2eab3b3bd4 Merge branch 'dev' 2018-11-09 18:28:50 +01:00
0xboobface a1cefb4be7 Bumb version to 1.8.0 2018-11-09 18:27:43 +01:00
0xboobface 37b78854f4 Update changelog 2018-11-09 18:27:25 +01:00
0xboobface e34cba01e6 Add example post-processing scripts to distribution archives 2018-11-09 18:27:01 +01:00
0xboobface 6982bceb57 Reduce verbosity of logging 2018-11-09 18:20:28 +01:00