Dispatcharr/apps/m3u/tests
Curt LeCaptain c0d6e951a3 feat(m3u): add native xz decompression support for uploaded M3U playlists
Extends _open_m3u_text_source() and fetch_m3u_lines() to treat an
uploaded .xz playlist the same way as the existing .m3u.gz path: it is
streamed lazily via lzma.open() rather than loaded fully into memory
(unlike the .zip path, which must read archive members). Uses stdlib
lzma, no new dependency.

Companion to the EPG xz support added for Dispatcharr/Dispatcharr#1414 -
the M3U upload path has the same gzip/zip dispatch structure and would
otherwise hit the same gap for an xz-compressed playlist.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 19:48:44 -05:00
..
__init__.py fix(m3u): fix Celery worker memory leak during M3U/XC refresh 2026-03-05 13:47:20 -06:00
test_account_destroy.py Enhancement: Initial fmp4 support and major ts_proxy refactor 2026-05-08 17:46:47 -05:00
test_connection_pool.py refactor(m3u, channels, proxy): enhance stream assignment logic and error handling 2026-06-09 17:59:12 -05:00
test_expiration_notifications.py tests: Add backend test for expiration feature. 2026-03-15 16:42:11 -05:00
test_extinf_parsing.py fix: M3U EXTINF parsing for attributes ending in double equals 2026-03-06 08:10:30 -05:00
test_memory_cleanup.py refactor(tasks): Optimize M3U stream processing by pre-compiling filters for batch workers, reducing redundant regex evaluations. Update related functions to improve performance and memory management during account refreshes. 2026-06-27 11:52:00 -05:00
test_refresh_db_recovery.py fix(m3u): enhance custom properties handling and DB connection management 2026-06-18 14:59:09 -05:00
test_rename_preview_parity.py fix(channels): align the auto-sync rename preview and live rename on the regex module 2026-06-27 17:45:42 -05:00
test_stream_filters.py Enhancement: Update changelog to reflect changes in ChannelPagination, ensuring pagination works correctly with only page_size provided. Refactor tests to improve reliability and consistency, including adjustments to database connection management in various test cases. Modify EPG name normalization tests for accuracy and clarity, and enhance program data serializer tests to utilize precomputed season and episode values. 2026-07-07 18:30:06 +00:00
test_sync_compound.py rename Channel.user_hidden to Channel.hidden_from_output 2026-05-01 19:44:16 -05:00
test_sync_correctness.py Enhancement: Update changelog to reflect changes in ChannelPagination, ensuring pagination works correctly with only page_size provided. Refactor tests to improve reliability and consistency, including adjustments to database connection management in various test cases. Modify EPG name normalization tests for accuracy and clarity, and enhance program data serializer tests to utilize precomputed season and episode values. 2026-07-07 18:30:06 +00:00
test_xc_empty_fetch_guard.py fix(m3u): abort XC refresh on empty provider fetch to prevent channel wipe 2026-06-22 12:02:01 -04:00
test_xc_live_url.py fix(xc): normalize server URLs for live playback and stream URLs (Fixes #1363) 2026-06-18 10:12:12 -05:00
test_xz_playlist.py feat(m3u): add native xz decompression support for uploaded M3U playlists 2026-07-07 19:48:44 -05:00