Commit Graph
708 Commits
Author SHA1 Message Date
zarzet a428b37879 feat(i18n): mirror layouts for right-to-left languages
Use directional insets, alignments, positions and borders so Arabic and
other RTL locales lay out from the right. Mornye chevrons use the
CupertinoIcons glyphs that match text direction, synced lyric voices
align to start and end, and transport controls, seek bars and progress
stay left to right as media timelines do.
2026-10-21 14:59:26 +07:00
zarzet 876d4a4766 fix(library): keep scanning when a row has no scan time or is invalid
The Android DSD/WavPack reader built its library row without scannedAt.
Since the native staging validates required fields (d1de8331), one such
file failed the whole import with "Library scan row requires string
scannedAt", so a library containing a .dsf, .dff or .wv file could not
be scanned at all.

Stamp that row in Kotlin and fill a missing scannedAt during native
staging. A row that still cannot be encoded is counted, reported through
invalid_rows, invalid_row_error and invalid_row_paths, and skipped; the
owner logs it and protects the file's previous entry during publication,
as it does for a platform read error, instead of discarding the scan.
2026-10-21 14:22:46 +07:00
zarzet fc7e73fed5 fix(player): preserve audio information from track metadata 2026-10-21 14:11:05 +07:00
zarzet 37356e437a fix(player): skip tracks with mini player swipes 2026-10-21 14:10:56 +07:00
zarzet 53dfa2c3b8 fix(desktop): hide scrollbars where they add clutter
Rows that scroll sideways drop the desktop scrollbar, except the library
search shelves, which have no paging arrows. Settings, the sidebar and
the lyrics and Up Next panels scroll without a bar.
2026-10-21 12:59:55 +07:00
zarzet 60322186e0 fix(shell): keep the open tab when switching styles
Material and Mornye order their destinations differently, so keeping the
tab index turned Material's Settings into Mornye's Search. Map the index
through the tab it names instead.
2026-10-21 12:59:22 +07:00
zarzet 400a760415 fix(desktop): shape loading skeletons like the loaded tables
Desktop track and album lists now load with placeholder rows that use the
track table's columns, row height and quality column, so content does not
jump when it arrives. The track table geometry and the artist discography
tile size move to shared helpers that the placeholders reuse.
2026-10-21 12:38:31 +07:00
zarzet b532cb5d6c fix(lyrics): drop singer marks from lyrics picker previews
Multi-person lyrics prefix lines with v1: or v2:, which showed up in the
preview text.
2026-10-21 12:31:29 +07:00
zarzet be5c184355 feat(search): lay out the Mornye desktop Search page like Music
The search field moves to a centered toolbar with a provider and Library
scope control. Recent searches form one row of cards with a More menu, and
a Browse grid turns each home feed section into a tile in its cover's
color that opens the section as featured cards, song rows and artwork.

The Library scope searches only the local library: it waits for words
with a prompt, then groups artists, albums and playlists in rows of
artwork above song rows. Phones and the Material style are unchanged.
2026-10-21 12:31:29 +07:00
zarzet af500a737d feat(lyrics): choose lyrics from each provider in the metadata editor
"Find lyrics online" in the editor's lyrics section opens a sheet that
asks every enabled provider, extensions included, and lists each
answer in priority order with its timing and a preview. The chosen
lyrics fill the field and are saved with the other edits.

The backend gains getLyricsFromProvider, which asks one enabled
provider directly without the cache or the priority race, and
getEnabledLyricsProviders, wired for desktop, Android and iOS.
Provider display names move to a shared helper.
2026-10-21 11:35:19 +07:00
zarzet 56e51f0b98 fix(player): stretch the desktop Material transport to the timeline
In the edge-aligned desktop Now Playing, shuffle and repeat now sit at
the timeline's ends and previous, play and next stretch in proportion
between them. Phones keep the centered group.
2026-10-21 11:34:57 +07:00
zarzet 01d766402c fix(metadata): enlarge the desktop cover and show the lyrics box scrolls
On desktop the track header takes more of the window height and the
cover grows to 260, close to the album header, instead of shrinking to
about 150 in a short window. The lyrics box fades at its cut while more
text follows and shows its scrollbar on desktop; ScrollEdgeFade can now
fade the content itself for cards and translucent surfaces.
2026-10-21 11:34:57 +07:00
zarzet a3c4e3f562 feat(desktop): start the Material rail collapsed without a menu button
The rail opens compact, and the sidebar shortcut expands it in windows
wide enough for the extended rail. The menu button and the automatic
collapse are gone.
2026-10-21 11:34:49 +07:00
zarzet d04bd9ea60 fix(settings): line extension links up with the other rows
The priority links and the search and home feed provider pickers on the
Extensions page always use the standard settings row now, so they align
with the rest of their group in both styles. Disabled links are dimmed.
2026-10-21 11:34:49 +07:00
zarzet f6df8502fc feat(release): publish desktop builds in mornyeapp/Mornye-Desktop
The release workflow now ships phone builds in Mornye and desktop
packages in Mornye-Desktop, each with its own notes and SHA256SUMS.txt.
Desktop releases stay drafts until the DESKTOP_RELEASES_PUBLIC
repository variable is 'true'.

