Commit Graph
2565 Commits
Author SHA1 Message Date
zarzet ff5001df92 feat(desktop): Apple Music style macOS shell
The macOS window now draws content under a transparent title bar with
the traffic lights centered in a 52pt row, and Flutter drag areas move
and zoom the window there.

Mornye on desktop follows Music: an inset 210pt sidebar panel tinted by
the page's artwork color, with Search, Home, Store, the Library pages,
All Playlists and each playlist, and an account row with Settings pinned
at the bottom. The sidebar hides completely from its button, the menu
or below 900pt, and the content then leaves room for the window
controls. The player is a floating 48pt glass capsule centered over the
content pane with shuffle, transport, repeat, the LCD, downloads,
lyrics, queue and a volume popover; pages scroll under it.

Material keeps its docked player bar, which now holds downloads, so the
top bar steps aside on Home instead of stacking a second search field.
The expanded rail spaces its indicators 8dp apart.
2026-10-20 18:00:06 +07:00
zarzet fa035bd169 feat(desktop): keep the Apple Music artist hero in Mornye
Mornye artist pages on desktop use the portrait hero with the artwork
tint, sized to most of the content pane, with a larger name or logo
and a round glass back button. Material keeps the compact header.
2026-10-20 17:50:26 +07:00
zarzet 9f5b2ff30c Merge branch 'desktop/d15-enable-backend' 2026-10-20 17:44:49 +07:00
zarzet 654dc01c97 fix(desktop): keep the profile photo in the app support folder
On desktop the Documents folder is the user's own, so the avatar no longer
goes to Documents/profile there.
2026-10-20 17:44:49 +07:00
zarzet ddb897916a feat(desktop): Apple Music style album, playlist and artist headers
Desktop detail pages keep the plain pane background and place a
300pt-capped artwork at the list's left edge, with the title, the
artist in the accent color and a small meta line beside it and the
actions along its bottom edge. Mornye floats a glass back button and a
capsule with share and More over the pane; album songs use 46pt rows
with the number turning into a play button on hover. Pages leave room
for the floating player.
2026-10-20 17:38:54 +07:00
zarzet 7b94fe176b feat(desktop): compact detail headers and denser song rows
Album, playlist, folder and artist pages on desktop show the artwork beside left-aligned details under a pinned toolbar with the back control, in the same column as the songs. Table rows use desktop density (40 Mornye, 48 Material), show row actions on hover, selection or focus, and drop the quality column when no row has one.
2026-10-20 17:38:54 +07:00
zarzet 2b4625f3ca fix(desktop): keep download rows in the queue header's column
The Library downloads list pads its rows by the wide list inset, as its header does, so status icons and dividers stop at the content edge.
2026-10-20 17:38:54 +07:00
zarzet ef0bb0d4ae feat(desktop): keep album play buttons in the song table
Local and downloaded album tables keep the row play and pause button of the album track tiles. Adds screen tests for the desktop table, its menu and the unchanged phone layout.
2026-10-20 17:38:54 +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 5e16cf0e8b feat(desktop): add context menus to artist, home and search rows
Right-click on artist top tracks and home rows opens the track options as a menu, artist album cards open a menu for the selection they join, and Library search results open their song or Open actions.
2026-10-20 17:38:54 +07:00
zarzet 87c92c8d78 feat(desktop): add Library context menus, song table and hover play
The Library Songs page shows the desktop table, sorted through the Library sort modes, and song rows and cards select on click, play on double click and open the selection's menu on right-click. Playlists, folders, albums, artists and queued downloads get menus, album tiles show a play button on hover, and the sort and filter choices open as menus on desktop.
2026-10-20 17:38:54 +07:00
zarzet c654de57b1 feat(desktop): show detail screen songs as a sortable table
Album, playlist, local album, downloaded album and collection folder screens list their songs in the desktop table, with right-click menus for the selection, Enter and double click to play or open, and Delete wired to the existing removal. The playlist cover options open as a menu on desktop.
2026-10-20 17:38:54 +07:00
zarzet 728c1a1ac8 feat(desktop): add context menus, list selection and a song table
Right-click, Shift+F10 and the Menu key open item menus (MenuAnchor on Material, MornyeContextMenu on Mornye). DesktopListScope adds Cmd/Ctrl+A, Escape, Delete and Enter to selectable lists, and SliverTrackTable shows sortable song columns. The album screen uses the table on desktop.
2026-10-20 17:38:54 +07:00
zarzet d83d2a7ca6 fix(settings): keep the profile page open after Save in the desktop pane
The desktop Settings detail pane shows the profile page as its only route,
so closing it after Save left the pane empty.
2026-10-20 17:30:54 +07:00
zarzet 4f16428cf3 feat(desktop): add hover scroll buttons to Home shelves
A mouse wheel only scrolls vertically and mouse drags do not scroll, so
mouse users could not reach the rest of a horizontal shelf. On desktop the
Home shelves, extension feed carousels and featured releases show back and
forward buttons while hovered, when more content lies that way.
2026-10-20 17:15:47 +07:00
zarzet 95a11dbda9 fix(desktop): report crashes only with evidence and keep one macOS instance
A leftover session marker alone means a force quit, kill or power loss, so it
is now logged instead of shown as a crash; SIGTERM quits cleanly. Release
builds on macOS hand over to an already running copy of the app.
2026-10-20 17:11:41 +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 6b4f81d87b feat(desktop): turn on the core backend and extension system
supportsCoreBackend and supportsExtensionSystem now include desktop, so
extensions, native data jobs, cache maintenance, backups and library
ingestion use the Rust library there. Download and library scan progress
use the native event streams, cover downloads let the backend create the
file in its own folder, and extension initialization drains a callback
URL queued at launch, as on Android.
2026-10-20 16:52:45 +07:00
zarzet c57de023c9 fix(desktop): pass the app version to the Rust backend
Without app_version the backend reported version 1, so every extension
with a minAppVersion failed to install or load on desktop.
2026-10-20 16:52:44 +07:00
zarzet 5f903b2a33 fix(desktop): keep extension storage migration out of the user's Documents
The legacy move from the app's Documents folder only applies to mobile
containers. On desktop that folder is the user's own Documents, so its
extensions and extension_data folders are never touched.
2026-10-20 16:52:44 +07:00
zarzet 6735f5dc9d fix(settings): align the extension overview with its settings groups on wide panes 2026-10-20 16:49:19 +07:00
zarzet 003b2cff10 feat(desktop): open Now Playing in the content pane with an inspector
Now Playing replaces the content pane instead of covering the window, and
Escape or the minimize button returns. Lyrics and Up Next open in a 340
inspector that sits beside the content from 1200 wide and floats over it
below that; the player bar buttons and Ctrl+Shift+L or U toggle it.

