forked from j62/ctbrec
1
0
Fork 0
Commit Graph

538 Commits

Author SHA1 Message Date
0xboobface c8eda9303b Fix possible NPE in PlaylistGenerator 2018-10-05 18:31:17 +02:00
0xboobface d26b422350 Update changelog 2018-10-05 18:04:30 +02:00
0xboobface c614aebba7 Add possibility to send tips
The context menu now contains an entry to send tips. The menu opens
a dialog, which displays the current token balance and allows the input
of the number of tokens to tip.
2018-10-05 18:03:35 +02:00
0xboobface ebf36cb594 Invalidate cache entries, so that we have the correct playlist URL 2018-10-03 16:42:42 +02:00
0xboobface 83c1d7a9cb Update changelog 2018-10-03 15:50:06 +02:00
0xboobface c91c9641f0 Clear threadpool queue when tab is changed
Clear the threadpool queue when the user switches between tabs, so that
the resolution tags, which are visible get updated earlier. Before, the
tags on tab the user is coming from were updated first and after that
the tags of the currently visible tab.
2018-10-03 15:47:04 +02:00
0xboobface e61cff48f2 Invalidate cache entries, if model is public and resolution is 0 2018-10-03 15:05:39 +02:00
0xboobface e6ce54e1d8 Make stream resolution selection dialog resizable
This seems to help a glich, where the dialog opens with a size only a
few pixels.
2018-10-03 15:05:07 +02:00
0xboobface 866e73ccff Make loading of resolution more robust
The loading of the reosultion might fail, if the URL in StreamInfo is
outdated. Remove StreamInfo from cache in that case and retry.
2018-10-03 15:03:54 +02:00
0xboobface 0e41599ecb Change log level 2018-10-03 14:29:10 +02:00
0xboobface e22658b285 Add cache for StreamInfo and stream resolution requests 2018-10-03 13:39:03 +02:00
0xboobface 530ce820d5 Add radiobuttons to switch between online/offline models
CTB seems to split up the followed tab between online and offline
models. This change adds radiobuttons at the bottom of the followed tab
to switch between online and offline models.
2018-10-03 13:37:08 +02:00
0xboobface 4cbb855bc6 Update the online property of JavaFxModel
With the refactoring of the model / chaturbate class, the online
property of JavaFxModel was not updated anymore, so that the checkbox
in the table would never update.
2018-10-01 18:44:02 +02:00
0xboobface 1dadd6b94b Use getName() instead of this.name
Use getName() whenever this.name is used, so that the wrapper
JavaFxModel works as intended.
2018-10-01 18:39:18 +02:00
0xboobface 88ee4bd157 Convert recording time relative to local timezone.
Convert recording time relative to local timezone and format it with
a easily readable format.
2018-10-01 18:07:51 +02:00
0xboobface 63a91b830d Fix request throttling
Requests to Chaturbate were not throttled properly
2018-10-01 17:25:35 +02:00
0xboobface 3df1dbf911 Move Chaturbate class to Model
Chaturbate only contains Model related methods. So it makes sense to
encapsulate that functionality in Model.

Use guava LoadingCache in Chaturbate class to cache resolution and
StreamInfo requests. The entries expire after 5 minutes.

