331 Commits
Author SHA1 Message Date
Michatec 6ddd7b2238 Update backup and data extraction rules
- Include shared preferences and external storage in backup configurations.
- Exclude the `temp` directory from external storage backups.
- Add explicit `device-transfer` rules to `data_extraction_rules.xml`.
2026-06-30 16:53:50 +02:00
Michatec 4f94bee129 Update .gitignore and include specific .idea configuration files
- Modify `.gitignore` to allow tracking of selected IDE settings while ignoring the rest of the `.idea` directory.
- Add `runConfigurations.xml`, `vcs.xml`, and `icon.png` to the repository.
- Remove `/captures` from `.gitignore`.
2026-06-30 16:27:48 +02:00
Michatec 56de27466f feat(settings): implement hidden arguments system for advanced configuration
- Add a new "Arguments" field in the Advanced settings section.
- Implement SHA-256 hash-based argument checking in PreferencesHelper.
- Add support for a "Mute" mode (via hash) in PlayerService and SearchResultAdapter.
- Add support for toggling the Android TV overlay (via hash) in MainActivity.
- Update Keys.kt with new preference constants.
- Add translations for "Arguments" in all supported languages.
2026-06-30 16:18:29 +02:00
Michatec 098eca9ea4 add more screenshots to README.md 2026-06-30 14:55:20 +02:00
Michatec b9dd7f0409 metadata: add phone screenshots for radio
- Add four new screenshots to the en-US phone screenshots directory.
2026-06-30 14:51:03 +02:00
Michatec 4f07561239 Update banner and banner foreground icons 2026-06-30 14:13:31 +02:00
Michatec b65b666b81 Add fallback drawing logic to ShaderEffectView
- Implement `drawFallback` using standard Canvas APIs to support devices below Android 13 (API 33).
- Refactor `onDraw` to toggle between shader-based rendering and the fallback animation.
- Update `setColor` to store the current color and trigger a redraw via `invalidate()`.
- Add anti-aliasing to the paint instance and use a reusable `RectF` for fallback rendering.
2026-06-30 13:49:14 +02:00
Michatec 906b23188e feat(ui): add pulsing shader effect to station icon
Introduce a custom `ShaderEffectView` that uses AGSL (`RuntimeShader`) to display a pulsing glow animation behind the station icon during playback on supported Android versions (API 33+).

* **Shader Animation**: Created `ShaderEffectView` to render a hardware-accelerated rounded rectangle glow effect with configurable colors and pulse timing.
* **Layout Integration**: Added the shader view to both mobile and Android TV layouts, ensuring it is properly layered behind the station artwork.
* **Lifecycle Management**: Updated `PlayerFragment` and `LayoutHolder` to start or stop the animation based on playback state and to synchronize the glow color with the station's primary image color.
* **Visibility Logic**: Implementation ensures the effect is only visible when a station image is present and playback is active.
2026-06-26 23:41:40 +02:00
Michatec 7e7c6871ff chore(build): add clean task description and multicast permission
Add a descriptive string to the `clean` task in `build.gradle.kts` and include the `CHANGE_WIFI_MULTICAST_STATE` permission in the Android manifest.

