Commit Graph
27 Commits
Author SHA1 Message Date
zarzet 2899be8a53 fix(android): keep background playback resumable
Keep the media service foreground while paused, release CPU wake locks on pause, and demote the service on stop. Await native state publication before requesting audio focus, honor focus denial, and apply the initial MediaPlayer wake mode.

Validated with 141 playback tests and an Android 17 screen-off pause, resume, and stop integration test.
2026-10-23 20:52:10 +07:00
zarzet 463c2ce938 fix(android): refresh media controls when track metadata changes
Publish metadata and artwork on the main looper, then refresh the playback media ID while preserving position and playback controls. Cover delayed metadata with playing and paused Android session tests.
2026-10-23 02:48:04 +07:00
zarzet d8903fb212 fix(windows): install the libmpv license and build on MSVC 14.5x
Flutter adds the vendored libmpv plugin through
windows/flutter/ephemeral/.plugin_symlinks, so its relative path to
assets/licenses/lgpl-3.0.txt pointed inside the ephemeral folder and the
CMake install step failed. Resolve the license from the app's windows/
folder instead.

permission_handler_windows still includes <experimental/coroutine>,
which the MSVC 14.51 toolset on the Windows ARM64 runner rejects. Silence
that deprecation for the plugin target.
2026-10-23 01:55:06 +07:00
zarzet 8f553c7aa3 feat(windows): prepare native ARM64 builds and packages
Add architecture-specific CI jobs, native playback dependencies and bundle validation. Native Windows ARM64 compilation and runtime testing are still pending.
2026-10-22 23:10:34 +07:00
zarzet b4751c29c8 fix(linux): build FFmpegKit without its bundle on arm64
ffmpeg_kit_flutter_new_audio publishes a Linux bundle for x86_64 only and
its CMake stopped any other build with a fatal error, so the Linux arm64
bundle could not be built. Vendor 2.5.7 with one patch: on an
architecture without a bundle the plugin is built without
libffmpegkit.so, which it already loads with dlopen() and treats as
optional. Desktop runs the bundled ffmpeg CLI and never calls FFmpegKit's
native layer. x86_64 builds keep upstream behavior.
2026-10-21 19:50:27 +07:00
zarzet 38659c024e fix(playback): seek FLAC accurately on macOS and iOS
Build AVURLAsset with precise duration and timing while preserving MIME overrides, and request zero seek tolerances. Add native PCM regression coverage for forward and backward seeks.
2026-10-21 03:48:58 +07:00
zarzet 51d3459426 chore(branding): drop remaining SpotiFLAC references
Remove the original SpotiFLAC creator and PC source links from About,
point docs links and podspec homepages at mornye.com, drop stale
SpotiFLAC build artifact cleanup, and rename incidental test data.
Legacy compatibility (backup magic, lyrics provider id, extension
suffix, signed session protocol) is kept so old data still loads.
2026-10-20 12:27:29 +07:00
zarzet 37e21b5712 feat(branding): rename app and native backend to Mornye
Rename the Dart package, Android and iOS identifiers, Rust crates, native libraries, and Discord plugin. Preserve legacy data readers and compatibility aliases.

Update localized branding, documentation, artwork, build tooling, and release artifacts. Route Telegram release notifications to @mornyeupdates and link @mornyecommunity.
2026-10-20 12:00:44 +07:00
zarzet 205e178e5b fix(android): apply renderer compatibility before shared engine creation
Pass renderer arguments when audio_service creates its cached Flutter engine so existing compatibility rules take effect. Use Skia for Xiaomi 25053PC47I on Android 15 as a scoped workaround for the reported Impeller raster crash.

Add tests that keep the new workaround limited to the affected manufacturer, model, and Android SDK.
2026-10-19 20:39:44 +07:00
zarzet 44cbd4532b docs(third-party): complete the vendored plugin patch notes
Complete the audio_service and audioplayers_android notes and add one for audioplayers_darwin: how each copy is wired into pubspec.yaml, every patch, the changed files, and an upgrade procedure. Each list was checked with diff -ru against the matching pub.dev package in the local pub cache (audio_service 0.18.19, audioplayers_android 5.3.0, audioplayers_darwin 6.5.0). No plugin code changed.

Derived from those diffs, pubspec.yaml, the plugins' Gradle and podspec files, and the Dart callers lib/services/music_player_service.dart and lib/services/music_playback_deck.dart.
2026-10-19 05:27:36 +07:00
zarzet f426b2d1f0 fix(player): report Android output failures without skipping tracks 2026-10-18 03:11:20 +07:00
zarzet ecf594aac2 feat(equalizer): add multiband EQ and per-player native audio processing 2026-10-17 16:18:30 +07:00
zarzet 075ddf489f chore: ignore generated Discord plugin lockfiles 2026-10-11 14:34:58 +07:00
zarzet d611590039 chore(android): update Gradle Kotlin NDK and native build dependencies 2026-10-11 14:33:52 +07:00
zarzet 00cff9b3c3 fix(ios): restore lock screen controls across app transitions 2026-10-09 18:08:12 +07:00
zarzet 2d2e66a8b6 docs(audio): record metadata cache retention rules 2026-10-06 22:00:48 +07:00
zarzet b8c50b1527 perf(android): reduce release APK size
Keep Dart debug data outside libapp.so and archive matching symbols and R8 mappings in CI. Pack native relocations, preserve JNI exports, and recompress PNG assets losslessly.

ARM64 APK shrinks from 80,306,680 to 76,080,247 bytes (5.26%). Verified with 1,877 Flutter tests, 19 native device tests, Discord SDK integration, and release startup on a 16 KiB Android emulator.
2026-10-06 15:22:42 +07:00
zarzet 3191ff926f ci: provision pinned Discord SDK for Android and iOS 2026-10-04 02:12:44 +07:00
zarzet a57b4504de perf(audio): reuse media session worker and bound metadata retention 2026-10-04 01:40:55 +07:00
zarzet 9c0b22e2c8 feat(build): require Discord in production and keep Lite opt-in 2026-10-04 01:40:54 +07:00
zarzet 0b2cf0e4e5 feat(discord): add opt-in mobile rich presence with track artwork 2026-10-03 02:14:11 +07:00
zarzet bbe2caa754 fix(android): preserve remote SAF descriptors for audio and artwork 2026-10-03 02:14:06 +07:00
zarzet 19cb703379 build(android): reduce compat media deprecation warning noise 2026-10-02 01:24:26 +07:00
zarzet 2d554998b1 chore(deps): update Flutter Rust and Android dependencies 2026-09-26 11:55:51 +07:00
zarzet 5259c86365 feat(player): add Mornye media notification controls
Sync notification favorites with Library, add Mornye transport icons and an output action on legacy Android, and expose the iOS favorite command. Preserve playback position when controls refresh.

Vendor audio_service 0.18.19 with a small Android patch for custom notification actions. Modern Android keeps its system output switcher and transport layout.
2026-09-26 03:07:38 +07:00
zarzet 728d179d69 refactor(discord): remove rich presence and bundled SDK
Remove the presence setting, platform bridge, SDK archive, and SDK preparation from local and CI builds. Reject leftover Discord native libraries in release APK audits.
2026-09-26 03:07:04 +07:00
zarzet 64f76293ec fix(android): bundle Discord SDK in local and CI releases 2026-09-26 02:02:49 +07:00