Add possibility to filter for public rooms only.
2018-10-01 17:09:27 +02:00
0xboobface 58dcc2e32d Show state in the resolution tag, if the model is not online
If the model is not online and the resolution tag is shown, instead of
a zero, display the state (away, offline, private) and change the tag
color to red.
2018-09-29 16:55:24 +02:00
0xboobface 556df06053 Update download links to 1.5.2 2018-09-25 15:32:26 +02:00
0xboobface 3776fa4faa Bumb version to 1.5.2 2018-09-25 15:10:48 +02:00
0xboobface bffb8bcb26 Update changelog 2018-09-25 15:10:21 +02:00
0xboobface ab9f3c7df1 Merge branch 'master' into dev 2018-09-25 15:02:00 +02:00
0xboobface b206a6caf7 Add key listener to unfollow by pressing the delete key 2018-09-25 15:00:45 +02:00
0xboobface e6c38081d9 Add delete key listener to stop recording 2018-09-25 13:55:32 +02:00
0xboobface ee89727412 Add resource include for css files in src/main/java 2018-09-25 13:44:10 +02:00
0xboobface fa745e9acc Add item to context menu to stop recording in RecordingsTab 2018-09-25 13:35:12 +02:00
0xboobface 45e569e08a Add multi-selection to ThumbOverviewTab
Clicking while holding shift now selects a ThumbCell and allows the
multiple ThumbCells at one. The actions in the context menu are applied
to all selected models. "copy url" is disabled, if multiple models are
selected, because that doesn't make sense.
2018-09-24 20:00:16 +02:00
0xboobface cccb23906d Remove debug logging 2018-09-19 13:43:56 +02:00
0xboobface 9c7f3c3fb4 Add parser input to log message, if the HLS playlist cannot be parsed 2018-09-19 13:29:04 +02:00
0xboobface 69c518d6d6 Change log level for deleted files to trace 2018-09-19 13:28:14 +02:00
0xboobface d58e80ce00 Update download links to 1.5.1 2018-09-11 13:11:19 +02:00
0xboobface 84098be4ef Bump version to 1.5.1 2018-09-11 13:00:49 +02:00
0xboobface 9b1ca0963e Reduce log severity for continuity errors to WARN 2018-09-10 18:17:42 +02:00
0xboobface 622157a7e5 Update changelog 2018-09-10 17:52:24 +02:00
0xboobface dba4aa0a02 Fix OutOfMemoryErrors
1. Catch exceptions thrown by ContinuityFixer and skip to the next
packet.
2. Restrict the queue size to 10 segments. Otherwise, if the download
is faster than the stream is written to hard disk, the queue builds
up with segments until the heap exceeds its maximum size
2018-09-10 17:52:11 +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 01aa04b3da Catch exceptions in Stream.stop() 2018-09-09 19:23:42 +02:00
0xboobface 42186208bf Fix typo in log message 2018-09-09 17:55:58 +02:00
0xboobface a361f08f67 Update download links to 1.5.0 2018-09-09 14:47:08 +02:00
0xboobface d0a28aee2f Remove exludes from delete method
The excludes is not used anymore, since the whole merging mechanism
has been removed.

Add more debug statements for the different delete statements.
2018-09-09 14:40:08 +02:00
0xboobface 1c5bcaef35 Make sure the streamer is stopped
The streamer has to be stopped, when the download is stopped or
terminates to release the file handle of the recording and to stop
the merge thread
2018-09-09 14:30:21 +02:00
0xboobface 80cafbb47d Update changelog 2018-09-09 14:28:49 +02:00
0xboobface 94cc2adc25 Bumb version to 1.5.0 2018-09-09 14:28:41 +02:00
0xboobface 455dea97d9 Try not to write to sink, if the streamer has been stopped 2018-09-09 14:28:29 +02:00
0xboobface 17901901f9 Ignore empty recording directories in LocalRecorder.getRecordings() 2018-09-08 21:56:18 +02:00
0xboobface 528d7336e1 Simplify integration of mpegts-streamer
Get rid of unneded thread complexity.
Use Queue.take() instead of poll() to avoid unnecessary looping and
the CPU load it causes.
2018-09-08 21:53:39 +02:00
0xboobface 7efbeac565 Adjust detection of recording state to new download mechanism 2018-09-08 00:37:15 +02:00
0xboobface 89a69fa797 Change the name of a merged recording to model-date.ts 2018-09-08 00:17:40 +02:00
0xboobface 8fcc8e0f91 Reimplement the download so that it uses the BlockingMultiMTSSource
This should create a transport stream file with proper continuity counters
and timestamps
2018-09-07 23:59:37 +02:00