Skip to content

Exoplayer#69

Closed
SunnyVishnu3 wants to merge 6 commits into
Riteshp2001:masterfrom
SunnyVishnu3:exoplayer
Closed

Exoplayer#69
SunnyVishnu3 wants to merge 6 commits into
Riteshp2001:masterfrom
SunnyVishnu3:exoplayer

Conversation

@SunnyVishnu3
Copy link
Copy Markdown

Exoplayer Implementation
User can choose between Libmpv and exoplayer

SunnyVishnu3 and others added 6 commits May 23, 2026 22:00
- Added try-catch blocks and logging to Koin initialization, `ExoPlayerActivity`, and `ExoPlayerService` to improve error resilience.
- Optimized playlist and subtitle configuration loading using `async`/`awaitAll` for parallel processing.
- Added `@Serializable` annotation to core models and enums to support serialization.
- Renamed numerous string resources with an `exo_` prefix for better namespacing and consistency.
- Refined dependency injection in `ExoPlayerModule` using named instances for `CoroutineScope` and `DataStore`.
- Improved reflection safety in `NormalizingAssMatroskaExtractor` with null-safe field access and `runCatching` blocks.
- Enhanced crash reporting with explicit logging in `GlobalExceptionHandler` and safe theme application in `CrashActivity`.
- Added SDK version checks for external storage access permissions.
…r player controls

- Added a "Stats" overlay (`DeviceStatsOverlay`) to display real-time CPU, memory, battery, and detailed playback metadata.
- Implemented an Ambience Mode GL effect that dynamically generates content-aware ambient lighting around the video player.
- Refactored player UI logic from `MediaPlayerScreen` into a dedicated `ExoPlayerControls` component for improved modularity and maintenance.
- Introduced a `SET_SCREEN_ASPECT_RATIO` custom command to synchronize hardware aspect ratios with the OpenGL rendering pipeline.
- Updated `PlayerPreferences` and `PlayerViewModel` to manage state for ambience mode and the statistics overlay.
- Expanded customizable player button configurations to include video filters, ambience mode, and system stats.
- Enhanced the `VideoFiltersEffect` fragment shader with sampling logic and dithering for the ambient background effect.
- Integrated `VideoFiltersPanel` into the player overlay system for real-time filter adjustments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant