feat: implement IPTV player screen for live, VOD, and series streams with integrated controls and state management.

This commit is contained in:
Michael committed 2025-12-14 18:47:00 +01:00
1 parent bffef49554
commit ee707d3cf9
5 files changed
+79 -104

No files matched your search

@@ -34,26 +34,9 @@ class StreamingSettingsTab extends ConsumerWidget {
),
const SizedBox(height: 24),
// Player Type Section
_buildSectionCard(
context: context,
title: 'Lecteur Vidéo',
icon: Icons.play_circle_outline,
children: [
_buildDropdownTile<PlayerType>(
title: 'Type de lecteur',
subtitle: 'Changer si vous rencontrez des problèmes de lecture',
value: settings.playerType,
items: PlayerType.values,
onChanged: (v) => notifier.setPlayerType(v!),
labelBuilder: (v) => switch (v) {
PlayerType.standard => 'Standard (Avancé)',
PlayerType.lite => 'Lite (Compatibilité max)',
},
),
],
),
const SizedBox(height: 16),
// Note: Player type is now automatically determined:
// - Live TV uses Player Lite (MPEG-TS)
// - Movies/Series use Player Standard
// Quality Section
_buildSectionCard(