Speed up Movies

This commit is contained in:
2025-11-04 13:07:46 +01:00
parent 4d1f4b484a
commit ffe0af7932
8 changed files with 799 additions and 142 deletions
+10
View File
@@ -214,5 +214,15 @@ class BackendApi {
};
await _post(payload);
}
Future<List<Map<String, dynamic>>> getSeriesSummary() async {
final map = await _post({'action': 'get_series_summary'});
return (map['items'] as List).cast<Map<String, dynamic>>();
}
Future<List<Map<String, dynamic>>> getShowEpisodes(int showId) async {
final map = await _post({'action': 'get_show_episodes', 'show_id': showId});
return (map['items'] as List).cast<Map<String, dynamic>>();
}
}