Commit Graph
76 Commits
Author SHA1 Message Date
imSp4rky 87b58190ea docs: sweep docs to zero ste_lint findings and one remote session name 2026-12-04 18:50:27 -07:00
imSp4rky d1b2395313 docs(rest-api): give the remote session protocol one page and move dl --remote setup to a user guide 2026-12-04 18:25:15 -07:00
imSp4rky 3bdca22bc7 fix(remote): stop at the licence step when a licence fails, falling back only to the service's cdm entry 2026-12-04 16:31:28 -07:00
imSp4rky 89b3e77d18 feat(remote): send the client's services.<TAG>.preferences to the server in every licensing mode 2026-12-04 14:27:48 -07:00
imSp4rky 0536056ed6 feat(drm): license a plugin DRM at the licence step and over --remote with the client's plugin device 2026-12-03 15:51:42 -07:00
imSp4rky e9adc50594 feat(drm)!: load DRM systems beyond the built-ins from plugins in directories.plugins 2026-12-03 15:51:42 -07:00
imSp4rky 9842a61d3f feat(hls): carry a held media playlist over --remote and export, inflate gzip segments, add own_stream_only mux opt-in 2026-12-02 11:12:02 -07:00
imSp4rky 6e99812e8e fix(remote): end the remote logins and the pooled remote sessions of a relay when the server stops 2026-11-30 22:40:38 -07:00
imSp4rky b907069eb5 fix(remote): end every remote wait of a run when the user cancels it 2026-11-30 19:59:26 -07:00
imSp4rky c41d8ec3cf fix(remote): end remote session work when the server stops, and leave no session cache behind 2026-11-30 19:21:21 -07:00
imSp4rky bafce963d3 fix(remote): end the remote session when a signal or a closed console stops the client 2026-11-30 17:29:35 -07:00
imSp4rky ffe812f054 feat(remote): end a remote session when its client is gone 2026-11-30 17:23:35 -07:00
imSp4rky e813737506 fix(remote): measure the idle time of a remote session on a monotonic clock 2026-11-30 17:06:15 -07:00
imSp4rky 34a3820eb8 fix(remote): end a remote session from before its create to after its DELETE 2026-11-30 13:56:59 -07:00
imSp4rky 3634fc5686 fix(music): show a collection's own facts in the listing and over --remote 2026-11-30 13:33:31 -07:00
imSp4rky 40114fff19 feat(remote): name the missing KID in the server-device error 2026-11-30 11:03:47 -07:00
imSp4rky 977cbe4aa8 refactor(api): end every remote session through SessionStore._retire and close the store at shutdown 2026-11-29 14:46:51 -07:00
imSp4rky 7713f8df3f fix(api): stop serve cleanly with jobs, streams and remote sessions open 2026-11-28 21:11:50 -07:00
imSp4rky f5c8858e6e fix(remote): map a cut-off answer to a recoverable error and stop trusting an empty optional answer 2026-11-28 21:03:54 -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 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 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 0fca1c5ea3 feat(remote): license each track locally with --cdm-only over remote 2026-11-25 12:31:44 -07:00
imSp4rky 43987f9809 refactor(api): build a remote session whole, with one login state 2026-11-24 19:26: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 ed090affc3 feat(remote): add a session channel for the messages the server starts 2026-11-24 17:50:10 -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 8d5234130a refactor(remote): keep the session protocol in core/remote_protocol.py 2026-11-24 16:20:33 -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 b10fd2d3a4 feat(tunnel): free finished tunnels at once and wait out 429s on --remote
A tunnel closed with code 1000 is freed without the 60s grace, a shared: true API key counts tunnels per X-Client-Id, and --remote waits out Retry-After and a full tunnel cap with a countdown; responses carry X-RateLimit-* headers.
2026-11-09 15:43:33 -07:00
imSp4rky b6429ecdfd feat(remote): match the server CDM to the client's DRM and read vaults first
A dual widevine/playready cdm entry now loads the device of the client's DRM system, for old clients too since they already send cdm_type. A new client hands a capped track to its own device for the track's DRM system, and raises the refusal only after its local vaults miss.
2026-11-03 10:51:29 -07:00
imSp4rky 842ece3802 fix(manifests): skip filtered dash periods after the main content and keep them over export
A manifest snapshot module now saves and restores DASH/ISM parser state for --remote and export/import, so an import keeps the service's period filter without fetching the manifest.
2026-11-02 20:41:27 -07:00
imSp4rky 99f0c269be fix(api): refuse a non-public proxy host for a key without server_proxy
Closes the loopback and LAN route to the server's own forwarders, including backslash, percent-escape and *.localhost forms.
2026-11-01 20:04:06 -07:00
imSp4rky 5206b3cab6 refactor(remote)!: send service options only in service_params
A service option named like a dl option (e.g. --profile) is no longer dropped or mixed with the dl value; the server casts nested values and keeps cli defaults nested.
2026-10-30 16:16:56 -06:00
imSp4rky 7b927934e0 feat(remote)!: let server_cdm outrank a service's cdm entry and set it per service
server_cdm: true on a remote_services entry now licenses remote runs with the server CDM even when the service has its own cdm entry, which stays the local-run device and the fallback. A services.<TAG>.server_cdm replaces the server value for one service, per-service entries match the tag in any case, and the configured fallback logs at info.