A downloads button with an overall progress ring opens a popover that
lists active downloads with progress and cancel, plus Show all for the
full queue in Library. Material shows it, with a search field that opens
search, in a new desktop top bar; Mornye keeps it in the player bar and
lists Settings as a content destination.
2026-10-20 16:33:30 +07:00
zarzet 8acabd6749 feat(desktop): let the extension store grid fill the pane
The store drops the reading width cap on desktop and lays extensions out
in up to four columns of about 360 each; only the search field keeps a
560 cap.
2026-10-20 16:33:29 +07:00
zarzet b52a40788d feat(desktop): show settings as a list-detail layout
Wide desktop panes list the settings categories beside the selected
page, which opens in a nested navigator so deeper pages push inside the
detail pane. Material uses a tonal selection pill and Mornye a System
Settings style sidebar with colored icon tiles. Back and Escape pop the
detail pane, and its root page hides the back button.
2026-10-20 16:33:29 +07:00
zarzet 9d6785c8ec feat(desktop): center setup and tutorial in a desktop column
Setup and the tutorial sit in a centered 560 column with the next button
inside it instead of a corner FAB, and Enter advances a step. The
language step insets from its own width, not the window's.
2026-10-20 16:33:29 +07:00
zarzet 43039565e7 feat(desktop): present app sheets as centered dialogs
Modal sheets from the shared helper open as a dialog up to 560 wide on
desktop, with Mornye glass or the Material high container, and the drag
handle becomes spacing. Player details follow the same dialog.
2026-10-20 16:33:29 +07:00
zarzet 0c0272ff9a fix(desktop): end the diagnostics session before an update quits
The updater leaves with exit(0), which skips the exit request that clears
the session marker, so every update looked like a crash on the next
launch.
2026-10-20 16:15:36 +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 2411450af6 feat(update): update desktop builds from their release packages
UpdateChecker now knows the OS, CPU and install format: Android keeps the
APK flow; macOS picks the universal dmg, Windows the setup .exe for its
CPU (x64 as the Arm fallback) and Linux AppImages the AppImage for the
CPU. deb, Flatpak and plain bundles, and releases without a matching
package, open the release page.

DesktopUpdater downloads the package to a temporary folder and checks it
against the release's SHA256SUMS.txt (and GitHub's digest when present).
Windows then runs the installer silently and quits, macOS opens the dmg
and asks the user to quit and drag the app over, and an AppImage is
replaced with an atomic rename and offers a restart.
2026-10-20 15:07:31 +07:00
zarzet f4c0a78d4c Merge branch 'desktop/d8-ffmpeg' 2026-10-20 14:40:39 +07:00
zarzet 41c450dcf4 Merge branch 'desktop/d5-playback' 2026-10-20 14:40:39 +07:00
zarzet e9849b6b4f feat(playback): add a PlaybackDeck seam and enable the macOS equalizer
Introduce PlaybackDeck, injected through PlaybackDependencies.createDeck,
so the runtime and AutoMix no longer depend on audioplayers types. The
audioplayers implementation becomes AudioplayersPlaybackDeck and keeps
Android's native USB path; it now owns the release mode and audio context
through configureOutput.

