Commit Graph
1159 Commits
Author SHA1 Message Date
zarzet 02232c76ac chore: remove unused widget and utility members
AppIconButton.outlined, LogBuffer.export, TtlCache.remove/clear and the
translationThreshold constant have no caller in lib or tests.
2026-10-23 23:08:48 +07:00
zarzet 4e1a6a2a94 chore(l10n): remove unused homeSupports and selectionShareCount keys
No screen reads either string any more; the only reference was a test
asserting the share label is absent, which now cannot render.
2026-10-23 22:22:04 +07:00
zarzet e31df404ea feat(library): sort songs and albums by file size 2026-10-23 03:59:29 +07:00
zarzet 6ab91b4599 feat(desktop): add fullscreen and borderless window modes 2026-10-23 03:53:18 +07:00
zarzet 30a5c82f0f feat(library): list the files a scan could not read
A finished scan only reported how many files it skipped. The Rust
scanner and the Android SAF scan now record the first 100 failed files
with the reader's reason and include them in the finished progress
report.

Library settings show the count under each folder, and its actions
open a sheet listing each file, its folder and the reason. The list is
kept per folder across restarts, cleared by a clean scan and removed
with the folder. Network folders keep only the count.

Validation: provider, model and Rust scan tests, and the full Flutter
suite on a clean tree with only this series applied.
2026-10-23 03:50:05 +07:00
zarzet 44a7fad0b9 feat(downloads): add custom folder path templates 2026-10-23 03:17:10 +07:00
zarzet fa2f73160b feat(network): add Subsonic and OpenSubsonic support 2026-10-23 03:15:19 +07:00
zarzet 0fe8b7df39 chore(l10n): drop the rebrand tour strings and its seen flag
The tour screen is gone, so its strings leave every translation.
upgradeIntroContinue stays because extension action forms use it.
Settings migration 15 removes the upgrade_intro_mornye_seen preference
that the tour left on existing installs.
2026-10-23 00:06:22 +07:00
zarzet 0afdacae76 feat(analysis): save the spectrogram as a PNG image
The spectrogram card gets a Save Spectrogram button. It renders the plot
as the card shows it (frequency and time axes, grid and dBFS legend)
under the track name and sample rate, then opens the system save dialog:
the save panel on desktop, the document picker on Android and iOS.
Files are named after the track, or the audio file when no name is
given, with the channel appended when one is selected.
2026-10-22 15:31:45 +07:00
zarzet d0dd3792f9 feat(macos): add floating mini player with lyrics 2026-10-22 01:53:32 +07:00
zarzet 4afe2d7f3b fix(desktop): steady pull to refresh on macOS and add Cmd+R
On macOS the expressive refresh indicator ignored a trackpad pull that
started while it was still refreshing or closing. The list then bounced
past its top edge like a plain scroll, and under the pinned large header
that showed as the title staying put above an empty gap. Pushing a pull
back before letting go also scrolled the list by the whole push, since
the indicator and the list both took it.

AppRefreshIndicator now stops a macOS list at its top edge instead of
bouncing, and while a pull is under way a push back only shrinks the
indicator; the list scrolls once the pull is gone.

Pages that refresh also answer the new Refresh command: Cmd/Ctrl+R and
View > Refresh run the indicator of the page on screen. The Mornye
Library uses AppRefreshIndicator so the command reaches it too.
2026-10-22 01:09:35 +07:00
zarzet f74076ab1e feat(desktop): list keyboard shortcuts in Settings
A Keyboard Shortcuts page, shown on desktop under App, lists playback,
navigation and panel shortcuts with Command or Control for the host.
It reads the bindings the app registers, so it follows any change to
them, and shows a command and its destination number in one row.
2026-10-21 20:34:13 +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 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 47098697e8 fix(onboarding): leave the former app name out of the tour 2026-10-20 19:38:05 +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 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 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 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 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 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 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 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 00b7cf9979 fix(crash): reduce repeated notices and retain diagnostics 2026-10-20 03:01:06 +07:00
zarzet ba234d78ad fix(ui): align Material screens with the design guide
- Keep one accent container per group: neutral source, album, Atmos and
  extension badges, neutral Rewind card, secondaryContainer icon wells,
  theme roles instead of fixed teal, orange, amber and green.
