Commit Graph
204 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 7649f6b2d5 chore: bump version to 5.2.6 (165) 2026-10-22 23:16:18 +07:00
zarzet 104b8a8491 chore(license): adopt LGPL-3.0-only for Mornye 2026-10-22 23:11:09 +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 007745f1c1 feat(material): round Material headings with a fuller Google Sans Flex
Replace the bundled Google Sans Flex (v4.004, weight axis only, 277,596
bytes) with a trimmed build of the official variable font v5.000 from
the Google Fonts repository (google/fonts, ofl/googlesansflex, commit
bd8f81dd). The weight (wght 1-1000), width (wdth 25-151) and rounded
(ROND 0-100) axes stay variable; optical size and slant are pinned to
their defaults (opsz 18, slnt 0) with the fontTools instancer. The new
file is 571,544 bytes. Its defaults are wght 400, wdth 100 and ROND 0,
and it covers every codepoint of the old file with the same features
(including tnum), vertical metrics and advance widths for text.

The font is licensed under the SIL Open Font License 1.1. Ship the
license as assets/fonts/GoogleSansFlex-LICENSE.txt and register it with
the license registry next to Inter's.

The Material text theme now gives the display, headline and title roles
ROND 100 when the bundled family is in use. Body and label roles keep
ROND 0 for crisp reading text and small labels. Only ROND is set, so
the engine still derives wght from each style's fontWeight. System and
imported fonts get no axes, and the Mornye style is unchanged.
2026-10-21 23:37:49 +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 c1859530bd chore(release): bump app to 5.2.5 build 164 2026-10-21 19:03:06 +07:00
zarzet 268de6ee20 fix(windows): pin flutter_rust_bridge to the version smtc_windows uses
smtc_windows 1.1.0 is generated by and links flutter_rust_bridge =2.11.1
but accepts any 2.x runtime. With 2.13.0 its version check failed at
start and Windows had no media transport controls.
2026-10-21 18:28:59 +07:00
zarzet 5f4bb7ccee fix(lyrics): keep line timers aligned with playback
Sample the current playback clock when a lyric boundary timer fires late and scale boundary delays by playback speed. Cover both themes at normal and accelerated playback speeds.
2026-10-21 03:49:04 +07:00
zarzet 382e3856e3 feat(desktop): add dropped music folders to the Library
Dropping music files or folders onto the window adds them as Library folders through the existing add-folder and scan path; a dropped file adds the folder that holds it. Uses desktop_drop 0.8.4. Tests cover the folder selection, the hover play button and the source-sorted table.
2026-10-20 17:38:54 +07:00
zarzet bcb1ee8b90 feat(desktop): play through media_kit with MPRIS and SMTC sessions
Windows and Linux now create a libmpv deck through media_kit; macOS,
Android and iOS keep audioplayers. Without libmpv the runtime falls back
to audioplayers.

- The equalizer becomes one libavfilter graph behind mpv's lavfi filter
  (input gain, peaking bands, balance, compressor, -0.5 dBFS limiter)
  after a planar float conversion. Changes set the af property again.
  Filters a libmpv build lacks are probed once and left out; the input
  gain then moves to mpv's volume. Filter failures are reported per player.
- Deck volume is scaled by the in-app output volume on mpv's cubic curve,
  position updates run on a timer, DSD sources throw when libmpv cannot
  open them, and exclusive output has a hook for a later setting.
- The in-app output volume persists across launches on every desktop OS.
- Previews go through the runtime's preview deck, so desktop previews
  follow the in-app volume.
- Linux publishes MPRIS over D-Bus and Windows uses SMTC through
  smtc_windows, both driven by the audio handler.
- The Linux CI job installs libmpv-dev.
2026-10-20 16:55:01 +07:00
zarzet 490e529203 feat(desktop): wire deep links, single instance, keep-awake, Discord, watcher and crash logs
- mornye:// URLs arrive through app_links and go to the backend callback
  inbox (queueExtensionCallbackUrl); extension auth opens the system
  browser on desktop.
