Commit Graph

70 Commits

Author SHA1 Message Date
0xboobface 175e547123 Add token buy button to donate tab 2018-10-06 13:38:32 +02:00
0xboobface 46301fc379 Add buttons to open Chaturbate to register a new account or buy tokens 2018-10-05 19:01:52 +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 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 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 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 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 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 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 527f5f61ff Add setting to split up the recording after x minutes 2018-09-10 13:45:05 +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
0xboobface 1d7dd0d0e8 Merge branch 'master' into mpegts-streamer 2018-09-07 15:20:06 +02:00
0xboobface 698ba72120 Integrate mpegts-streamer to save a recording to a single file
Integrate a modified version of mpegts-streamer (https://github.com/igilham/mpegts-streamer)
Add BlockingMultiMTSSource to mpegts-streamer, which is used to add new InputStreamMTSSources
online for each segment.

Remove all settings and methods, which are needed for segment merging.
2018-09-07 15:16:08 +02:00
0xboobface a147c1b26c Add check for JavaFX on start
On startup check if the application is running on the OpenJDK JVM. If that is the case,
check that JavaFX is available (because OpenJDK comes without JavaFX, it has to be installed
separately). If it is not available, log an error what to do and exit.
2018-09-07 14:31:18 +02:00
0xboobface 9ba0fd624f Save and restore window size, location and maximized state
Save and restore window size, location and maximized state so that
the window opens in the exact same state as when it has been closed.
2018-09-05 14:24:22 +02:00
0xboobface 7d36586b04 Make thumbnail size configurable
Add combobox on the bottom of ThumbOverviewTab.
Add integer thumbWidth to the Settings to save and restore the selected
 value between sessions. Set the selected value for all thumbnails on
all tabs.
2018-09-05 13:54:44 +02:00
0xboobface 22d32bcc64 Add possibility to switch the stream resolution for a recording
Add the possibility to switch the stream resolution for a model, which
already is recorded by the recorder. This makes it more convenient to
switch the resolution, if you already have a bunch of models in the
recorder list.
2018-09-04 16:50:38 +02:00
0xboobface c80f81d937 Add comment and log statement 2018-09-04 16:27:55 +02:00
0xboobface 0cb4b3d9a4 Move stream resolution selection dialog to its own class 2018-09-04 14:55:48 +02:00
0xboobface e33c6a3d94 Don't overwrite stream url index for a model on an update
When the manual selection of stream resolution is enabled, the index of
the selected stream is saved in the model object. Don't overwrite this
value, if the model objects get updated, so that the value is persistent
even between sessions.
2018-09-04 13:28:48 +02:00
0xboobface 79a1ccc011 Enable proxy authentication for SOCKS4 and HTTP 2018-08-30 13:18:19 +02:00
0xboobface cd5046b961 Add WebView to UpdateTab, which shows the chagelog 2018-08-29 14:27:21 +02:00
0xboobface 13c5bdfd40 Change labels in the merge settings
Change labels in the merge settings to make it clearer, that the merge
directory also affects the manual merge
2018-08-29 14:03:43 +02:00
0xboobface 154995a760 Add version number to window title 2018-08-29 14:02:16 +02:00
0xboobface 8d4ba6d513 Fix status switching between FINISHED and DOWNLOADING
Do not change the status from an update, if it is in the status
DOWNLOADING. Reason: The FINISHED status is overwritten with
DOWNLOADING, if the recording is downloading. But during the update of
the recordings, it gets reset with the FINISHED status from the server
until it is overriden again.
2018-08-28 17:16:44 +02:00
0xboobface f30d13609b Improve exception handling
Make sure, the status is reset to FINISHED, if something goes wrong
while downloading, so that the context menu is reactivated
2018-08-28 17:13:35 +02:00
0xboobface 4821ba42b8 Close http response in update checker 2018-08-28 15:22:34 +02:00
0xboobface 32e060ceb2 Add update check
Add update check, which checks the github API to retrieve the latest
version and opens a tab, if new update is available.
2018-08-28 14:48:00 +02:00
0xboobface 4c32dc84f5 Fix status and progress update in recordings table
Fix status and progress update in recordings table, which didn't work
correctly for the merge process.
2018-08-28 13:04:02 +02:00
0xboobface 431724ce14 Extract DevNull OutputStream to its own class
Extract DevNull to its own class, so that it can be used by other
classes.
2018-08-28 12:57:55 +02:00
0xboobface 3a718cc92c Remove System.out.println 2018-08-27 18:41:53 +02:00
0xboobface e09d0c35aa Add proxy settings
Add titled pane to settings tab to configure a proxy. Assign the proxy
settings on start to the according System properties (see
https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html#Proxies),
so that they get picked up by okhttp, HttpUrlConnection etc.
2018-08-27 18:15:40 +02:00
0xboobface 18b785811b Fixed memory leak in ThumbOverviewTab
The filteredThumbCells list was never cleared and thus grew over time.
2018-08-16 17:20:58 +02:00
0xboobface 3620a305bf The ImageView in ThumbCell is not cached anymore, because it does not
improve performance and uses up memory
2018-08-16 17:20:05 +02:00
0xboobface 306c9b6448 Increased window height to 800 2018-08-15 12:42:56 +02:00
0xboobface c5b34e9577 Added settings to record all followed models and to allow multiple
players at once
2018-08-15 12:42:36 +02:00
0xboobface 94bede6367 Added setting to record all followed models 2018-08-13 18:29:44 +02:00
0xboobface e00c653c23 Logging 2018-08-13 18:29:13 +02:00
0xboobface c64359d455 Allow multiple player processes at once 2018-08-13 18:27:23 +02:00
0xboobface d6e73aef9a Added setting to move merged files to a separate directory 2018-08-09 14:43:27 +02:00
0xboobface dcbea85f76 Grouped settings in TitledPanes 2018-07-26 16:08:39 +02:00
0xboobface f1adead851 Improved resolution requests 2018-07-25 20:21:51 +02:00