- Drop row and sheet header dividers on Material; search results and
  their skeleton become a connected list with 2dp gaps.
- Use a solid errorContainer with onErrorContainer in ErrorCard, the
  crash banner and the URL notice; Weekly Releases and extension
  collections show ErrorCard with retry.
- Raise touch targets to 48dp for search sort, service chips, metadata
  quick select, copy rows, the queue drag handle and spectrogram chips.
- Use SettingsSegmentedChoice, AppChoiceChip and SettingsInfoCard where
  custom controls stood in, and a full-round text button shape.
- Remove nested cards in the tutorial, update dialog, file info path and
  lyrics status rows.
- Localize the verification paste action, start the Home search hint
  with "Search", and fix the invisible Find spinner on a disabled button.
2026-10-20 02:02:37 +07:00
zarzet 9eea6a1a03 feat(playback): add normalization pre-amp and track or album gain
Volume normalization levels tracks to the -18 LUFS ReplayGain
reference with no way to aim lower or keep album dynamics. Add a
pre-amp from -15 to +6 dB, shown with its resulting target loudness
(-7 dB targets -25 LUFS), and a Track or Album gain mode that falls
back to the other tag when one is missing.

The cache now keeps both gains per file, so changing either setting
re-levels the playing track without reading tags again. Volume stays
capped at the source level, so a positive pre-amp cannot clip, and
downloaded tags keep the standard -18 LUFS reference for other
players.
2026-10-20 00:39:08 +07:00
zarzet 9acaa760a3 fix(haptics): render music pulses on basic motors and add tuning sliders
Phones without tuned haptic primitives often use an eccentric mass motor
that needs tens of milliseconds to spin up. The previous 12 ms on/off
pulses and low-amplitude one-shots were mostly not felt, so only the
loudest hits produced any vibration. On/off motors now play hits from
intensity 0.35 for 25 to 50 ms, and amplitude-controlled motors play
20 to 40 ms pulses with a minimum amplitude.

Analysis keeps every candidate hit with its threshold score, so a new
Sensitivity setting reselects pulses without decoding the song again.
The midpoint reproduces the previous selection exactly. A Strength
setting scales pulse intensity from 0.4x to 1.6x.
2026-10-20 00:24:12 +07:00
zarzet cb51d08939 feat(crash): show persistent crash reports on Home 2026-10-19 16:17:58 +07:00
zarzet 378c8f3749 fix(library): recover interrupted scans and stale notifications
Serialize scan notifications and surface failures even when database error persistence fails. Recover interrupted scans independently of auto-scan, retain their checkpoints, and collect matching Android process-exit details on restart.
2026-10-19 15:43:00 +07:00
zarzet 18fd556869 chore(lyrics): rename first-party provider to Zarz-LRC
Update settings, About, provider descriptions, and lyric source credits. Preserve the stored provider ID and recognize both current and legacy credits as direct sources.
2026-10-19 11:18:45 +07:00
zarzet fbaf7fa4ee feat(about): link the lyrics website and service status
Add lyrics.zarz.moe and status.zarz.moe to Links, and remove the Telegram
beta group link along with its strings.
2026-10-19 11:03:46 +07:00
zarzet 4557e36165 chore(l10n): remove 63 unused localization keys
Drop 63 keys (and their @metadata) that no hand-written code references,
from app_en.arb and every locale file. Groups: 24 upgradeIntro*, 11
downloadLossy*, 10 hiResCheck*, 4 storageMode*, and 14 single keys
(aboutKeepAndroidOpen, actionGo, audioInfoSamples,
backupRestoreConfirmMessage, discographySelectedCount,
editMetadataAutoFillDone/Fetch, historySearchHint, homeSubtitle,
libraryBuiltInPlayerInfo, libraryFolderNotExist, mornyeShowTabs,
selectionShareNoFiles, trackReEnrichOnlineSubtitle).