BREAKING CHANGE: with server_cdm: true, a per-service cdm entry no longer makes your own device license remote sessions; use dl --cdm or services.<TAG>.server_cdm: false.
2026-10-29 10:18:15 -06:00
imSp4rky 756c2ce2b5 feat(remote): reopen a lost remote session and resume at the current title 2026-10-27 13:24:31 -06:00
imSp4rky 9017ab95b7 feat(tracks): add Video.hdr10_base and forward s_lang over remote and REST
A DV track with an HDR10 base (profile 8.1) lists as DV+HDR10; dl_params now carry s_lang.
2026-10-27 13:06:48 -06:00
imSp4rky 83514d12fe fix(core): cut user-facing errors and warnings to one line 2026-10-23 20:23:05 -06:00
imSp4rky cc4bf19706 fix(vaults): stop false bad-key flags from a failed decode check
Judge a vault KID only on a file whose KID map holds it, tell remote vaults of a bad pair only once another key replaces it, and let the server CDM unflag a pair it returns; the server never flags a CDM-licensed pair. Log FFmpeg stderr on a failed check and name the missing CDM when none is set.
2026-10-23 15:31:26 -06:00
imSp4rky eeaf16cd83 fix(remote): keep each session cookie's domain, path and secure flag
The client set server cookies with no domain and sent all of them to every host, so a CDN refused segment requests with 400 header too large. rnet sessions now send cookies too.
2026-10-23 09:42:01 -06:00
imSp4rky 23614fd938 feat(remote): add --local-proxy to send server requests through the client
A reverse tunnel over the remote connection: the server's service traffic leaves through the client's own network. Only the client dials. Adds the tunnel-test command.
2026-10-21 17:09:37 -06:00
imSp4rky 5b9120a7f1 fix(api): refuse peer cache files that name types other than datetime
The server and the client both check a forwarded cache file before they write it, because Cacher decodes it with jsonpickle. The session-create cache write now runs off the event loop.
2026-10-20 19:48:13 -06:00
imSp4rky ef75ea7d7a feat(dl): add --local to override a remote: true service config 2026-10-19 14:25:03 -06:00
imSp4rky 3aaf9c4107 fix(services): route a service remote from services.<TAG>.dl.remote
Click picks the subcommand before the dl callback applies the service config, so Services.resolve_command now applies remote and server first. A REST API job routes from its request only.
2026-10-19 14:19:07 -06:00
imSp4rky 35871f3a52 feat(hybrid): generate dolby vision from hdr10+ with --generate-dv
Builds per-scene L1 in unshackle (PQ mean, letterbox-aware) with a generate_dv_mode config (v29/v40/legacy); a failed hybrid no longer exits 0 with no video.
2026-10-17 16:40:14 -06:00
imSp4rky d41bb73d9e feat(remote): decrypt service-owned cbcs samples on the server
The client downloads the file and sends binary sample frames to a new samples route.
2026-10-14 11:03:14 -06:00
imSp4rky 4fbaf2a61a feat(api): forward exact_lang to the service context
The remote-dl client sends exact_lang in dl_params, and REST download jobs set it in the service ctx, so a service can skip the manifests of close-match languages.
2026-10-13 15:07:01 -06:00
imSp4rky 09cae2ec3f feat(serve): relay approval messages to jobs and proxy remote downloads
A REST job shows a wait_for_approval message as its notice field. search, list-titles and list-tracks fail at once on a login that needs the user. A remote client downloads through the --proxy it sends.
2026-10-07 11:15:16 -06:00