Commit Graph
1292 Commits
Author SHA1 Message Date
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
Jakub Rybakowski 661be3ee0d feat(api): expose optional account-scoped title availability 2026-11-23 18:54:36 -06: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
imSp4rky 511db0c768 feat(dl): let --worst run without -q and pick the lowest bitrate
--worst picks the lowest bitrate at each -q resolution, or at the lowest resolution when no -q is set. Hybrid mode still requires -q.

Thanks to reel.deal for the report and the first patch.
2026-11-15 15:14:14 -07:00
imSp4rky 3522de1e9c feat(mux): keep Audio Vivid beside the output and add wide_output listings
Audio Vivid skips the mux and its .ts is saved beside the output; a user's avs3Decoder adds a PCM copy. wide_output prints dl listings at the terminal width; cfg saves lowercase true/false as booleans.
2026-11-15 12:43:15 -07:00
imSp4rky d7476ac6c2 refactor(tracks): simplify the dynamic HDR probe and read less for TS audio 2026-11-14 22:15:49 -07:00
imSp4rky 856a193061 feat(tracks): support HDR Vivid and Audio Vivid
Add Video.Range.VIVID and Audio.Codec.AV3A, found by the first-segment probe (CUVA SEI, MPEG-TS cuvv/AVSA/0xD5); sort videos by standard resolution, then bitrate; drop service names left in core and tests. Closes #179
2026-11-14 22:03:13 -07:00
imSp4rky 7a5ad5024a feat(music): pick the song container from the codec in the downloaded file
FFprobe sets the codec; DTS goes to .mka, PCM to .flac or .wav, AC-4/MPEG-H/DTS-UHD to MP4Box. The remux also cuts --sample, --no-mux no longer applies to a Song, and the tagger adds cover fallback, WebP, ARTISTS and ReplayGain. Song tag data now reaches a --remote client.
2026-11-14 19:58:21 -07:00
imSp4rky 703bcf872c fix(mux): repoint sample entries with a missing data reference for MP4Box
MP4Box refused 3D titles at the credits with "Bad Parameter"; an exit with no output now fails the mux.
2026-11-14 17:50:23 -07:00
imSp4rky dfda630b78 fix(mux): pass the exact frame rate to mkvmerge default duration
FPS.exact keeps 24000/1001 instead of rounding to 23.976, and the hybrid source copies no longer set needs_duration_fix, which nothing read.
2026-11-14 11:17:07 -07:00
imSp4rky 6964f58271 feat(dl): add --skip-missing to skip titles that miss a required language or track
A season run skips such a title and continues; one title, or a run that skips every title, still exits 1 (now also for -ado/-fso). REST jobs report skipped_titles.
2026-11-13 18:30:01 -07:00