feat: Add initial IPTV support with a dedicated player, series detail screen, Xtream API service, and a streaming API handler.

This commit is contained in:
Michael committed 2025-12-15 22:09:21 +01:00
1 parent d1401711af
commit d6405f3471
4 files changed
+68 -15

No files matched your search

@@ -79,9 +79,9 @@ class XtreamService {
String getSeriesStreamUrl(String streamId, String containerExtension) {
if (_currentPlaylist == null) throw Exception('No playlist configured');
// Point to new dedicated VOD API (HLS playlist)
// Point to new dedicated VOD API (HLS playlist) with series type
final baseUrl = html.window.location.origin;
return '$baseUrl/api/vod/$streamId/playlist.m3u8';
return '$baseUrl/api/vod/$streamId/playlist.m3u8?type=series';
}
/// Authenticate and get server info