forked from j62/ctbrec
1
0
Fork 0
Commit Graph

545 Commits

Author SHA1 Message Date
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 cbe466e7b9 Set default for showPlayerStarting to false 2018-11-29 17:50:09 +01:00
0xboobface c17dcc4216 Add setting to toggle Player Starting message 2018-11-29 17:33:10 +01:00
0xboobface 2c716d3c88 Set all occurrences of PlaylistParser to lenient mode 2018-11-29 13:42:23 +01:00
0xboobface fbb1c284d2 Remove old code 2018-11-29 13:41:45 +01:00
0xboobface c73bdda35d Update download links to 1.12.1 2018-11-28 23:34:25 +01:00
0xboobface 539db89bdb Bump version to 1.12.1 2018-11-28 23:28:32 +01:00
0xboobface 1e51298f41 Fix recording download from server 2018-11-28 23:06:41 +01:00
0xboobface c0bd89b228 Fix log message 2018-11-28 20:35:23 +01:00
0xboobface ede6dd73d2 Don't print stacktrace on timeout in OnlineMonitor 2018-11-28 20:30:45 +01:00
0xboobface 52fe184cea Update download links to 1.12.0 2018-11-28 17:57:43 +01:00
0xboobface a45ba8f35e Merge branch 'dev' 2018-11-28 17:53:02 +01:00
0xboobface b771145612 Bump version to 1.12.0 2018-11-28 17:52:30 +01:00
0xboobface ab49ac414a Update changelog 2018-11-28 17:37:23 +01:00
0xboobface cbb6f3f45a Add failFast version of getStreamInfo for faster startup
With many chaturbate models, the loading of the recording tab took
a long time, because for each model the online state was loaded by the
loading cache. The failFast version just returns null and makes the
inital loading of recorder.getOnlineModels() much faster.
2018-11-28 16:45:42 +01:00
0xboobface ef9566999a Fixed possible NPE in update method 2018-11-28 16:43:30 +01:00
0xboobface 403c1ed2d0 Fix split recordings
Split recordings didn't work, because splitRecStartTime had been removed
by accident. Also the splitting now does not start a new recording, but
switches the output file in Streamer. This is a much cleaner and
smoother approach, because it is much faster and no segments are missed
2018-11-28 16:03:21 +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 c4c8fe83fa Improve MergedHlsDownload
* Add better exception handling
* Check, if the model is still online, when an error occurs
* Download segments in parallel, so that less segments are missed
2018-11-28 15:22:42 +01:00
0xboobface 7edc79b0e3 Take boolean privateRoom into account for online state 2018-11-28 11:47:40 +01:00
0xboobface 33642705a0 Check playlistUrl in isOnline
If the playlistUrl is empty, we cannot record, so the model is offline
2018-11-27 18:53:22 +01:00
0xboobface e296340016 Ignore log files 2018-11-27 17:54:43 +01:00
0xboobface c543af6429 Set online state to offline if model details cannot be loaded 2018-11-27 17:53:37 +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
0xboobface bf8a3c7240 Fill start tab combobox only once 2018-11-27 13:25:30 +01:00
0xboobface ba4ac952e2 Add threshold for space left on device to SettingsTab 2018-11-26 16:08:42 +01:00
0xboobface a7cc0882f6 Reorganize settings tab 2018-11-26 15:45:12 +01:00
0xboobface cc2aa3c8d5 Add threshold setting for minimum space on disk
If there is less space left on the device than specified by the setting,
the recorder will stop all recordings and don't start new ones until
the free space rises above this threshold again.
2018-11-26 15:28:44 +01:00
0xboobface 5708d7f259 Add display to show space left on device 2018-11-26 14:03:40 +01:00
0xboobface 8fdb24bad1 Add methods to get the free and total space 2018-11-26 14:01:08 +01:00
0xboobface 91ea7d65a3 Sort by height only if the height is set
If the height is not available, it is set to Integer.MAX_VALUE. IT makes
not sense to compare by that value. Instead compare the bitrates.
2018-11-26 00:13:53 +01:00
0xboobface eb27defe81 Update download links to 1.11.0 2018-11-25 23:52:57 +01:00
0xboobface 6ee39cb6f4 Set smooth property for search thumbnail 2018-11-25 23:01:54 +01:00
0xboobface 0fa716abdb Fix label 2018-11-25 23:01:27 +01:00
0xboobface 3b9927a591 Make search case insensitive 2018-11-25 23:01:14 +01:00
0xboobface b869c4a82c Save and restore table states
Save and the restore the table state (sorting and column widths) for
the recorded models and the recordings tables
2018-11-25 22:10:12 +01:00
0xboobface faf6240b45 Save changes to the list of recorded models immediately
... to make sure, that the settings are persisted in case
the process dies or gets killed.
2018-11-25 21:23:37 +01:00
0xboobface 9817fdfb42 Add setting for the online check interval 2018-11-25 21:17:17 +01:00
0xboobface e5ff778d6b Write config immediately after a value changed 2018-11-25 21:15:25 +01:00
0xboobface 9a51cff240 Update changelog 2018-11-25 20:10:50 +01:00
0xboobface a57a9877b8 Bumb version to 1.11.0 2018-11-25 20:10:27 +01:00
0xboobface a6be8b4b63 Show restart message, when colors are changed 2018-11-25 19:16:04 +01:00
0xboobface 3bfb76e441 Re-add onlineCheckIntervalInSecs
Was removed by accident
2018-11-25 19:12:27 +01:00