From 2854cb7d9b04188890bcbc62549b75616623a382 Mon Sep 17 00:00:00 2001 From: Nirvana Date: Tue, 10 Feb 2026 12:07:58 +0100 Subject: [PATCH] Add m3u playlists --- lib/streaming_providers/providers/m3u/provider.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/streaming_providers/providers/m3u/provider.py b/lib/streaming_providers/providers/m3u/provider.py index 37ff2a5..ba8eedc 100644 --- a/lib/streaming_providers/providers/m3u/provider.py +++ b/lib/streaming_providers/providers/m3u/provider.py @@ -663,15 +663,8 @@ class M3UProvider(StreamingProvider): for i, line in enumerate(lines): line = line.strip() - if not line: - continue - - # Skip only pure comments (lines starting with # but not our directives) - if line.startswith("#") and not ( - line.startswith("#EXT") or - line.startswith("#KODIPROP") or - line.startswith("#EXTVLCOPT") - ): + # Skip empty lines and comments (except directives) + if not line or (line.startswith("#") and not line.startswith("#EXT")): continue # Parse EXTINF line