8 Commits
Author SHA1 Message Date
faumaray dfbbdaaf01 Sources: use standalone yt-dlp releases 2026-07-26 16:44:25 +03:00
faumaray 5c036d91fb making WEB
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-11 00:45:17 +03:00
faumaray d146f11f02 Release 1.0.0
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-04 01:49:28 +03:00
faumarayandClaude Opus 4.8 9d56a6ff01 Consume Void::Net directly in NetworkClient and callers
Delete NetworkClient's to_void_method/to_void_proxy/to_api_response bridge
and the Api::RetryConfig member; the client builds Void::Net::Request, sends
via Void::Net::HttpClient, returns Void::Net::Response, and retries via an
internal Void::Retry policy + retryable-status list.

Call sites updated to Void::Net member names: isSuccess()->ok(),
statusCode->status, getHeader()->header() (optional<string_view>),
isRedirect()->status range check; proxy isValid()->enabled(),
requiresAuth()->has_auth(), isSocks5()->kind == Kind::Socks5. Proxy fields
flow through YtDlpManager/AudioDecoder/MusicManager unchanged in spelling.
On-disk proxy shape is now Void::Net::ProxyConfig (kind: None/Http/Socks5);
config.example.json updated and proxy round-trip verified. Build green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 13:49:26 +03:00
faumarayandClaude Opus 4.8 da708fa9bb Phase C: replace YtDlpManager's hand-rolled pool with Void ThreadPool
YtDlpManager carried a bespoke worker pool — a jthread vector, a
packaged_task queue, and a mutex/condition_variable/stop-flag loop. Swap
all of it for a single Void::Concurrency::ThreadPool (held by unique_ptr so
setThreadPoolSize can recreate it):

- startThreadPool() constructs the pool at the (auto-adjusted) size;
  stopThreadPool() resets it (the destructor drains and joins).
- executeAsync() submits to the pool under mutex_ (mutually exclusive with
  start/stop), with a synchronous fallback if called before start.
- workerThread() and the taskQueue_/taskCv_/taskMutex_/stopThreads_ members
  are gone.

Behaviorally equivalent (bounded yt-dlp concurrency, same std::future
results) with far less concurrency code to own. Build green.

The init-time "update yt-dlp in background" detached thread is left as-is:
it's a one-shot fired before the pool exists.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 03:09:15 +03:00
faumaray 2bdb63766d Migrate core infrastructure to VoidLibrary 2026-06-22 15:53:23 +03:00
faumaray 53801f2b53 many different fixes 2026-02-03 05:07:15 +03:00
faumaray a583c17916 Initial commit 2026-02-01 23:04:49 +03:00