diff --git a/lib/features/iptv/screens/player_screen.dart b/lib/features/iptv/screens/player_screen.dart index d7238ff..f087d41 100644 --- a/lib/features/iptv/screens/player_screen.dart +++ b/lib/features/iptv/screens/player_screen.dart @@ -752,6 +752,25 @@ class _PlayerScreenState extends ConsumerState { // Hover Controls Layer if (_showControls) ...[ + // EPG Overlay (Moved behind controls for Z-ordering) + if (widget.streamType == StreamType.live) + Positioned( + bottom: 100, // Move up above progress bar area/OS safe area + left: 0, + right: 0, + child: PointerInterceptor( + // Wrap with IgnorePointer so EPG text doesn't steal clicks from controls + child: IgnorePointer( + child: EpgOverlay( + streamId: widget.channels != null + ? widget.channels![_currentIndex].streamId + : widget.streamId, + playlist: widget.playlist, + ), + ), + ), + ), + // Volume Slider (Left Side) Positioned( left: 24, @@ -953,21 +972,7 @@ class _PlayerScreenState extends ConsumerState { ), - // EPG Overlay - if (widget.streamType == StreamType.live) - Positioned( - bottom: 100, // Move up above progress bar area/OS safe area - left: 0, - right: 0, - child: PointerInterceptor( - child: EpgOverlay( - streamId: widget.channels != null - ? widget.channels![_currentIndex].streamId - : widget.streamId, - playlist: widget.playlist, - ), - ), - ), + ], // Clock Widget (Always visible if enabled, or only with controls? User asked "met l'heure dans les options") diff --git a/task.md b/task.md index 1f84bc1..6e216a8 100644 --- a/task.md +++ b/task.md @@ -1,13 +1,6 @@ -# Docker Build Failure Investigation +# Fix EPG Overlay Interaction -- [x] Analyze `Dockerfile` and `docker-compose.yml` dependencies. -- [x] Attempt to reproduce the build failure or gather more logs. -- [x] Fix the build issue. +- [ ] Analyze `player_screen.dart` for overlap issues. +- [ ] Reproduce/Locate the code responsible for EPG overlay. +- [ ] Fix the touch event propagation issue. - [x] Verify the fix. - -# Audio Investigation in Movies (Paused) - -- [ ] Investigate `player_screen.dart` to understand how the player is initialized. -- [ ] Determine differences between Movie, Series, and TV playback logic. -- [ ] Check for codec support or transcoding logic. -- [ ] Fix the audio issue for movies. diff --git a/verify_fix_log.txt b/verify_fix_log.txt new file mode 100644 index 0000000..89a2558 Binary files /dev/null and b/verify_fix_log.txt differ