Desktop update checks read the new repository, and a release list
cached from the main repository is not reused. The Windows installer
links its updates page there too.
2026-10-21 11:34:43 +07:00
zarzet 3c7edf6f24 chore(branding): point links and packaging at mornyeapp/Mornye
The repository moved to mornyeapp/Mornye, so the GitHub links in the
app, README, contributing guide, issue templates, changelog config,
AltStore source and Linux and Windows packaging now use it. The remote
config endpoint keeps its old server name.
2026-10-21 11:34:39 +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 afaca0f136 feat(desktop): show Now Playing over the whole window, as Music does
Now Playing covers the shell, sidebar included, over a backdrop drawn
from the artwork: the cover, title and transport on one side, and lyrics
or Up Next on the other, toggled from a capsule in the corner. The
timeline and transport line up with the cover's edges.

The macOS runner reports full screen to Flutter. Opening lyrics in a
full screen window, or entering full screen with lyrics open, shows
them in Now Playing instead of the side panel.
2026-10-21 02:27:04 +07:00
zarzet 6a3e9ab7be fix(lyrics): reach far lines taller than the Material row estimate
The Material lyrics view jumps to an estimated 64dp per row. Lines with a
romanization in the narrow desktop panel are several times taller, so
opening lyrics mid-song or seeking far stopped short and left the active
line off screen. The view now steps toward the line until the list
builds it, then centers it.
2026-10-21 02:22:55 +07:00
zarzet 435afff453 fix(desktop): keep the Mornye sidebar in every window size
Music does not let its sidebar close, so the Mornye sidebar no longer
hides below 900pt or through the toolbar button, menu item and shortcut.
The shortcut and auto-collapse still apply to the Material rail.
2026-10-21 02:22:49 +07:00
zarzet 0a963a28e6 fix(desktop): keep the selection bar over the pages and bounded
The selection bar spanned the whole window, sidebar included. It now
floats over the pages only, in a centered column up to 640pt wide,
above the Mornye player capsule.
2026-10-21 02:21:54 +07:00
zarzet 02e50bd099 fix(desktop): play or open a row on a single click
A plain click now activates a row, as a tap does on a phone, instead of
selecting it and waiting for a double click. Cmd/Ctrl-click and
Shift-click still select, and the second click of a double click does
nothing, so a row never plays twice.
2026-10-21 02:21:51 +07:00
zarzet c9732fe440 fix(downloads): keep finalized FLAC paths and container names consistent 2026-10-21 01:48:14 +07:00
zarzet 2d814d5ba2 test(playlists): cover scrolling a large local collection 2026-10-21 01:48:05 +07:00
zarzet faa08f5b56 fix(library): prune stale NAS rows outside failed scan paths 2026-10-21 01:47:56 +07:00
zarzet 6bbc0823d4 fix(library): recognize NAS connection aliases in duplicate review 2026-10-21 01:47:48 +07:00
zarzet 82b2961bc2 fix(desktop): line the rail menu icon up with the destinations
Desktop visual density shrinks the menu button to 40pt, so its fixed
24pt start padding left the icon 4pt off the destinations' axis. The
button is now centered over the collapsed rail width instead.
2026-10-21 00:26:32 +07:00
zarzet ee5d125470 feat(desktop): morph the Material rail and let it be collapsed
The rail draws its own destinations so one expansion value drives the
width, the indicators and the labels: pills grow around a fixed icon and
labels cross-fade instead of jumping when the layout changes. Expanded
pills hug their labels as M3 Expressive specifies and take the clicks
alone. A menu button collapses and expands the rail, which also follows
the window below 1200pt.
2026-10-20 19:38:05 +07:00
zarzet 47098697e8 fix(onboarding): leave the former app name out of the tour 2026-10-20 19:38:05 +07:00
zarzet 8fcc4183bb fix(desktop): switch theme styles without remounting the app
Mornye built its MaterialApp outside DynamicColorBuilder, so switching
styles remounted the whole app: its state was lost and, in debug builds,
two macOS menu bars briefly coexisted and tripped an assertion. The menu
bar also sits outside the reduced-motion hero wrapper now.
2026-10-20 19:38:05 +07:00
zarzet 0bba11584a fix(desktop): drop the Material search bar and widen rail pills
Home and Library have their own search fields, so the shell's search bar
stacked a second one above them. Rail pills now span the row, which is the
whole click target.
2026-10-20 18:28:11 +07:00
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 9f5b2ff30c Merge branch 'desktop/d15-enable-backend' 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 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 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 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 7cc401758a test(desktop): close stream controllers and drop an unused import 2026-10-20 16:16:38 +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 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