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 3f9a88c09a
commit b9d6d715d7
4 files changed
+68 -15

No files matched your search

@@ -345,6 +345,22 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
overflow: TextOverflow.ellipsis,
),
),
// Mute button for Live TV
Material(
color: Colors.black54,
shape: const CircleBorder(),
child: InkWell(
onTap: _toggleMute,
customBorder: const CircleBorder(),
child: Padding(
padding: const EdgeInsets.all(12),
child: Icon(
_isMuted ? Icons.volume_off_rounded : Icons.volume_up_rounded,
color: Colors.white
),
),
),
),
],
),
),
@@ -616,6 +632,12 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
],
const Spacer(),
// Volume/Mute button
_buildTvControl(
_isMuted ? Icons.volume_off_rounded : Icons.volume_up_rounded,
_toggleMute
),
const SizedBox(width: 16),
_buildTvControl(Icons.subtitles_rounded, () {}),
const SizedBox(width: 16),
_buildTvControl(Icons.aspect_ratio_rounded, _toggleFullscreen),