Commit Graph

7 Commits

Author SHA1 Message Date
√(noham)²
e51a108d28 Chunked decryption, resume & selection fixes
Implement chunked decryption of .m4s segments (avoid loading entire stream into memory) by changing decrypt() to accept a segment directory, process ~1GB chunks with mp4ff-decrypt, and concatenate results. Add resume support in segment downloader by skipping already downloaded .m4s files and initializing successful counter accordingly. Improve manifest handling: gracefully handle missing AVC/HEVC tracks, bruteforce ticks conditionally, and mark representations for removal when no valid tick is found. Add fallback unfiltered selection in select_track when filtered lookup yields no candidates. Replace naive UTC offset logic with explicit Europe/Paris timezone utilities and adjust related time conversion signatures. Bump project version to 1.0.
2026-06-17 16:49:49 +02:00
√(noham)²
31f87a6a99 Refactor logging to use parameterized messages 2025-12-20 12:52:35 +01:00
√(noham)²
debd884e2d Integrate structured logging across project 2025-12-20 12:46:28 +01:00
√(noham)²
2823fb6e2e Lint and clean up codebase for consistency 2025-12-20 12:20:59 +01:00
√(noham)²
86d73b149c Add mp4ff verification and OUTPUT_DIR support 2025-12-20 12:07:27 +01:00
√(noham)²
0f0fb975a6 Update CLI docs and remove unused DRM key logic
Expanded README with detailed CLI usage instructions and examples. Removed unused DRM key fetching logic and the get_missing_keys function from main.py and utilities.py to clean up the codebase.
2025-12-20 11:47:23 +01:00
√(noham)²
5dc55dbf62 Add CLI mode and refactor Oqee downloader workflow
Introduces a command-line interface to main.py for Oqee TV downloads, supporting argument parsing for channel, date, quality, and keys. Refactors stream selection, segment download, decryption, and merging logic for both CLI and interactive modes. Adds new utility modules for DRM key retrieval, segment merging, and decryption. Cleans up and simplifies Oqee client, input, stream, and time utilities for improved maintainability and usability.
2025-12-20 11:43:01 +01:00