Commit Graph
226 Commits
Author SHA1 Message Date
GitHub CopilotandClaude Haiku 4.5 dc711b2380 fix(ui): resolve NaN division error in tv channel grid width calculation
Fixed NaN error in TvChannelGrid width calculation by properly resolving
EdgeInsetsGeometry to concrete values before arithmetic operations.
EdgeInsetsGeometry.horizontal can return NaN/infinity, causing invalid
width calculations.

Changed from: padding.horizontal
To: padding.resolve(TextDirection.ltr).left + padding.resolve(TextDirection.ltr).right

This ensures we get concrete padding values before division operations.

Fixes: Unsupported operation: Result of truncating division is NaN: NaN ~/ 225.0357142857143

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-26 15:36:28 +01:00
GitHub Copilot 031602f023 refactor(theme): replace hardcoded colors with AppColors for improved maintainability 2026-03-26 15:27:15 +01:00
GitHub CopilotandClaude Haiku 4.5 29888c9b2a fix(adaptive-bitrate): correct operator precedence in bitrate calculations
Fixed NaN errors in FFmpeg bitrate argument generation by ensuring integer
conversion happens before integer division. The double multiplication (1.5, 2.0)
was happening before the ~/ operator, causing NaN values. Now properly converts
to int first, then divides.

- maxRateArg: ((bitrateBps * 1.5).toInt() ~/ 1000)
- bufferSizeArg: ((bitrateBps * 2).toInt() ~/ 1000)

Fixes: Unsupported operation: Result of truncating division is NaN

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-26 15:26:50 +01:00
GitHub Copilot 1bc9223665 refactor(ui): update theme colors for improved consistency and remove unused gradient background 2026-03-26 15:03:07 +01:00
GitHub Copilot 8f732edda6 refactor(ui): restructure widget hierarchy to use Stack for improved layout 2026-03-26 14:56:38 +01:00
GitHub Copilot a60bc6e8bd refactor(ui): enhance ambient glow effects with improved visibility and size adjustments 2026-03-26 14:50:30 +01:00
GitHub CopilotandClaude Haiku 4.5 c4a3aaa066 refactor(ui): apply premium Apple TV glows to all screens
Consistent Apple TV-style premium background across:
- Dashboard: dual glows (teal 40%, blue 35%)
- Login: dual glows with larger coverage (0.4, 0.3 opacity)
- Playlist Selection: dual glows (teal 30%, blue 25%)

All backgrounds now feature:
- Deep gradient (050505 → 000000 → 0A0A0A)
- Visible ambient glows instead of flat black
- Premium cinematic feel with accent lighting
- Larger glow sizes for better visual impact

Result: Cohesive Apple TV premium aesthetic across entire app

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-26 12:09:17 +01:00
GitHub CopilotandClaude Haiku 4.5 8c8a7ad5c5 fix(ui): make ambient glows visible with increased opacity
Dashboard now has visible Apple TV-style glows:
- Teal glow (top-left): 40% opacity (was 25%)
- Blue glow (bottom-right): 35% opacity (was 15%)
- Larger glow sizes (800x800, 700x700) for better coverage
- Improved gradient background for depth

Changes:
- dashboard_screen.dart: increase glow opacity and size
- Add multi-stop gradients for smooth falloff

Result: Premium Apple TV background with visible glows instead of pure black

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-26 12:08:24 +01:00
GitHub CopilotandClaude Haiku 4.5 96ea8e2ad2 refactor(ui): improve Apple TV aesthetics with premium gradients and glows
- Enhance category card gradient with teal accent (AppColors.primary)
- Add premium ambient glows to dashboard (teal + blue)
- Replace flat black background with subtle gradient for depth
- Increase glow intensity and size for better visual impact
- Apple TV inspired premium dark theme with accent lighting

