- Add `updateMetadata` function to `LayoutHolder` to handle metadata persistence in `metadataHistory` and update UI views.
- Implement `onMediaMetadataChanged` in `PlayerFragment` to trigger metadata updates from the media controller.
- Integrate history management logic to save unique metadata entries and enforce maximum history size via `PreferencesHelper`.
- Update `PlayerService.kt` to fetch the station name from the collection using `mediaId` via `CollectionHelper`.
- Fall back to the existing artist metadata if the retrieved station name is empty.
- Update the current `MediaItem` in `PlayerService.kt` when new metadata is received.
- Set the original station name as the artist and the new metadata string as the title and display title.
- Replace the current media item in the player to ensure UI components reflect the updated metadata.
- Wrap all overridden methods in `RadioApiService.PlaybackController` with `runBlocking(Main)`.
- Ensure player operations and media metadata retrievals in `PlayerService` execute safely on the main thread.
- Introduce the `IRadioApi` AIDL interface and `RadioApiService` to support external IPC playback control and station metadata retrieval.
- Connect `PlayerService` to `RadioApiService` using an internal `PlaybackController` callback interface.
- Extract background battery optimization logic from `Shizuku` into a dedicated `RadioPowerManager` class featuring atomic backup, restoration, and rollback capabilities.
- Update `ShizukuFragment` to execute power optimization tasks asynchronously via Kotlin coroutines.
- Enable AIDL feature support in Gradle, add documentation in `API_DOC.md`, and include `junit` and `mockito-core` test dependencies.
- Implement `Shizuku` helper and `ShizukuFragment` using Jetpack Compose to manage system permissions and Doze mode battery optimization whitelisting.
- Add Shizuku API and provider dependencies, manifest provider configuration, vector icon, and localized strings.
- Add Shizuku preference entry to `SettingsFragment` and navigation graph.
- Update QR code verification logic to show a toast message on Android TV instead of hiding the preference.
- Remove unused `ACTION_REMOTE_SERVER_ERROR` and `ACTION_REMOTE_AUTH_FAILED` constants from `Keys.kt`.
- Simplify `constantTimeEquals` implementation in `SettingsFragment.kt`.
- Refactor `preferenceEnableEditingStreamUri` enablement logic to use a concise boolean expression.
- Rename "server app" to "Radio app" in pairing documentation.
- Simplify security warning in documentation.
- Fix grammar (short-lived).
- Unconditionally add QR verification preference to the Remote Control settings category.
- Add `QrCaptureActivity` to support scanning QR codes for authentication.
- Implement `PairingManager` to handle short-lived pairing sessions.
- Expose new API endpoints for pairing start, status polling, and QR image generation.
- Add UI modal to the web interface for pairing code input and QR code display.
- Increase Gradle JVM heap size to 4096m.
- Include necessary permissions and dependencies for barcode scanning.
- Implement `/api/stream` endpoint to provide the current station's audio URI.
- Refactor the frontend into modular `api.js`, `ui.js`, and `script.js` files.
- Add a "Listen on Web" feature to play radio streams directly in the browser.
- Update the backend to serve and whitelist new JavaScript assets.
- Add multi-language translations for the web streaming toggle.