Commit Graph
100 Commits
Author SHA1 Message Date
imSp4rky a80afc4b7e feat(dl): warn when the temp volume cannot hold the HLS tracks of a title 2026-11-28 15:54:41 -07:00
imSp4rky 74856d2ddb fix(dl): stop a failed mux with one line that names the free space 2026-11-28 15:26:38 -07:00
imSp4rky 418d69b1ec feat(config): add filename_replacements to replace text in output names 2026-11-28 15:03:01 -07:00
imSp4rky 127e8e0dcc feat(dl): warn before the downloads when the temp volume cannot hold the selected tracks 2026-11-28 15:02:12 -07:00
imSp4rky fd1b9254ee fix(manifests): skip a DASH Representation or HLS variant with an unknown codec 2026-11-28 14:46:06 -07:00
imSp4rky 0bd5c4de4f fix(subprocess): name the tool, exit and reason in external-tool errors 2026-11-28 14:43:29 -07:00
imSp4rky 7856d53950 feat(dl): name the free space of a nearly full temp volume on the failure line 2026-11-28 14:35:29 -07:00
imSp4rky 5167f4f9d9 fix(providers): match non-Latin titles by letters of every script 2026-11-28 14:34:15 -07:00
imSp4rky daa9caa02b fix(api): check serve and service dl defaults at job admission 2026-11-28 14:32:31 -07:00
imSp4rky 5f675bd5ff fix(dash): license a track whose only key system is the W3C common PSSH as ClearKey 2026-11-28 14:29:36 -07:00
imSp4rky b5b34cea02 fix(drm): keep the track file when shaka-packager skips a stream with no samples 2026-11-28 14:21:21 -07:00
imSp4rky 4743e2f32c fix(events): emit TRACK_DOWNLOADED once per track after decryption 2026-11-28 14:15:31 -07:00
imSp4rky 053d83874d refactor(api): give every served service its dl options from the run plan 2026-11-28 14:02:44 -07:00
imSp4rky 63dd037ebd refactor(api): resolve service options once with requested_service_options 2026-11-28 13:44:57 -07:00
imSp4rky 32250f6f95 feat(session): open a websocket on the rnet session 2026-11-27 18:05:34 -07:00
imSp4rky e098ad38b9 fix(session): make RnetResponse a context manager for cover downloads 2026-11-27 18:05:00 -07:00
imSp4rky 438419ab1b feat(log): record each HTTP attempt in the debug log with debug_requests 2026-11-27 18:05:00 -07:00
imSp4rky 0e2cedcdbe ci: skip the test job on main 2026-11-27 13:44:10 -07:00
imSp4rky 8a93b4f49a feat(console): read a QR code from a PNG with a pure decoder 2026-11-27 12:40:41 -07:00
imSp4rky cfe6685dfc refactor(vaults): pick kv vault behaviour from class flags and keep the api batch size 2026-11-27 12:10:07 -07:00
imSp4rky 84751b1f9e refactor(proxies): apply a service proxy_map before the proxy resolves 2026-11-27 11:53:06 -07:00
imSp4rky 387ce53e84 fix(vaults): raise when an http vault is rate limited or refuses a push 2026-11-27 11:52:49 -07:00
imSp4rky f00f8cdc3c refactor(proxies): resolve every --proxy value through one shared entry 2026-11-27 10:59:53 -07:00
imSp4rky dcfd2f66ba refactor(vaults): give the server handlers vault operations 2026-11-27 10:51:20 -07:00
imSp4rky a4531a14bb refactor(vaults): move content-key provenance and the bad-key verdict into vaults 2026-11-27 10:30:45 -07:00
imSp4rky 49b3a48fbd fix(vaults): raise when an http or api vault is down or rate limited 2026-11-27 10:24:57 -07:00
imSp4rky 5500440eb9 fix(dl): name no cdm system in the remote status line of a whole-file cipher title 2026-11-27 10:16:40 -07:00
imSp4rky b719c44679 fix(vaults): log each vault failure once in one line without the request url 2026-11-27 09:47:49 -07:00
imSp4rky 5a6428521c fix(vaults): log a one-line warning and skip an http vault that answers non-json 2026-11-27 09:40:12 -07:00
imSp4rky 9901b62347 feat(tracks): resolve a track url on use, locally and over remote 2026-11-27 01:45:49 -07:00
imSp4rky 736f1cc731 feat(drm): add the whole-file aes-ctr cipher and paged aac rewrite 2026-11-27 01:11:13 -07:00
imSp4rky 8cf915fd71 fix(dash): require a matching 206 for the segmentbase init and fetch it from its sourceurl 2026-11-26 13:40:08 -07:00
imSp4rky 4738cc044a fix(remote): skip a malformed server log record or channel message instead of ending the session channel 2026-11-26 13:40:07 -07:00
imSp4rky 5575892395 build: cap floating dependencies, add a ci coverage report and fix the contributing checks 2026-11-26 13:40:07 -07:00
imSp4rky 98717fda43 refactor: delete unreferenced title cache, log, template, provider and http vault helpers 2026-11-26 13:40:07 -07:00
imSp4rky 3c90346ae4 refactor(drm): move track drm discovery into core and merge the drifted pssh and hls playlist readers 2026-11-26 13:40:06 -07:00
imSp4rky 136e9fc84d fix(clearkey): warn when pkcs7 unpad fails and require a 16-byte key from the key uri 2026-11-26 13:40:06 -07:00
imSp4rky 625e632b53 fix(api): cap the total size of a client cache upload and clean up after a refused session create 2026-11-26 13:40:05 -07:00
imSp4rky ed3b772793 fix(cacher): store a jwt with no exp claim without an expiration 2026-11-26 13:40:05 -07:00
imSp4rky d0e7a70f94 fix(vaults): quote table names, dedupe kids without case, and reuse one mysql connection 2026-11-26 13:40:04 -07:00
imSp4rky 7bba51910d fix(serve): close the developer dashboard when a config reload removes its key 2026-11-26 13:40:04 -07:00
imSp4rky 34ce5e5ae8 chore(vaults): drop the stale sql injection todos 2026-11-26 13:40:03 -07:00
imSp4rky 291417db4e feat(service): pass a qr code with a login prompt or approval wait 2026-11-26 13:27:50 -07:00
imSp4rky 251d1e779a fix(remote): load the server's first-listed cdm for a server-device option 2026-11-26 11:20:22 -07:00
imSp4rky cca547eba6 refactor(core): lift title metadata enrichment out of dl into TitleMetadata 2026-11-25 23:30:47 -07:00
imSp4rky ee8e968127 refactor(api): admit download job create and retry through one job_admission step 2026-11-25 23:15:16 -07:00
imSp4rky 92e8abbdbc refactor(core): one TitleSource base for Service, remote and import 2026-11-25 21:46:55 -07:00
imSp4rky 9febbb20c5 refactor(api): answer every API key question from one KeyPolicy 2026-11-25 21:14:09 -07:00
imSp4rky 2da0043d17 refactor(drm): read CENC systems and track KIDs in one cenc module 2026-11-25 21:07:21 -07:00
imSp4rky 5b96918b7e test: stop five API option tests reading the local config and binaries. 2026-11-25 17:01:15 -07:00
imSp4rky 35e0d827fa fix(api): leave Gluetun out of a server download job's proxy providers 2026-11-25 16:53:02 -07:00
imSp4rky 2734177d94 fix(api): keep the error code a download failure names in the job error 2026-11-25 16:45:51 -07:00
imSp4rky d8058a3610 style: turn on ruff UP and B rules and fix every finding 2026-11-25 16:34:09 -07:00
imSp4rky 1a63076df2 refactor(manifests): pick the licensable DRM and KID in one licence step 2026-11-25 16:28:55 -07:00
imSp4rky 4d3df8e74f refactor(dl): check dl options once in a run plan shared by the CLI and the REST download job 2026-11-25 16:16:43 -07:00
imSp4rky 7838226590 fix(core): load every service config through one launch-context function 2026-11-25 16:14:21 -07:00
imSp4rky fcda47d995 fix(api): let a core failure name its own API error code 2026-11-25 15:43:14 -07:00
imSp4rky e4ba7c2908 fix(dl): keep a second file with the same name by moving output placement and the mux step into their own modules 2026-11-25 15:42:06 -07:00
imSp4rky fba28198d0 refactor(core): move login state to core.login and load key vaults through one factory 2026-11-25 15:31:37 -07:00
imSp4rky 5ba0a5474c build(deps): drop unused crccheck, jsonpath-ng, PyExecJS and chardet 2026-11-25 15:23:40 -07:00
imSp4rky 8769ad4031 fix(drm): give an L1 remote CDM the common privacy certificate when a service has none 2026-11-25 14:50:42 -07:00
imSp4rky b6c6d317a9 fix(cdm): keep remote CDM state per session in one shared HttpCdm base 2026-11-25 14:50:42 -07:00
imSp4rky 0a1a7d759f fix(remote): license a server-CDM track through ServerKeySource 2026-11-25 14:50:41 -07:00
imSp4rky 6923c5e242 fix(cdm): read every device's DRM system through one CDM catalogue 2026-11-25 14:50:40 -07:00
imSp4rky 0fca1c5ea3 feat(remote): license each track locally with --cdm-only over remote 2026-11-25 12:31:44 -07:00
imSp4rky 65e9d1a8c5 test: run the DASH merge tests without ffprobe and wait for the drain to end 2026-11-24 20:10:46 -07:00
imSp4rky 6221b17ba3 test(core): give the dl launch-context row its own output template 2026-11-24 20:05:51 -07:00
imSp4rky e30db081c8 refactor(core): write a service's launch keys through one module 2026-11-24 19:28:12 -07:00
imSp4rky 43987f9809 refactor(api): build a remote session whole, with one login state 2026-11-24 19:26:26 -07:00
imSp4rky 1be56b15b3 refactor(cdm): read a cdm entry for device and DRM system in one module 2026-11-24 19:25:26 -07:00
imSp4rky 2dfed221d5 feat(remote): warn when the client cache has more files than a server takes 2026-11-24 18:53:38 -07:00
imSp4rky 126283b256 fix(api): take 256 cache files and an 8 MiB body on the login routes 2026-11-24 18:53:38 -07:00
imSp4rky cdeeba17ab fix(remote): close a session channel whose loop already ended 2026-11-24 18:30:58 -07:00
imSp4rky 83e5c88f6f refactor(api): answer a route's uncaught exception in one decorator 2026-11-24 18:22:53 -07:00
imSp4rky b4df9ad298 test(wire): accept the unhashable-type message of every Python version 2026-11-24 18:14:52 -07:00
imSp4rky ed090affc3 feat(remote): add a session channel for the messages the server starts 2026-11-24 17:50:10 -07:00
imSp4rky 5da940a5d3 refactor(drm): make the internal ContentKeyResolver methods private 2026-11-24 17:49:00 -07:00
imSp4rky 172b76bd76 fix(api): redact every form of a configured credential from job errors 2026-11-24 17:13:17 -07:00
imSp4rky 4692e6bb96 fix(drm): end a licence with no usable key in one line for every DRM system 2026-11-24 17:13:08 -07:00
imSp4rky d954f61100 fix(api): evict a session of the key that holds the most at max_sessions 2026-11-24 16:56:21 -07:00
imSp4rky 7735c43061 fix(remote): answer malformed input with one line and keep secrets out of logs 2026-11-24 16:56:17 -07:00
imSp4rky 3e8c63b067 refactor(remote): send every client call through RemoteClient 2026-11-24 16:52:44 -07:00
imSp4rky 5ab60b8879 fix(remote): send a service option under its served name 2026-11-24 16:47:45 -07:00
imSp4rky 8d5234130a refactor(remote): keep the session protocol in core/remote_protocol.py 2026-11-24 16:20:33 -07:00
imSp4rky 6c334d31a7 refactor(api): keep the dl option facts in one table in core/dl_options.py 2026-11-24 15:14:38 -07:00
imSp4rky bbe58930b5 refactor(dl): move content-key resolution into core/drm/key_resolution.py 2026-11-24 14:44:47 -07:00
imSp4rky 55138f95c2 refactor(core): move the title, track and DRM wire form into core/wire.py 2026-11-24 14:37:51 -07:00
imSp4rky e385234a92 refactor(manifests): share one segment pipeline across dash, hls, ism 2026-11-24 13:50:09 -07:00
imSp4rky b7018c9b27 refactor(dl): move track selection into core/tracks/selection.py 2026-11-24 13:48:50 -07:00
imSp4rky e7c95f03e9 test(dash): stub the key probe in the audio trim download test 2026-11-24 08:54:19 -07:00
imSp4rky 20ffaba626 fix(dash): trim audio that overlaps the next stitched period before decryption 2026-11-24 08:39:37 -07:00
imSp4rky aecaf47c7c chore(release): bump version to 7.0.0 2026-11-23 18:24:35 -07:00
imSp4rky c818ec3bbe fix(api): refuse deeply nested cache payloads by depth, not RecursionError 2026-11-23 17:50:50 -07:00
imSp4rky 530f78ecf5 fix(chapters): drop duplicate timestamps in the EXAMPLE template and docs
Log a get_chapters failure at debug level on the API tracks route.
2026-11-23 14:01:58 -07:00
imSp4rky 91fbe67fa6 fix(downloader): outlast network outages and harden segment merges
Outage-only retry budget, fail fast on a full disk, rnet read_timeout from config, fixed-size shared range parts, Windows-safe segment deletes, merge benchmark.
2026-11-23 13:43:38 -07:00
imSp4rky 138782f38b fix(manifests): rebase restarting timelines across dash periods and hls discontinuities
Shift tfdt of stitched DASH periods and HLS fVTT blocks, and WebVTT cues per period or block, so subtitles and timestamps stay in sync across ad breaks.
2026-11-23 10:51:40 -07:00
imSp4rky 9693cbd39c fix(api): convert quality to heights for remote sessions
A string or zero -q from a REST client reached the service as raw text; it now gets the same checked height list as dl.
2026-11-16 14:44:47 -07:00
imSp4rky f1e4081313 feat(serve): per-api-key cdm and service config with server-side identity cache
serve.users.<key>.cdm and service_config give each API key its own device and service config. Service.IDENTITY_CACHE keys route to a per-key directory that clients never receive
2026-11-16 13:31:17 -07:00
imSp4rky 08481d3a33 fix(mux): mux H.266 as VVC and leave Audio Vivid decoding to services
H.266 is remuxed to Matroska with FFmpeg 8+ before mkvmerge, named H.266 and selectable with -v h266; MP4Box names TS inputs correctly, TS track files keep .ts, and core no longer runs an Audio Vivid decoder.
2026-11-15 21:42:53 -07:00
imSp4rky 270662e9b2 fix(tracks): rank video picks by quality across regional tags and in hybrid
One video language request that matches several regional tags now gives one video, the best of them; hybrid bases and the DV source use the same pick, and hybrid --worst no longer needs -q. Thanks to reel.deal for the report and the first patch.
2026-11-15 15:54:21 -07:00