Commit Graph

12 Commits

Author SHA1 Message Date
0xb00bface ea062582d4 Code cleanup 2021-05-14 19:52:46 +02:00
0xb00bface 967b5dec42 Use global thread pool instead of creating new threads 2021-01-10 22:14:20 +01:00
0xb00bface d679bb65ca Revert "Use CompletableFuture.runAsync instead of creating new Threads"
This reverts commit 53684668ab.
2021-01-10 19:58:17 +01:00
0xb00bface 53684668ab Use CompletableFuture.runAsync instead of creating new Threads 2020-12-27 15:38:33 +01:00
0xboobface f4ad1a4f61 Move ConfigUI interface from common module to client 2020-06-12 18:25:28 +02:00
0xboobface 5083d77ffe Move tab related stuff to own package 2020-01-26 15:07:30 +01:00
0xboobface 3a83943130 Let SiteUi launch the player for a model stream
This is done, because there might be some special conditions for the
player to work. For example on fc2live a websocket has to be open while
the player is running. The SiteUI can handle these cases transparently.
2019-01-21 15:31:13 +01:00
0xboobface bf6b715642 Login every 30 min to LiveJasmin so that the session does not expire 2019-01-09 20:35:31 +01:00
0xboobface f2ac9e3657 Show error dialog if login fails 2019-01-09 15:12:21 +01:00
0xboobface a6709bd6db Introduce external browser for logins
Since the JavaFX integrated browser does not work reliably for recaptcha and in general does not behave like standard browsers, I now use an external browser for the logins. The dependency to javafx-web has been removed.

The external browser is based on electron, which uses chromium as internal browser. The implementation can be found at https://github.com/0xboobface/ctbrec-minimal-browser

The browser is a minimal browser, which only shows the web page content without any other controls. It is launched by ctbrec in a new process and remote controlled over a socket connection. I first tried to control it via
stdin/stdout, but it turns out, that stdin is not supported by electron on windows.
2019-01-08 14:26:22 +01:00
0xboobface 2425a9dc60 Add websocket download
This is the first version with working downloads for SD and HD. These
dowloads only work, if you are logged in. So at the moment you have to set the
session ID in the settings to make this work. The session ID can be copied
from a valid session in a browser.
2018-12-22 19:44:45 +01:00
0xboobface 4f3fd8a677 Add classes for LiveJasmin 2018-12-19 12:57:44 +01:00