- Single instance: a named mutex plus app_links WM_COPYDATA forwarding on
  Windows (with the installer's AppUserModelID), a unique GApplication
  forwarding its command line on Linux; macOS handles reopen itself.
- The download queue holds a sleep inhibitor from start until it stops.
- Discord Rich Presence runs on desktop through a channel adapter over the
  backend IPC methods, without an account link.
- Library folder changes trigger a debounced incremental source scan.
- Desktop rotating log files, a session marker that turns an unclean exit
  into the existing crash report, and runtime errors recorded for it.
2026-10-20 16:14:40 +07:00
zarzet d99a7a6c3b docs(licenses): add the LGPL 3.0 text for FFmpegKit and desktop FFmpeg
FFmpegKit on mobile and the BtbN Linux and Windows builds are LGPL 3.0;
the macOS build stays LGPL 2.1 or later. Mention soxr in the notice.
2026-10-20 16:13:08 +07:00
zarzet 4431f25f7c docs(licenses): add the FFmpeg LGPL notice and source offer 2026-10-20 14:36:19 +07:00
zarzet bd4f827a88 Merge branch 'desktop/d4-storage' 2026-10-20 13:44:59 +07:00
zarzet 6aeed936b4 feat(desktop): use plain folders and SQLite FFI on desktop
Windows and Linux open databases through sqflite_common_ffi with the
bundled SQLite; macOS keeps sqflite_darwin. Desktop databases live in
the application support directory. Downloads default to <Music>/Mornye,
and setup and the Files settings pick plain folders without permission,
SAF or bookmark steps.
2026-10-20 13:44:25 +07:00
zarzet a7933c08f3 Merge branch 'desktop/d3-dart-bridge' 2026-10-20 13:38:46 +07:00
zarzet f502edd1f2 feat(desktop): route the backend channel through Rust FFI on desktop
Introduce BackendChannel with a MethodChannel implementation for Android
and iOS and a dart:ffi implementation for desktop builds. PlatformBridge
and NativeLogSource select the backend through isDesktopPlatform; mobile
keeps the same channels and call sites. The desktop library loads lazily,
so a missing library fails calls with backend_unavailable instead of
crashing at startup.
2026-10-20 13:38:13 +07:00
zarzet f10c9d88b0 feat(desktop): set Mornye identity, icons, window size and entitlements
Name the app Mornye with the com.zarz.mornye identifier on all three
runners and generate macOS and Windows icons from the brand badge; the
Linux bundle installs the badge PNG as the window icon. Open at
1280 x 800 with a minimum of 800 x 600. Register the mornye:// scheme on
macOS and run outside the App Sandbox.
2026-10-20 13:33:45 +07:00
zarzet f72fe69e0f feat(branding): adopt the Mornye logo across the app
Add the Mornye brand kit and regenerate the Android and iOS launcher
icons on the Deep Teal background with a dedicated monochrome layer.
Replace the in-app logo assets, point the README banner at the new
lockup, and drop the old README banners. Download notifications now use
the monochrome mark, matching the playback notification.
2026-10-20 12:29:01 +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 d6c6940e54 chore(release): bump app to 5.2.1 build 163 2026-10-20 00:52:38 +07:00
zarzet 66d480dbdc fix(storage): retain legacy Android cipher migration support 2026-10-18 04:09:16 +07:00
zarzet 317cd254c1 test: declare the path provider interface dependency 2026-10-18 00:46:10 +07:00
zarzet ecf594aac2 feat(equalizer): add multiband EQ and per-player native audio processing 2026-10-17 16:18:30 +07:00
zarzet 56a526caf4 chore(release): bump app to 5.2.0 build 162 2026-10-15 22:37:55 +07:00
zarzet 3dc2d69051 fix(audio): preserve FLAC precision in Android bit-perfect playback 2026-10-15 00:28:17 +07:00
zarzet e56d59c798 feat(theme): adopt Material Symbols and expressive components
The Material theme now draws its main surfaces with rounded Material
Symbols: navigation, player, mini player, queue, settings, sheets,
dialogs and shared controls. AppIcon maps legacy Icons to their symbol
and keeps outlined glyphs unfilled. Mornye keeps its original icons.

Icon buttons, text and filled buttons, dialog actions, sliders, the setup
FAB and indeterminate spinners use the Material 3 Expressive components.
Each wrapper falls back to the standard Flutter widget for Mornye, reduced
motion and custom sizing, so existing layouts and hit areas stay intact.
2026-10-13 18:27:38 +07:00
zarzet 5caa2ed588 chore(flutter): update SDK and packages with glass and navigation compatibility 2026-10-11 14:32:03 +07:00
zarzet 430893d58e chore(release): bump app to 5.1.1 build 161
Keep the package version and displayed application build number in sync.
2026-10-10 23:23:25 +07:00
zarzet d693e1a479 perf(theme): extract cover palettes with native quantization
Port the pinned Material quantizer and Dart RNG compatibility to Rust while keeping Material Score and final color schemes in Dart. Include exact palette fixtures, licenses, and Kotlin worker ABI coverage.
2026-10-06 23:27:38 +07:00
zarzet 867371cb67 feat(native): add cancellable data workers and streamed file hashing
Introduce Android, iOS, and Dart worker dispatch with queued cancellation, binary inputs, and background JSON codecs. Move APK verification to streamed native SHA256 while retaining the isolated fallback.
2026-10-06 23:25:39 +07:00
zarzet 541bfc4002 perf(media): shrink FFmpeg while preserving HTTPS motion artwork 2026-10-04 01:35:48 +07:00
zarzet 8a799bbe7d chore(release): bump build number to 160 2026-10-03 19:11:19 +07:00
zarzet 82068263f2 fix(mornye): match tab highlights to the expanding glass outline 2026-10-03 16:59:29 +07:00
zarzet 6550104df9 chore(release): bump app version to 5.1.0 2026-10-03 16:12:01 +07:00
zarzet 84cac92983 feat(network): add SMB and WebDAV libraries with streaming and uploads 2026-10-03 04:27:47 +07:00
zarzet 0914e7d978 feat(mornye): restore liquid glass with continuous draggable navigation 2026-10-03 04:24: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 2ba4c46618 chore(release): bump app version to 5.0.8 2026-10-02 12:40:12 +07:00
zarzet 788c76c22d chore(release): bump app version to 5.0.7 2026-10-01 01:28:12 +07:00
zarzet d390a214c3 feat(material): adopt expressive controls across the app 2026-09-27 17:01:11 +07:00
zarzet d92bcf7716 feat(player): add AAudio hi-res, WavPack DSD and DAC volume 2026-09-27 15:26:11 +07:00
zarzet 608675a255 feat(player): add direct USB audio and DSD transport 2026-09-27 15:26:10 +07:00
zarzet c87c139588 chore(release): bump app version to 5.0.6 2026-09-27 03:19:30 +07:00
zarzet fc41572417 chore(release): bump app version to 5.0.5 2026-09-26 12:45:16 +07:00
zarzet 2d554998b1 chore(deps): update Flutter Rust and Android dependencies 2026-09-26 11:55:51 +07:00
zarzet 7d7716cd6f feat(albums): show formatted editorial descriptions 2026-09-26 03:50:37 +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