feat: introduce XtreamService for Xtream API communication, content retrieval, and stream URL generation with caching and proxy support.

This commit is contained in:
Michael committed 2026-03-26 17:14:33 +01:00
1 parent 9755f51af5
commit 887b44b29d
1 file changed
+3 -4
@@ -110,8 +110,7 @@ class PlaylistSelectionScreen extends ConsumerWidget {
), ),
), ),
// Content // Content
SingleChildScrollView( playlistsAsync.when(
child: playlistsAsync.when(
loading: () => const Center( loading: () => const Center(
child: CircularProgressIndicator(color: AppColors.primary), child: CircularProgressIndicator(color: AppColors.primary),
), ),
@@ -196,7 +195,8 @@ class PlaylistSelectionScreen extends ConsumerWidget {
playlist: playlist, playlist: playlist,
onTap: () { onTap: () {
// Update current selected playlist provider first // Update current selected playlist provider first
ref.read(selectedPlaylistProvider.notifier).state = playlist; ref.read(selectedPlaylistProvider.notifier).state =
playlist;
// Then navigate to dashboard // Then navigate to dashboard
context.go('/dashboard'); context.go('/dashboard');
}, },
@@ -205,7 +205,6 @@ class PlaylistSelectionScreen extends ConsumerWidget {
); );
}, },
), ),
),
], ],
), ),
); );