From 33802ccd069d2fae568226b97f10c06a35d6f62a Mon Sep 17 00:00:00 2001 From: Nirvana Date: Tue, 10 Feb 2026 20:12:56 +0100 Subject: [PATCH] Add m3u playlists --- lib/streaming_providers/providers/m3u/provider.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/streaming_providers/providers/m3u/provider.py b/lib/streaming_providers/providers/m3u/provider.py index e320e10..3b3264a 100644 --- a/lib/streaming_providers/providers/m3u/provider.py +++ b/lib/streaming_providers/providers/m3u/provider.py @@ -1196,8 +1196,12 @@ class M3UProvider(StreamingProvider): channels = self.get_channels() for channel in channels: if channel.channel_id == channel_id: - if channel.drm_config: + if channel.drm_config is not None: + # Return as a list for consistency return [channel.drm_config] + break # Found channel but no DRM config + + # Return empty list if no config found return [] def get_dynamic_manifest_params(