mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
feat: implement Xtream API service for managing live channels, VOD, and series with caching and dynamic backend URL handling.
This commit is contained in:
1 parent
36a4de2140
commit
9f3c29f6dd
4 files changed
+6
-6
No files matched your search
@@ -128,7 +128,7 @@ class RecordingScheduler {
|
||||
final url = '$dns/player_api.php?username=$username&password=$password'
|
||||
'&action=get_simple_data_table&stream_id=$channelId&type=epg&limit=48';
|
||||
|
||||
final response = await http.get(Uri.parse(url)).timeout(const Duration(seconds: 15));
|
||||
final response = await http.get(Uri.parse(url)).timeout(const Duration(seconds: 60));
|
||||
if (response.statusCode != 200) continue;
|
||||
|
||||
final raw = json.decode(response.body);
|
||||
|
||||
Reference in new issue
Block a user