From 47fff742e0bf92e00e36f323e587f8b252325453 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 9 Mar 2026 08:26:16 +0100 Subject: [PATCH] fix(epg): use playlist.dns directly (PlaylistConfig has no serverUrl field) --- bin/api/epg_api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/api/epg_api.dart b/bin/api/epg_api.dart index 7e24ad0..bd75830 100644 --- a/bin/api/epg_api.dart +++ b/bin/api/epg_api.dart @@ -32,7 +32,7 @@ class EpgApi { headers: {'Content-Type': 'application/json'}); } - final dns = playlist.dns ?? '${playlist.serverUrl}'; + final dns = playlist.dns; // Appel API Xtream pour l'EPG complet de la chaƮne final url = '$dns/player_api.php?username=${playlist.username}&password=${playlist.password}'