* **Build Script**: Updated the `clean` task to include a description clarifying that it deletes the build directory.
* **Permissions**: Added the `CHANGE_WIFI_MULTICAST_STATE` permission to support network discovery features. Included `tools:ignore="LeanbackUsesWifi"` to suppress Lint warnings regarding Wi-Fi usage on Android TV devices.
2026-06-26 22:24:16 +02:00
Michachatz 372057fc9b Merge pull request #81 from Michatec/renovate/gradle-9.x
chore(deps): update gradle to v9.6.1
2026-06-26 22:20:47 +02:00
renovate[bot] 659fc594c5 chore(deps): update gradle to v9.6.1 2026-06-26 16:43:30 +00:00
Michachatz ea5c23025c Merge pull request #80 from Michatec/renovate/actions-cache-6.x
chore(deps): update actions/cache action to v6
2026-06-26 11:28:27 +02:00
renovate[bot] df38093055 chore(deps): update actions/cache action to v6 2026-06-23 19:06:20 +00:00
Michachatz bfa3dc0588 Removing Beta from README for Android TV support 2026-06-20 00:55:42 +02:00
Michachatz 7e99fd5b95 Merge pull request #79 from Michatec/renovate/gradle-9.x
chore(deps): update gradle to v9.6.0
2026-06-20 00:13:34 +02:00
renovate[bot] 6ec3678d1c chore(deps): update gradle to v9.6.0 2026-06-19 04:14:01 +00:00
Michachatz 27dd51a4b9 Merge pull request #78 from Michatec/renovate/actions-checkout-7.x
chore(deps): update actions/checkout action to v7
2026-06-18 22:22:02 +02:00
renovate[bot] db4afa826d chore(deps): update actions/checkout action to v7 2026-06-18 19:56:51 +00:00
Michatec 3be06ec0d7 Add Screenshot header to README.md 2026-06-13 15:57:55 +02:00
Michatec dd5feab821 Add app screenshot to README.md 2026-06-13 15:55:20 +02:00
Michatec 418955651e refactor: use Kotlin property syntax for Snackbar anchorView
- Replace `setAnchorView()` calls with the `anchorView` property in `PlayerFragment` and `MainActivity` for better Kotlin idiomaticity.
2026-06-13 15:20:07 +02:00
Michatec fe45779281 ui: update loading text color in activity_main 2026-06-13 15:14:05 +02:00
Michatec 5644c97c4c feat: improve metadata parsing and visualizer stability
- Enhance metadata extraction in `AudioHelper` by adding `VorbisComment` support and improving "Artist - Title" parsing for Icy streams.
- Implement thread safety in `ExtrasHelper` using a synchronization lock for native visualization and surface lifecycle management.
- Refactor visualizer update logic in `VisualizerFragment` to improve performance and error resilience.
- Remove redundant buffer position calls in `NativeAudioProcessor`.
- Clean up `AudioHelper` logic using Kotlin idiomatic patterns for string building and property access.
2026-06-07 13:22:11 +02:00
Michatec 1b9858fc4d add metadata 2026-06-04 11:42:28 +02:00
Michachatz 07713b9c70 Enable blank issues in issue template configuration 2026-06-04 11:33:23 +02:00
Michachatz 47786a6cbd Change app version name from 'Red' to 'Blue' 2026-06-04 11:16:55 +02:00
Michachatz 11cbac7e73 Update version code and name to 150 and 15.0 2026-06-04 11:15:59 +02:00
Michachatz fc6a9442ed Update supported version notation in SECURITY.md 2026-06-04 11:14:35 +02:00
Michachatz 7fe938a5ec Merge pull request #76 from Michatec/renovate/kotlin-monorepo
chore(deps): update kotlin monorepo to v2.4.0
2026-06-04 11:09:42 +02:00
Michachatz 94492252f5 Merge pull request #77 from Michatec/renovate/corektx
fix(deps): update corektx to v1.19.0
2026-06-04 11:09:24 +02:00
renovate[bot] 83c817e501 fix(deps): update corektx to v1.19.0 2026-06-03 19:54:26 +00:00
renovate[bot] 9d8f7b8d2f chore(deps): update kotlin monorepo to v2.4.0 2026-06-03 08:57:21 +00:00
Michatec 213246a0c4 chore(build): add Gradle Plugin Portal to repository list
Include `gradlePluginPortal()` in the `dependencyResolutionManagement`
repositories block within `settings.gradle.kts`. This ensures
dependencies can be resolved from the official Gradle plugin repository.
2026-06-02 00:05:19 +02:00
Michatec ae1e2aa784 chore(notification): update notification IDs
Increment the notification IDs used in `SettingsFragment` and
`PlayerFragment`. This updates the identifiers for the test,
share-app, and update-available notifications.
2026-06-01 19:52:26 +02:00
Michatec d654d79bd5 feat(notification): support custom notification IDs
Update `NotificationSys.showNotification` to accept an optional `id`
parameter. This allows different notifications to be displayed
simultaneously by the system instead of overwriting each other.

In `SettingsFragment` and `PlayerFragment`, assign specific unique IDs
for test, share, and update notifications.
2026-06-01 19:44:56 +02:00
Michatec 181ebd47df feat(ui): add custom theme color support and share app functionality
Introduce a new custom theme feature that allows users to personalize the application background color using RGB sliders, hex input, or a set of predefined palettes.

Key changes include:
* **Custom Theme Engine**: Added `CustomThemeFragment` and `ThemeHelper` to manage color selection and application. The UI dynamically updates the background color across the `MainActivity` and `PlayerFragment` when preferences change.
* **Android TV Support**: Provided a specialized layout for television devices (`fragment_custom_theme.xml` in `layout-television`) with optimized focus handling for D-pad navigation.
* **Share Feature**: Implemented a "Share App" preference in `SettingsFragment` that triggers a standard Android share intent and displays a thank-you notification upon use.
* **Localization**: Added Ukrainian language support and updated string resources for multiple locales (DE, DA, EL, FR, JA, NL, PL, RU) to include the new theme and share options.
* **Persistence**: Updated `PreferencesHelper` and `Keys` to store theme-related settings, including the enabled state, selected color, and predefined color index.
2026-06-01 19:32:46 +02:00
Michatec 4429ed4057 refactor(ui): use anchor view for Snackbars above bottom sheet
Replace manual bottom margin adjustments with `setAnchorView` for Snackbars to ensure they are positioned correctly above the bottom sheet on mobile devices.

