Repository navigation
AMARadio 1.53 (184)
Pre-release
Pre-release
[1.53] - 2026-11-27
Added
- Live Recording Status Bar (
RecordingStatusBar): Displays a compact status bar directly above the MiniPlayer, FullPlayer, and landscape SidePanelPlayer while a background recording is active, showing a record indicator, truncated station name, live elapsed time, file size (KB/MB), accessible spoken duration for TalkBack, and a direct stop button. - Active Recording Replacement Warning: Starting a recording on another station while a recording is already active now shows a confirmation dialog (
ReplaceRecordingWarningDialog); confirming cleanly stops and saves the running recording and immediately starts recording the new stream via isolatedRecordingSessioninstances inRecordManager. - Always-Visible Scroll-to-Top Button (#168): Added a persistent bottom-right
ScrollToTopButtonacross station lists, favorites, history, recordings, and settings that smoothly scrolls to the top, restores TalkBack focus to the first item, and dynamically stays clear of the MiniPlayer and Recording Status Bar. - Recording Player Playback Speed & Skip Controls (#168): Added playback speed selection (
0.5x–2.0xwith 1x reset), 15-second rewind/forward controls, and accessible TalkBack seekbar announcements inRecordingPlayer. - TV & Multi-Track HLS Stream Recording: Added dynamic HLS playlist detection, MPEG-TS/fMP4 video-track stripping, and lossless audio extraction (
AacMuxer,HlsResolver,FormatParser) for TV streams (e.g. MSNBC). - Recorder Timing & Container Unit Tests (#116): Migrated unit tests to
app/src/test/kotlinand addedRecorderTimingFixesTest.ktcovering MP3 frame timing, Ogg granulepos/CRC32 handling, MPEG-TS multi-frame PES demuxing, and M4A 64-bitmdatcover-art chunk offset shifting. - Global Localization Update: Synchronized 18 new UI and accessibility string keys (including
accessibility_sleep_timer_active_remaining) across all 89 language resource folders.
Changed
- Top Bar Sleep Timer & TalkBack Active State (#168): Moved the Sleep Timer button into the main TopBar (using
ic_timer_play_24dpwith Amber tint when active and localized TalkBack remaining-durationstateDescriptionvia ICUMeasureFormat+accessibility_sleep_timer_active_remaining) and moved the Filter shortcut into the overflow menu. - Custom Stations Add Button Layout: Repositioned the Add Station FAB in
CustomStationsTabto the left ofScrollToTopButtonso the scroll-to-top button remains in its fixed bottom-right position without overlap. - Recording Pipeline & Player Overhaul: Reworked recording finalization via collision-free temporary
.partfiles, exact MP3 frame scanning with fresh Xing/Info seek headers (Mp3FrameHelper), Ogg page re-zeroing (OggStreamHandler), andRecordingPlayerduration/seeking synchronization. - Standardized Record Button Styling & Accessibility (#168): Aligned the record button color with standard AMARadio
onSurfaceicon styling, added localized ICUMeasureFormatTalkBack announcements (1 hour,2 hours,5 minutes, etc.) to timer menus inRecordButtonWithTimerandStationOptionsDialogas well asRecordingStatusBar, and improved TalkBack labels and clear buttons for station and date filters inRecordingsTab.
Fixed
- AudioFocus Main-Thread ANR & Duplicate Playback Start (#178): Offloaded
AudioManager.requestAudioFocusandabandonAudioFocusRequestBinder IPCs inPlayerServiceto a serialized background dispatcher (Dispatchers.IO.limitedParallelism(1)) with generation/cancellation guards (preventing ANRs duringAudioService/AudioFlingerstalls while preserving Android Auto, Cast, and metered-warning cooldown behavior), and removed the redundantPlay()call afterSetStation()inPlayerServiceUtil.playandGetRealLinkAndPlayTask. - Sleep Timer TalkBack Decimal Readout & Touch Target Size (#168): Fixed the off-by-one
stepscalculation inSleepTimerDialog(maxMinutes - minMinutes - 1+ integer rounding) so the slider snaps to exact 1-minute steps without fractional TalkBack announcements (e.g.15.88/17.86), added localized ICUMeasureFormatTalkBack descriptions for all preset chips (5 min–2 h) and slider values, and increased all dialog buttons/chips to at least48dpheight for Google Play Pre-Launch Report compliance. - WorkManager Direct Boot Crash (#177): Removed
android:directBootAware="true"fromStationIconProvider, guardedSyncWorker.enqueuewithUserManagerCompat.isUserUnlocked, and switchedWorkManagerto on-demand initialization with anInitializationExceptionHandlerinAMARadioAppto preventForceStopRunnablebackground crashes during Direct Boot on Android 16. - HLS MPEG-TS Multi-Frame PES Playback Errors: Replaced Android
MediaExtractorfor MPEG-TS inputs inAacMuxerwith Media3TsExtractor(MODE_HLS)to split multi-frame PES packets into individual AAC frames with zero-based monotonic timestamps, fixingUnexpectedDiscontinuityExceptionand external player (Musicolet) playback (e.g. BBC Radio 2). - Silent Fast-Start M4A Recordings After Cover Art Embedding: Updated MP4 box parsing in
TagEmbedderto handle 64-bitmdat(size == 1) boxes and recursively shiftstco/co64chunk offsets whenevermoovprecedesmdat(e.g. BBC CWR). - User Room DB Startup Race Condition (#167): Awaited
AMARadioApp.userDbMigrationJobinStationSaveManagerandPlayerServiceso cold-start playback and station loading wait for Room DB initialization/migration.
[1.52] - 2026-11-21
Added
- TalkBack Position-Picker Dialog for Favorites Reordering (#168): Tapping or double-tapping the reorder drag handle in the Favorites tab opens a direct
PositionPickerDialog(1toN) with explicit position announcements ("2. Radio Paradiso (current), Radio button, selected"). Long-press & drag remains fully functional for sighted users. - Dedicated Clear Buttons in Filter Form (#168): Added dedicated, always-visible 'X' clear buttons next to every form field in
FilterScreen. - TalkBack Single-Swipe Form Field Focus (#168): Refactored
CustomFilterFieldandDropdownFilterFieldsemantics so TalkBack navigates directly into form text fields in a single swipe without duplicate "None" node announcements. - Smart Focus on Blank Filter Tab Name (#168): Tapping "Filter anwenden" with a blank tab name automatically scrolls to the top of the form, opens the soft keyboard, and places focus directly into the "Tab umbenennen" field.
- Recording Playback TalkBack Labels (#168): Added dedicated TalkBack action labels for recording playback (
action_play_recording/action_pause_recording) to prevent confusion with the main radio player. - Global Localization Update: Synchronized all 7 new string keys across 88 language resource folders.
Changed
- Top Menu Search Query Retention (#164, #168): Search query and search results list remain active on screen when starting a radio station, allowing users to sample multiple stations without re-typing their search.
- Non-Draggable Filter BottomSheet: Locked
ModalBottomSheetfrom being accidentally dismissed on swipe-down gestures (confirmValueChange = { targetValue -> targetValue != SheetValue.Hidden },dragHandle = null), using an explicit Navigation Back Arrow button instead. - TalkBack Single-Flow Selection Lists: Refactored country selection rows in
MultiSearchableSelectionDialogandSearchableSelectionDialogto use nativeModifier.toggleable(role = Role.Checkbox)for seamless announcement without artificial delays ("Andorra, Checkbox, unchecked"). - Dependency Updates: Updated Gradle (
9.5.3), Jetpack Compose BOM (2026.11.01), Lifecycle (2.11.1), Lifecycle Compose (2.11.1), and Kotlinx Serialization JSON (1.13.0).
Fixed
- Lazy List Boundary Clipping (#168): Applied
clipToBounds()and bottomcontentPaddingtoLazyColumnandLazyVerticalGridso TalkBack swiping cleanly scrolls through all list items above the MiniPlayer.