forked from j62/ctbrec
1
0
Fork 0
Commit Graph

1096 Commits

Author SHA1 Message Date
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 cf9a6d3f85 Merge branch 'master' into notify 2018-11-28 23:43:43 +01:00
0xboobface 539db89bdb Bump version to 1.12.1 2018-11-28 23:28:32 +01:00
0xboobface 4150a2911b Playing around with notifications 2018-11-28 23:24:06 +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 b771145612 Bump version to 1.12.0 2018-11-28 17:52:30 +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 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 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 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 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 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 a57a9877b8 Bumb version to 1.11.0 2018-11-25 20:10:27 +01:00
0xboobface 3bfb76e441 Re-add onlineCheckIntervalInSecs
Was removed by accident
2018-11-25 19:12:27 +01:00
0xboobface 84dfeb9484 Add setting to SettingsTab to define the color scheme of the app 2018-11-25 19:11:15 +01:00
0xboobface 240e5e0d92 Add setting for online check interval 2018-11-25 17:04:49 +01:00
0xboobface 9965f352e3 Improve MFC search by also searching in the models cache 2018-11-25 16:28:17 +01:00
0xboobface 6fa9de4a32 Ensure the correct model is updated by checking the uid
The uid should be a value > 0
2018-11-24 15:33:48 +01:00
0xboobface 72064eb55b Fix possible NPE in getStreamUrl 2018-11-24 15:20:45 +01:00
0xboobface edb11a0efc Fix possible NPE in update 2018-11-24 15:16:51 +01:00
0xboobface 85fee70e60 Use TimeUnit for wait-calls 2018-11-23 21:15:30 +01:00
0xboobface 3445fa5ca0 Revert change, which prevents ChaturbateModel to work correctly 2018-11-23 21:15:04 +01:00
0xboobface b9f24a209e Implement search feature
If a site supports searching, add a search field on the right side next
to the filter input field. This search uses the sites search function
to look for models and returns a list of matches in a popup window
2018-11-23 20:27:49 +01:00
0xboobface 2202dc969f Add setting to define the start tab
When ctbrec is started, this is the first tab shown to the user.
2018-11-22 16:30:07 +01:00
0xboobface 0dbf319575 Invalidate cache when a new websocket is opened
When a new connection is established (for example by the watchdog),
invalidate the caches. Also don't trigger a connect, if we are already
trying to connect.
2018-11-21 14:20:37 +01:00
0xboobface e11acea52e FIX: Avoid NPE in onFailure 2018-11-20 22:30:27 +01:00
0xboobface 97d3be0b98 Add setting to diable thumbnail updates
This is a feature for people who have bandwidth / contingent restrictions.
It can also help keeping the CPU usage down.
2018-11-20 14:35:06 +01:00
0xboobface 7133283032 Start implementation for FC2Live 2018-11-19 23:20:39 +01:00
0xboobface 8fb5eac435 Move getSite and setSite to AbstractModel 2018-11-19 20:51:40 +01:00
0xboobface 042fe43838 Bumb version to 1.10.0 2018-11-19 15:33:48 +01:00
0xboobface 05d583bab5 Change folder structure to maven conventions 2018-11-18 22:49:05 +01:00
0xboobface cda330ddbd Split up project into client, server, common and master 2018-11-18 22:42:13 +01:00