- In `LayoutHolder`, make `bottomSheet` public to allow access from other components.
- In `PlayerFragment` and `MainActivity`, replace `FrameLayout.LayoutParams` modifications with `setAnchorView(bottomSheet)`.
- Maintain standard Snackbar behavior for Android TV where the bottom sheet is not present.
2026-05-31 23:06:57 +02:00
Michatec 83752c356f feat(android): refine notification permissions and UI layout
Add explicit `POST_NOTIFICATIONS` permission checks in `SettingsFragment` and `PlayerFragment` before triggering notifications or showing related preferences.

Update the permission launcher in `MainActivity` to provide a "Settings" action that links to the system application details when the notification permission is permanently denied.

Improve UI and system integration by:
* Adjusting `Snackbar` positioning with bottom margins in `MainActivity` and `PlayerFragment`.
* Updating `NotificationSys` to use a new channel ID with `IMPORTANCE_LOW`.
* Configuring `MainActivity` in `activity_main.xml` to handle orientation and screen size configuration changes manually.
2026-05-31 19:27:51 +02:00
Michatec c1bc8b3e19 refactor(android): simplify notification permission request
Remove the explicit permission type from the `RequestPermission`
contract in `MainActivity` to rely on default behavior or
internal contract handling.
2026-05-30 23:11:19 +02:00
Michatec 8835cadd6a fix(ui): specify notification permission type in launcher
Explicitly pass `Manifest.permission.POST_NOTIFICATIONS` to the
`RequestPermission` contract to ensure the correct permission is
requested on Android 13+.
2026-05-30 23:09:50 +02:00
Michatec 384926cf08 chore(build): disable debug mode in build configuration
Set `IS_DEBUG_ENABLED` to `false` in `app/build.gradle.kts` to prepare
the build configuration for release.
2026-05-30 22:51:25 +02:00
Michatec 2cf98b89b3 feat(notification): allow custom intent for notifications
Update `NotificationSys` to support passing a custom `Intent` when
showing notifications. This enables more flexible navigation, such as
opening a web URL for update notifications.

In `PlayerFragment`, use this new capability to trigger a browser
intent for update notifications on non-Android TV devices.
2026-05-30 22:48:26 +02:00
Michatec 6fa1e5e2c0 style(ui): update test notification icon
Replace the white notification icon with a standard 24dp icon in
SettingsFragment to ensure visual consistency.
2026-05-30 22:30:32 +02:00
Michatec 64d0f3a71f fix(android): resolve compilation error in TV feature detection
Update the Android TV feature check to use the instance-based
`packageManager` instead of the static `PackageManager` class.
This ensures the `hasSystemFeature` method is called correctly on
the available context instance.
2026-05-30 22:23:22 +02:00
Michatec c9122d74f8 refactor(android): fix Android TV feature detection syntax
Correct the usage of `hasSystemFeature` by calling it on the `packageManager` instance instead of the `PackageManager` class. This fixes a compilation error in `MainActivity` and `SettingsFragment`.
2026-05-30 22:18:32 +02:00
Michatec 1879827f4b feat(ui): add test notification preference and optimize Android TV logic
Introduce a "Test Notification" preference in the settings menu to allow users to verify the notification system. This preference is automatically hidden on Android TV devices to maintain a clean UI.

Additionally, refactor notification permission handling to skip requests on Android TV and improve the internal check for Leanback support using a lazy property.

Updated string resources for the new preference across all supported languages.
2026-05-30 22:15:51 +02:00
Michatec 23079649c5 style(i18n): fix typography in Danish notification description
Update the apostrophe in `notification_channel_description` to use a
typographic curly apostrophe for better linguistic accuracy in
Danish.
2026-05-30 21:36:22 +02:00
Michatec 2c7e02889d feat(i18n): add notification channel description to all languages
Add the `notification_channel_description` string resource to the
default and all localized string files to provide context for the
notification channel.
2026-05-30 21:33:43 +02:00
Michatec b1bcfa2137 style(i18n): update French typography in string resources
Replace standard apostrophes with typographic curly apostrophes in
`notification_test_content` and `snackbar_failed_permission_notification`
to improve French localization consistency.
2026-05-30 21:23:24 +02:00
Michatec 2814ff2cfa feat(android): implement POST_NOTIFICATIONS permission handling
Add NotificationSys to manage system notifications and update
MainActivity to request POST_NOTIFICATIONS permission on Android 13+.
Includes localized string resources for notification testing and
permission error feedback.
2026-05-30 21:17:01 +02:00