mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-22 06:28:04 +02:00
fix(epg): use playlist.dns directly (PlaylistConfig has no serverUrl field)
This commit is contained in:
1 parent
50a6998c09
commit
47fff742e0
1 file changed
+1
-1
@@ -32,7 +32,7 @@ class EpgApi {
|
|||||||
headers: {'Content-Type': 'application/json'});
|
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
|
// Appel API Xtream pour l'EPG complet de la chaîne
|
||||||
final url =
|
final url =
|
||||||
'$dns/player_api.php?username=${playlist.username}&password=${playlist.password}'
|
'$dns/player_api.php?username=${playlist.username}&password=${playlist.password}'
|
||||||
|
|||||||
Reference in new issue
Block a user