imSp4rky
eeab646272
fix(tracks): mark AC-4 Atmos from the HLS ATMOS channels identifier and carry atmos without JOC through signature, export and remote
2026-12-02 15:43:23 -07:00
imSp4rky
3b6bd02e46
feat(tracks): add Audio bit_depth and sample_rate from manifests and carry them over remote
2026-12-02 15:24:01 -07:00
imSp4rky
ac4425cdca
feat(drm): license MonaLisa over --remote on the server and decrypt it in core, with or without bbtsdecrypt
2026-12-02 15:23:58 -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
cefd5295ac
fix(drm): stop a bridged FairPlay track whose server-CDM answer or licence key does not decrypt it
2026-12-01 21:07:27 -07:00
imSp4rky
2097d31a0a
feat(drm): bridge a FairPlay-only HLS track only for a service with get_fairplay_bridge_license
2026-12-01 21:07:26 -07:00
imSp4rky
7a5bac7878
fix(hls): keep the EXT-X-KEY of another KEYFORMAT in force when a playlist renews one key tag
2026-12-01 18:58:20 -07:00
imSp4rky
41c2b3d86a
feat(hls): license every content key of a FairPlay bridge playlist that rotates its key
2026-12-01 18:32:36 -07:00
imSp4rky
e0880812d5
fix(hls): bridge a FairPlay playlist whose clear part has a METHOD=NONE tag and its own init segment
2026-12-01 18:32:31 -07:00
imSp4rky
f680df7eff
fix(hls): bridge a stitched one-key FairPlay playlist with an all-zero tenc KID
2026-12-01 17:03:56 -07:00
CodeName393
90ab0ca4cb
feat(core): add HDR Vivid hybrids and a MonaLisa command builder
2026-12-01 15:29:03 -06:00
imSp4rky
33645b8c96
fix(hls): apply each key tag to the wanted segments that it governs
2026-11-30 20:49:35 -07:00
imSp4rky
b826eccb86
feat(hls): license a FairPlay-only SAMPLE-AES playlist through a PlayReady or Widevine CDM
2026-11-30 19:36:01 -07:00
imSp4rky
f0163439d4
fix(hls): refuse key tags the DRM of the track cannot decrypt
2026-11-29 22:07:43 -07:00
imSp4rky
ba2911056d
feat(hls): use the DRM of the track when no key tag can be licensed
2026-11-29 20:33:19 -07:00
imSp4rky
30ed17054d
fix(hls): give a variant or media entry listed twice one track
2026-11-29 20:32:24 -07:00
imSp4rky
e41760c2b3
refactor(tracks): make complete_track the one finish step for every track kind
2026-11-29 14:04:53 -07:00
imSp4rky
82991dd823
feat(tracks): resume segment decryption and rolling merge through the segment store
2026-11-28 22:09:44 -07:00
imSp4rky
74fa29b6f1
fix(tracks): keep segment resume across an hls merge failure and a locked partial on windows
2026-11-28 20:26:40 -07:00
imSp4rky
37357673fe
refactor(tracks): fold segment resume into one segment store module
2026-11-28 19:21:05 -07:00
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
fd1b9254ee
fix(manifests): skip a DASH Representation or HLS variant with an unknown codec
2026-11-28 14:46:06 -07:00
imSp4rky
4743e2f32c
fix(events): emit TRACK_DOWNLOADED once per track after decryption
2026-11-28 14:15:31 -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
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
2da0043d17
refactor(drm): read CENC systems and track KIDs in one cenc module
2026-11-25 21:07:21 -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
0fca1c5ea3
feat(remote): license each track locally with --cdm-only over remote
2026-11-25 12:31:44 -07:00
imSp4rky
e385234a92
refactor(manifests): share one segment pipeline across dash, hls, ism
2026-11-24 13:50:09 -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
e29a523907
feat(tracks): download and mux stereoscopic 3D (MV-HEVC) video to MP4
...
Mark 3D from REQ-VIDEO-LAYOUT, DV profile 20 codecs or an lhvC box; mux with MP4Box, decrypt with mp4decrypt, skip FFmpeg repack, sample cut and hybrid; add {3d} and env MP4Box.
2026-11-12 04:47:18 -07:00
imSp4rky
893c81f428
fix(drm): key PIFF-first tracks by track ID and trust shaka's exit code
...
mp4decrypt copied a track whose first sinf has no tenc through encrypted; pass its key by track ID and retry with shaka on a passthrough. Shaka fails only on a non-zero exit now.
2026-11-03 17:05:26 -07:00
imSp4rky
97711e799c
fix(manifests): decode audio channels by scheme in dash, hls and ism
...
DASH reads the AudioChannelConfiguration scheme (Dolby mask, CICP index incl. immersive layouts, channel count); HLS and ISM counts map 6/7/8 to 5.1/6.1/7.1.
2026-10-30 23:22:47 -06:00
imSp4rky
7898ff6dd6
refactor(types): bring mypy to zero errors across unshackle
...
Fix the bugs the type errors exposed (RnetSession.send body, HLS proxy session, title cache fallback, mux progress) and gate mypy in pre-commit, warn-only in CI.
2026-10-30 20:51:21 -06:00
imSp4rky
ffeb58f808
feat(manifests): add dts-hd, mpeg-h and lcevc codecs and a manifest corpus
...
Fix DASH SegmentTimeline negative @r and Pattern, TTML sidecar sets with no contentType, HLS CHANNELS identifiers and Dolby channel masks; test against 408 public DASH/HLS/ISM manifests.
2026-10-26 10:30:43 -06:00
imSp4rky
bcef9ff87a
fix(sample): stop a malformed sidx from hanging the download
...
pymp4 loops forever on a sidx that counts more references than it holds. Manifest errors in download threads now raise instead of sys.exit.
2026-10-24 12:46:19 -06:00
imSp4rky
83514d12fe
fix(core): cut user-facing errors and warnings to one line
2026-10-23 20:23:05 -06:00
imSp4rky
3345422790
fix(drm): load a bare PlayReady WRMHEADER from DASH, HLS and ISM manifests
...
PlayReady.from_pssh_b64 wraps a bare UTF-16LE WRMHEADER in a PlayReady Object and keeps that as pssh_b64. DASH and ISM log and skip a PlayReady entry they cannot parse.
2026-10-23 15:55:01 -06:00
imSp4rky
012bf45270
fix(hls): keep PlayReady session-data keys by matching the URN string
2026-10-20 20:05:03 -06:00
imSp4rky
1a8e633fdc
feat(dash): flag dv profile 8 tracks from supplementalCodecs and use hdr10+dv as the hybrid
2026-10-18 17:18:11 -06:00
imSp4rky
811e0a19c0
feat(tracks): probe HDR10 tracks for HDR10+ SEI before selection
...
Relabel HEVC HDR10 tracks whose first fragment carries ST 2094-40 SEI as HDR10P, for dl, the REST API and remote sessions. Config key hdr10plus_probe (default true).
2026-10-17 18:58:48 -06:00
imSp4rky
6b1f996937
style: fix ruff format and isort in hls.py
2026-10-16 16:26:23 -06:00
imSp4rky
bfda31ce4a
fix(proxy): keep service traffic on --proxy and warn about requests that bypass it
...
--proxy now overrides HTTP(S)_PROXY and the Windows system proxy while keeping the env CA bundle. Core fallback sessions use the run's proxy, and a warn-only audit hook names service code that sends a request or opens a raw socket outside the proxy; a session with proxy_exempt = True opts out.
2026-10-16 16:12:42 -06:00
imSp4rky
e7bb825def
perf(manifests): decode manifests without charset detection
...
Parse an MPD from bytes and read every M3U8 playlist as UTF-8 unless the server sent a charset. Fixes mojibake on text/* responses.
2026-10-13 16:11:13 -06:00
imSp4rky
af4e6d5d47
fix(hls): read the key id from the init segment when the PSSH has none
...
An EXT-X-KEY whose Widevine PSSH holds a content id and no key id raised KIDNotFound. Covers download, licence-only, --all-drm, session keys, import and the server CDM path. Fixes #166 .
2026-10-13 12:14:34 -06:00
imSp4rky
ecdfb667c9
feat(dl): add --sample and --include-sample
...
--sample downloads only a time window of a title (default 120-180 s) and cuts the mux to it. --include-sample cuts a 60 s sample from a finished file. Both write to a Sample folder with a SAMPLE tag on the filename
2026-10-11 14:53:50 -06:00
imSp4rky
355df2e54f
fix(import): carry the HLS segment filter in an export
...
An import kept the segments a service drops and failed on their key. A licence-only run now also licenses a key that starts part-way.
2026-10-08 10:38:49 -06:00
imSp4rky
ee38477b11
feat(dl): add --all-drm to license Widevine and PlayReady per track
...
Each DRM system sends one challenge per KID set in a run, also when a vault has the content keys. Needs a CDM for each system in the cdm config.
2026-10-05 15:22:01 -06:00