- Update `ImageHelper.getStationImageAsByteArray` to support downsampling and JPEG compression for IPC transmission.
- Add `SIZE_STATION_IMAGE_API` constant for consistent image scaling.
- Refactor `PlayerService` to use downsampled images when fetching via `Binder` API.
- Improve thread safety in `PlayerService` station image lookup by consolidating I/O operations and avoiding main-thread access when possible.
- Remove `com.michatec.radio.permission.CONTROL_RADIO_API` definition and usage.
- Update `RadioApiService` to remove the permission constraint and add `tools:ignore="ExportedService"`.
- Remove corresponding documentation and usage in `AIDL_API.md`.
- Remove `runBlocking(Main)` from `getCurrentStationImage` to avoid blocking the main thread.
- Update `getStationImageByUuid` to use `Dispatchers.IO` for file operations.
- Add check to perform image loading on the main thread if already called from the main looper.
- Change `runBlocking` dispatcher from `IO` to `Main` in `getCurrentStationImage` and `getStationImageByUuid` to ensure safe access to player state and service context.
- Replace `runBlocking(Main)` with `runBlocking(Dispatchers.IO)` in `getCurrentStationImage` and `getStationImageByUuid` to prevent potential UI thread blocking during file I/O.
- Update AIDL interface methods `getCurrentStationImage` and `getStationImageByUuid` to return `byte[]` instead of `String`.
- Implement `ImageHelper.getStationImageAsByteArray` to handle the conversion of station image URIs to byte arrays.
- Refactor `PlayerService` and `RadioApiService` to support binary image data retrieval, removing redundant file/URI logic in the service wrapper.
- Replace custom CountDownLatch and Handler synchronization with `runBlocking(Main)` in PlayerService binder methods (`isPlaying`, `getCurrentStationName`, `getCurrentMetadata`).
- Add intent query for `IRadioApi` to package visibility configuration in AIDL documentation.
- Add `WebDavSyncHelper` and `CryptoHelper` to support encrypted WebDAV cloud backup and restore in settings.
- Implement `RadioAppFunctionService` and voice search intent handling for system and assistant integrations.
- Add `RadioTileService` to provide a Quick Settings tile for playback control and status.
- Expand `IRadioApi` AIDL interface to support fetching station cover image URIs.
- Add `StationHealthChecker` to asynchronously test station stream availability, response codes, and latency.
- Add long-click listener on the save button in `CollectionAdapter` to trigger health checks and display results via `Snackbar`.
- Add localized string resources for stream health check status UI messages.
- Update `provider_paths.xml` to include internal files and cache directory paths for FileProvider.
- Add handling for `PLAY` and `PLAY_STATION` actions in `PlayerService.onStartCommand`.
- Update `RadioApiService` to trigger playback via intents when `playbackController` is not yet initialized.
- Add `startPlayerService` helper method in `RadioApiService` to encapsulate service starting logic.
- Add a 500ms delay using `Handler` before triggering playback actions to ensure controller availability.
- Remove `EXTRA_STATION_UUID` from the `PlayerService` start intent.
- Transition to calling `playbackController.play()` and `playbackController.playStationByUuid(uuid)` directly.
- Remove `EXTRA_PLAY_COMMAND`, `PLAY_COMMAND_PLAY`, and `PLAY_COMMAND_PLAY_STATION` constants from `Keys.kt`.
- Remove manual play command handling in `PlayerService.onStartCommand`.
- Simplify `PlayerService` start intents in `RadioApiService` by removing unnecessary play command extras.
- Add `EXTRA_PLAY_COMMAND`, `PLAY_COMMAND_PLAY`, and `PLAY_COMMAND_PLAY_STATION` constants to `Keys.kt`.
- Update `PlayerService.onStartCommand` to process playback commands from intent extras.
- Modify `RadioApiService` to pass playback commands when starting `PlayerService`.
- Update `PlayerService` to return the media title instead of artist in `getCurrentMetadata`.
- Refactor `RemoteControlServer` to retrieve `currentTrack` directly from media metadata instead of loading from metadata history.
- Skip adding metadata to the history list if the metadata string matches the current station name.
- Move `currentMediaItem` retrieval earlier in the processing logic to facilitate the station name comparison.
- 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.
- Wrap color scheme calculation in `remember` to prevent unnecessary recomputations in `AppTheme`.
- Add a `SessionManagerListener` to `CustomCastControllerDialogFragment` to automatically dismiss the dialog when a cast session ends or is suspended.
- Clean up imports in `CustomCastControllerDialogFragment`.
- Migrate `CustomCastChooserDialogFragment` and `CustomCastControllerDialogFragment` from View-based to Jetpack Compose.
- Create `CastComposables.kt` containing new Compose UI for Cast device selection and volume control.
- Remove legacy XML layouts `dialog_cast_chooser.xml`, `dialog_cast_connected.xml`, and `item_cast_device.xml`.
- Refactor `AppTheme.kt` to simplify color scheme logic and wrap content in a `Surface`.
- Add `ic_shader_24dp.xml` and update the shader effect preference icon in `SettingsFragment`.
- Adjust `windowLightStatusBar` and `windowLightNavigationBar` in night theme styles.
- Add `PREF_SHADER_EFFECT` key and helper method to `PreferencesHelper`.
- Implement visibility and animation logic in `LayoutHolder` based on the shader effect preference.
- Add "Shader Effect" switch preference to `SettingsFragment`.
- Update `PlayerFragment` to refresh views when the shader effect setting changes.
- Add localized strings for the new setting in multiple languages.