Usage was verified per key with a whole-word search over lib (excluding
lib/l10n), test, integration_test, android, ios, rust_backend, assets and
third_party. selectionShareCount stays: test/downloaded_album_reenrich_test.dart
calls the generated getter in a findsNothing assertion, so removing it would
break compilation.

flutter gen-l10n, flutter analyze and the l10n-using tests pass. Crowdin
will drop the removed strings on the next sync.
2026-10-19 04:29:36 +07:00
zarzet 9063104799 chore: retire Go-era config and rename SMB fixture servers
Drop the gomod renovate rule, the stray em dash in crowdin.yml and the migration wording in check_rust_backend.sh. Rename the SMB fixture servers so test_*.py discovery no longer implies unit tests, and describe supported_locales.dart as hand-maintained since its generator never existed.
2026-10-18 22:01:32 +07:00
zarzet dbee3d56cb feat(player): search lyrics online for files without them
The empty lyrics page offers Search online, which asks the enabled lyrics
providers in their configured order. The result is shown in the player
only and never written to the file; a late result is dropped after the
track changes, and a miss says so.
2026-10-18 19:24:39 +07:00
zarzet 56ad01ec2c feat(lyrics): add lrc.red and BetterLyrics, split SpotiFLAC-Mobile Lyrics
Add two keyless providers that serve Apple Music TTML: lrc.red, matched by
recording, and BetterLyrics, which answers songs it has already cached.
TTML is read into the first-party Apple line structure, so vocal sides,
backing groups, word timing, translations and romanization share one eLRC
formatter. The XML depth guard moves to core so both readers use it.

SpotiFLAC-Mobile Lyrics becomes its own provider instead of a fallback
inside Apple Music. New defaults are Apple Music, lrc.red, SpotiFLAC-Mobile
Lyrics, LyricsPlus and LRCLIB. Migration 13 moves untouched defaults to the
new list and keeps the former fallback right after Apple Music in custom
orders. Replace the dead LyricsPlus Workers mirror.
2026-10-18 19:24:31 +07:00
zarzet 67a346c15b feat(home): greet in the header and gather listening shortcuts
Without a feed, the Material Home now greets in its header with a
prompt picked once per launch, keeps import and paste out of the
resting search field, and fills the page with Continue listening,
player shortcuts, Recently added tracks from the whole Library and the
most played tracks of the last four weeks.
2026-10-18 18:08:13 +07:00
zarzet 7c0b275f9f feat(onboarding): introduce the 5.2 release tour 2026-10-18 04:09:16 +07:00
zarzet 9b622f941c chore(settings): clarify beta features and playback information 2026-10-18 03:11:44 +07:00
zarzet 4cee16e9e8 feat(home): localize greetings and address profile names 2026-10-18 03:11:44 +07:00
zarzet 1a6dc7366e feat(home): expose extension country settings and isolate regional caches 2026-10-18 03:11:33 +07:00
zarzet ce32558d46 docs(l10n): describe network storage messages 2026-10-18 00:46:10 +07:00
zarzet 4b732439e8 chore(l10n): remove unused settings group messages 2026-10-18 00:46:09 +07:00
zarzet 05a5613332 feat(player): add configurable full-screen cover art
Offer default and full-screen artwork in Material and Mornye, retaining landscape layouts and full-screen Mornye motion artwork. Keep the Material header readable over bright covers and normalize invalid saved styles without resetting other settings.

Validation: 144 related Flutter tests, flutter analyze, generated settings, formatter and diff checks.
2026-10-17 22:27:06 +07:00
zarzet 1e73ffea3b feat(i18n): add player feature text and clarify built-in playback 2026-10-17 16:18:17 +07:00
zarzet 1d53bf9301 feat(rewind): add yearly highlights and seasonal library banners 2026-10-15 17:15:32 +07:00
zarzet 08266c7369 feat(listening): add Rewind highlights and refresh statistics 2026-10-14 23:05:26 +07:00