macOS gets the equalizer: the audioplayers_darwin fork shares its tap
source between iOS and macOS. On Windows and Linux, until their own deck
lands, enabling the equalizer reports it as unavailable.

Desktop uses an in-app output gain (playbackOutputVolume) that every deck
multiplies into its own gain, and the volume slider writes it instead of
the system volume. Music haptics, pause on mute and play on headphones
are hidden and disabled on desktop.
2026-10-20 14:37:03 +07:00
zarzet 4431f25f7c docs(licenses): add the FFmpeg LGPL notice and source offer 2026-10-20 14:36:19 +07:00
zarzet fb4f457430 feat(desktop): run FFmpeg and ffprobe through bundled executables
Route every FFmpegKit and FFprobeKit use through FFmpegExecution. On
desktop it starts the ffmpeg and ffprobe executables with argument lists,
collects their logs, cancels sessions by killing the process, and parses
ffprobe JSON into the FFprobeKit MediaInformation model. Tools resolve
from MORNYE_FFMPEG_DIR, the app bundle, then PATH, and the Rust desktop
library receives the same paths.
2026-10-20 14:36:18 +07:00
zarzet 8b90b1b3f8 feat(desktop): add the desktop shell with rail, sidebar and player bar
Desktop builds replace the bottom tabs and mini player with a leading
navigation surface and a persistent player bar. Material uses the M3
Expressive rail (collapsed below 1200, 220dp expanded above it, Settings
anchored at the bottom); Mornye uses a collapsible source-list sidebar
with search at the top, so the Material rail no longer appears in the
Mornye style on desktop.

The player bar carries artwork and title (opening Now Playing), the
transport, a seek bar, volume, lyrics and Up Next. Keyboard shortcuts
(Space, Cmd/Ctrl with arrows, F, comma, [, 1..5, Shift+L, Shift+U, Esc)
are wired above the root navigator, mirrored in a macOS menu bar and
named in control tooltips. The mini player drops its swipe gestures on
desktop. Phone and tablet layouts are unchanged.
2026-10-20 14:35:11 +07:00
zarzet bd4f827a88 Merge branch 'desktop/d4-storage' 2026-10-20 13:44:59 +07:00
zarzet a86bcd0190 fix(desktop): report the desktop platform to native jobs and logs
Native backup and library jobs received 'ios' on desktop. Send the
desktop OS name so the backend applies no mobile path handling, and
describe desktop hosts in log exports.
2026-10-20 13:44:35 +07:00
zarzet 840b28d549 feat(desktop): enable notifications and gate mobile-only plugins
Initialize flutter_local_notifications for macOS, Linux and Windows
(AUMID com.zarz.mornye with a stable GUID) and post result notifications
on desktop; live progress stays in the window. Open files through
url_launcher, skip audio_session, and use the login keychain on macOS.
2026-10-20 13:44:30 +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 4396e894d7 feat(desktop): add the isDesktopPlatform check 2026-10-20 13:38:13 +07:00
zarzet 840e16e1f4 feat(desktop): add desktop platform check, scroll and theme defaults
Add isDesktopPlatform. Desktop windows skip the tablet UI scaler,
Windows and Linux use Material's clamping scroll with scrollbars while
macOS keeps the bounce, and a first launch without a stored style
starts in Mornye on macOS and Material on Windows and Linux. Mobile
behavior is unchanged.
2026-10-20 13:36:18 +07:00
zarzet 8e4504e72d feat(onboarding): replace the 5.2 tour with a rebrand tour
Say goodbye to SpotiFLAC and introduce Mornye: the new name and logo,
how to move data over with a backup since Mornye installs as a new app,
and the new website and Telegram channels. The website, update channel
and community rows open their links when tapped, and the page says so.
The tour now shows once to every installation, fresh ones included,
because SpotiFLAC users arrive as new installs. The in-app logo now
renders the bare mark correctly.
2026-10-20 13:07:47 +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 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 7600c169c7 perf(ui): improve Material and Mornye player and library smoothness
Reduce repeated artwork readbacks, lyric layout and subscriptions, and animation rebuilds. Virtualize Library sections and Settings search, bound artwork decoding, batch queue restoration, and honor reduced motion.

Add shared player benchmarks with 60/90/120 Hz budgets and regression coverage for lifecycle, scrolling, and accessibility. Verified with 337 host tests, six Android profile suites, scoped analysis, formatting, and diff checks.
2026-10-20 03:37:21 +07:00
zarzet 00b7cf9979 fix(crash): reduce repeated notices and retain diagnostics 2026-10-20 03:01:06 +07:00