Changes:
- live_tv_tab.dart: category gradient now uses AppColors.primary
- dashboard_screen.dart: add dual-glow background with premium styling

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-26 12:00:49 +01:00
GitHub CopilotandClaude Haiku 4.5 a3a4b6f0f2 refactor(theme): replace hardcoded colors with AppColors system
- Unify color palette across login, dashboard, admin, and player screens
- Replace Colors.white/black with AppColors semantic colors
- Use AppColors.backgroundGradient instead of hardcoded gradients
- Apply primary teal accent (#00A0D2) consistently
- Fix text hierarchy with textPrimary/Secondary/Tertiary
- Improve visual consistency with Apple TV theme

Changes:
- login_screen.dart: gradient, icon, text colors
- dashboard_screen.dart: border, text, background colors
- admin_panel.dart: all Colors.white/white70 → AppColors
- player_screen.dart: background, overlay, text colors

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-26 11:49:46 +01:00
GitHub Copilot 0c9d0e50ec refactor(theme): update color references to use AppColors for consistency across components 2026-03-26 11:46:41 +01:00
GitHub Copilot 1b39aed8a5 refactor(theme): update border colors and rename elevation to shadow for clarity 2026-03-26 11:38:54 +01:00
GitHub Copilot 611fc41c76 feat: Add Apple TV Design System Visual Reference and Component Guide
- Introduced a comprehensive visual reference for the Apple TV design system, including color palette, component specifications, typography, shadow elevation system, and animation timing guide.
- Detailed button states, card components, text styles, and navigation focus flow for improved user experience.
- Included accessibility considerations and a testing checklist to ensure compliance with design standards.

chore: Complete redesign of XtremFlow Apple TV theme

- Updated color palette to align with Apple TV aesthetics, enhancing sophistication and premium feel.
- Optimized typography for better readability at 10ft viewing distance.
- Improved focus states for remote navigation clarity.
- Implemented a new 5-level shadow system for cinematic depth.
- Refined glass effects for a premium appearance.
- Ensured all components are accessible and comfortable for remote use.
2026-03-26 11:34:47 +01:00
GitHub Copilot 863e5ddad4 refactor(theme): update card and dialog themes to use CardThemeData and DialogThemeData
refactor(ui_components): adjust animation durations for smoother transitions
fix(dashboard): rename border property to hasBorder for clarity
fix(player): rename border property to hasBorder for consistency
2026-03-26 11:20:31 +01:00
GitHub Copilot 5b16029038 refactor(channel_card): simplify ChannelCard structure and enhance hover effects 2026-03-26 11:15:30 +01:00
GitHub Copilot 2ca0c8bf1a feat: Enhance Apple TV UI components with modern design elements
- Updated ChannelCard widget to include live indicator, favorite button, and EPG information with smooth animations and skeleton loading for images.
- Introduced MobileTheme for touch-optimized layouts, adapting Apple TV design principles for mobile screens.
- Added TvChannelGrid for responsive channel layouts with flexible column counts and smooth animations.
- Created TvModernCard for displaying content with interactive hover states, progress indicators, and context menu support.
- Implemented TvTopNavBar and TvSideNav for improved navigation with glassmorphism effects and user-friendly interactions.
- Developed TvFloatingMenu for context-aware actions with smooth reveal animations.
2026-03-26 11:09:40 +01:00
GitHub Copilot 2c4572191d feat(recording): implement simplified recording system with API endpoints and UI integration 2026-03-26 11:00:40 +01:00
GitHub Copilot ee97e29f72 fix(cache): remove unused dio_cache_interceptor_hive_store import and simplify caching setup 2026-03-26 10:48:56 +01:00
GitHub Copilot 74b06196e4 refactor(cache): move CacheEntry class outside CacheService and enhance its functionality 2026-03-26 10:47:16 +01:00
GitHub Copilot db849599b7 fix(dependencies): remove unused http_client_adapter from pubspec.yaml 2026-03-26 10:38:39 +01:00
GitHub Copilot 91eb1ce5a0 Add download and subtitle services, enhance UI with continue watching and quality selector widgets
- Implemented DownloadService for managing download tasks, including start, pause, resume, and cancel functionalities.
- Created SubtitleService for handling subtitle tracks, parsing SRT and WebVTT formats, and downloading subtitles.
- Added ContinueWatchingWidget to display user's watch history with progress indicators.
- Developed QualitySelectorWidget for selecting video quality during playback, including auto quality adjustment.
- Introduced TrendingWidget and RecentlyAddedWidget to showcase trending and recently added content.
2026-03-26 10:34:18 +01:00
Michael b8682eafe0 fix: resolve compilation error in XtreamService by restoring missing streams variable 2026-03-10 19:50:21 +01:00
Michael bb8978efaa perf: accelerate metadata loading with parallel fetching and local storage caching
- Implement parallel fetching for categories and streams in Live, VOD, and Series
- Add persistent local storage caching for instant UI population
- Optimize JSON parsing logic for large datasets
- Implement failover to local cache when network is unavailable
2026-03-10 18:59:39 +01:00
Michael df4bcfd07f fix: stabilize IPTV playback and implement request throttling
- Add playback lock to XtreamService to delay EPG during stream init
- Increase MPEG-TS stash buffer to 512KB for better stability
- Enable liveBufferLatencyChasing to prevent stream drift
- Tune HLS parameters for balanced speed and reliability
2026-03-10 18:54:44 +01:00
Michael 0ca6f96710 feat: implement Turbo-Start stream acceleration
- Add direct MPEG-TS support and optimized HLS tuning
- Implement low-latency sync and instant bitrate selection
- Achieve TiviMate-like zapping speed by reducing initial buffers
2026-03-10 18:41:46 +01:00
Michael 736ab0f51c chore: optimize IPTV performance and fix navigation Loop
- Revert aggressive caching in XtreamService (use forceCache + 1h stale)
- Adjust HLS.js buffers (60s-120s) for stream stability
- Fix desktop navigation loop in PlaylistSelectionScreen
- Fix receive timeouts (revert to 30s/60s)
2026-03-10 18:28:10 +01:00
Michael 8c65e48bbe feat: Implement Xtream IPTV API service, including data fetching, caching, and proxy integration. 2026-03-10 16:48:28 +01:00
Michael f5b3457390 refactor: Consolidate Flutter web and Dart server compilation into a single Docker build stage for streamlined dependency management. 2026-03-10 16:25:46 +01:00
Michael 36a74d9e97 fix: increase default timeouts and ensure they are applied to XtreamService 2026-03-10 15:44:04 +01:00
Michael 9f3c29f6dd feat: implement Xtream API service for managing live channels, VOD, and series with caching and dynamic backend URL handling. 2026-03-10 14:57:44 +01:00
Michael 36a4de2140 fix(compilation): resolved undefined 'options' variable and optimized Docker build 2026-03-10 13:06:40 +01:00
Michael e707bda597 feat: implement Xtream Codes API service for authentication, live channels, VOD, and series, including caching and URL proxying. 2026-03-10 12:14:47 +01:00
Michael 129bcadd37 feat: Add Xtream API service for IPTV features and precache web artifacts in Dockerfile. 2026-03-10 12:00:43 +01:00
Michael 4f6b5fe14e feat: Implement Xtream Codes API service for IPTV content and streamline the Dockerfile web build process. 2026-03-10 11:19:15 +01:00
Michael 33d0e0a80d fix(streaming): optimize quality, audio sync, and content update refresh
- Increased FFmpeg video quality to 8Mbps and audio to 192kbps.
- Added audio resync filters and better presets.
- Optimized HLS buffer settings for mobile players to reduce interruptions.
- Reduced API cache duration to 15m and added refresh support for faster content updates.
2026-03-10 10:26:24 +01:00
Michael 1377b70aee fix: add missing xtream_provider import to resolve build error 2026-03-10 08:29:43 +01:00
Michael 69c23a9c35 fix(desktop): fix playlist selection not updating provider and navigation issue 2026-03-10 08:26:51 +01:00
Michael 3ef4884336 feat(player): remove non-functional fullscreen button as requested 2026-03-09 22:52:05 +01:00
Michael 7a338db981 fix(player): remove duplicate declarations causing build failure 2026-03-09 22:34:26 +01:00
Michael 19a0755e01 feat(mobile): dedicated mobile player and responsive UI improvements 2026-03-09 22:14:33 +01:00
Michael 29a0d04b21 fix(mobile): apply responsive LayoutBuilder to player bottom bar 2026-03-09 22:01:57 +01:00
Michael b69e9d1812 fix(mobile): optimize player UI for mobile portrait and tune HLS buffering 2026-03-09 21:56:56 +01:00
Michael 441597354e fix(mobile): fix orientation reset with IndexedStack, support HLS in Lite player, and optimize fullscreen 2026-03-09 21:35:00 +01:00
Michael 39f4205d68 fix(mobile): fix XtreamService cache/URL logic and add tab error handling 2026-03-09 18:18:20 +01:00
Michael e4f8ebcf8f fix(mobile): stabilize router and add loading timeout/retry on playlists screen 2026-03-09 17:35:09 +01:00
Michael 180b57e1b7 fix(router): add missing import for MobileLoginScreen 2026-03-09 17:09:07 +01:00
Michael 13647a35da feat: Implement TV recording management with API endpoints, a data model, and a scheduling service that uses FFmpeg to record streams. 2026-03-09 16:46:45 +01:00
Michael 33c6385d7e feat: introduce mobile player screen and lite player view with channel zapping functionality 2026-03-09 14:52:41 +01:00
Michael 4d1e08148b feat: implement mobile live TV tab with channel browsing, search, and a dedicated player screen supporting channel zapping. 2026-03-09 14:32:41 +01:00
Michael 12b799a7fd feat: introduce LitePlayerView for video playback with custom zapping controls and mobile fullscreen support. 2026-03-09 14:18:51 +01:00