# Changelog

## Baseline

- First survey — no prior run to compare against. CAI 45.3.

## Lenses

- Code Health 61.9
- Architecture 89.6
- Maturity 52.1
- Readiness 25.7
- Security 96.7
- Domain Modelling 61.8
- Performance 100.0

## Changes since last survey

- 291 commits — 247 feature/other, 44 fixes

## By area

- app/src — 258 commits
- (root) — 14 commits
- (repo) — 9 commits
- app/build.gradle.kts — 5 commits
- .idea/.gitignore — 1 commit
- .kotlin/sessions — 1 commit
- Screenshots/NosvedPlayer Logo.png — 1 commit
- app/.idea — 1 commit
- app/libs — 1 commit

## Notable commits

- fix: Added new Type for multiple format videos at InformationBottomSheet and solve the default volume reset bug
- fix: Fix UI flickering and drag-and-drop stutter in ControlLayoutEditorScreen by saving control configurations on exit
- fix: Fix video restore storage permissions and restore to original folders
- fix: Fixed IndexOutOfBoundsException crash in Continue Watching carousel and FeedScreen
- fix: Implement external subtitle import and persistence with side sheet UI redesign and fix none selection bug: - Add SELECT_FILE mode to StorageExplorerScreen.kt to select subtitle files in dialog mode - Overhaul SubtitleSettingsSideSheet.kt to show 'Import' option, 'ext' badges, and 'Embedded'/'External' labels - Persist imported subtitle URI in CachedVideoMetadata entity and auto-load it on video start - Fix subtitle visibility issue by setting sub-visibility to 'no' when selecting 'None' in MPVPlayerEngine
- fix: Implemented Room database watch history tracking, list progress indicators, and dedicated HistoryScreen with navigation fixes: - Added Room Database components (AppDatabase, WatchHistoryEntity, WatchHistoryDao) to persist playback progress. - Refactored PlayerViewModel and HomeViewModel to execute watch history queries and updates asynchronously using Room. - Integrated a LinearProgressIndicator overlay inside VideoListItem to visualize video playback progress. - Limited HomeScreen watch history carousel to 10 items and fixed layout constraints on 'See More' card to restore horizontal swipeability. - Created HistoryScreen to show all watch history with a database clear-all action, defining necessary string resources. - Updated AppNavigation to route to the HistoryScreen and save player progress on back click before popping the back stack.
- fix: Improve Secure Vault reliability and fix reinstall crashes
- fix: Made some UI changes and solve bugs at PlayerSettingsSideSheet: - Multi-Finger Gesture Tap Actions: Added Two-Finger and Three-Finger tap action configuration rows and dialogs under 'Press & Tap Controls'. - Dynamic Settings Updates: Updated GestureOverlay.kt to read settings variables dynamically from the state object inside the pointer input block to fix the double-tap seek duration change delay. - Aligned Aspect Scaling: Connected the interface 'Fullscreen Scale Mode' settings directly to the player engine's AspectMode so changes take effect instantly. - Premium Card UI Dialogs: Redesigned all selection dialog sheets to use the unified PremiumSelectionDialog layout with M3 styling, rounded cards, and visual highlights.
- fix: Refactored AnimatedNosvedLogo into a reusable component and integrated into SettingsScreen with scroll animation fix
- fix: bug fixing
- fix: fix blank feed video on cold start, white status bar, remaining time display, and FeedPlay start index
- fix: fix progress end-loop, rapid seek desync, and volume blast on mute: - Coerce saved playback progress to 0L when position exceeds 95% of duration in PlayerViewModel - Introduce targetSeekPos in GestureOverlay to stack rapid double-tap seeks off the target position instead of the lagging engine state - Track multi-finger mute using a strict isMutedState toggle instead of raw volume, avoiding sudden blasts when unmuting after manual volume adjustments to 0 - Reset mute gesture flags when volume is adjusted via manual dragging gestures
- fix: fix some bugs which occuring issues mostly in release version
- fix: fix video stuttering and false-positive decoder fallback toast on video exit: - Add largeHeap and hardwareAccelerated flags to AndroidManifest.xml application tag - Configure MPVLib to prioritize mediacodec hwdec and use the fast profile during engine init - Change default decoder mode in PlaybackSettings and PlaybackSettingsRepository from AUTO to HW - Fix decoder fallback race condition in PlayerViewModel by verifying that the player is active and isVideoLoaded is true before showing the toast
- fix: fix(build,library): resolve mpvlib Kotlin metadata conflict and improve hidden folder discovery
- fix: fix(database): prevent duplicate column crash in Room MIGRATION_6_7
- fix: fix(library): resolve ghost season and episode data after video deletion
- fix: fix(media,ui): resolve hidden video metadata extraction, fdsan crash, and smooth navigation pill
- fix: fix(navigation): restrict auto-scroll to player close in video lists
- fix: fix(player): fix subtitle rendering by copying fallback font and preserving default track
- …and 271 more
