12 Commits
Author SHA1 Message Date
zarzet 65147280eb feat(library): show all songs of an artist beside their albums
A Library artist now has an Albums | Songs switch. Songs lists every song
of the artist by title, with Play, Shuffle and Save as playlist: the songs
of the artist's albums and the songs whose artist tag names the artist
beside others. The view chosen last is the one the next artist opens on.

The Albums | Singles switch moves into a shared LibraryViewToggle, and the
genre song reader into library_song_reads so both lists use one query.
2026-11-17 02:35:33 +07:00
zarzet 7aa2f37496 chore: remove comments that restate the code
One-line doc comments and inline comments that only repeat the name, the
type or the next statement of what they describe, in the Dart, Kotlin and
desktop runner sources. Comments that state a reason, a constraint, a
unit, a value set or a platform quirk stay. No code changes.
2026-11-17 02:06:37 +07:00
zarzet b5e1117f2c feat(library): list a multi-value genre tag under each of its genres
A tag such as "Rock; Pop" was one genre of its own. Split a tag on
semicolons, commas, the NUL between ID3v2.4 values and the user's own
genre separator, the list rule the tag writer already follows. Slashes
and ampersands stay inside a genre, so "Hip-Hop/Rap" and "R&B" remain
one each.

A genre now counts and lists the songs of every tag that names it. The
song query takes those tags instead of a single one.
2026-11-16 18:00:11 +07:00
zarzet 85c3159e60 feat(library): read the Library's genres in one grouped query
Browsing by genre needs each genre's song count and a cover without
loading the whole Library on the UI isolate. One query groups both
sources by sort_genre (the trimmed, case-folded tag) and the stored
spelling; Dart then merges spellings under the most common one.

The Songs query gains a genre filter, so a genre's songs come from
the same paged, shadow-aware read as the Songs list and use the
existing sort_genre indexes.
2026-11-16 17:09:18 +07:00
zarzet 524ab69511 perf(link): filter remote rows and release published phone catalogs
Exclude network sources in SQLite before catalog paging and isolate mapping. After a successful publish retain only the catalog version and file lookup map, rebuilding song pages only when the desktop needs them.

The reconnect fixture releases 1,001 song records, serves files without a rebuild, and reproduces identical wire pages after remote state loss. Targeted SQL and Link regressions pass; update the old query-plan assertion for the existing Windows alias visibility check.
2026-11-01 21:25:38 +07:00
zarzet 1b8b2d48f8 feat(playlists): reorder tracks, create from folders, import files
Playlists had no way to change their order, and creating one always
started empty.

- Edit order opens a page where tracks move by their handle or a long
  press. The order is the added_at order, so a reorder restamps those
  values instead of adding a column, and Mornye Link carries it.
- Create playlist now offers an empty playlist, every track of one
  Library folder, or an imported M3U, M3U8 or CSV file.
- Imports match each entry to a local file by the tail of its path,
  then by ISRC or title and artist, and report how many matched.
  Unmatched entries keep the file's metadata so they can be downloaded.
2026-10-25 12:55:40 +07:00
zarzet 5d8c22a452 chore(services): drop write-only result and config fields
Duplicate entries, donation config, spectrogram, audio route, cover save,
share and redownload results carried fields that nothing reads; the
duplicate query no longer selects the unused album name.
2026-10-23 23:08:48 +07:00
zarzet a6db7fe878 chore(services): remove unused service members and write-only fields
UpdateInfo.publishedAt/isPrerelease, UpdateChecker.currentVersion,
BackupBundle.isEmpty, LocalLibraryItem.matchKey and two unused desktop
debug setters are never read.
2026-10-23 23:08:48 +07:00
zarzet 11a9b9a4ec chore: remove redundant comments across the codebase 2026-10-22 01:41:09 +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 19056edf14 perf(library): cache unchanged SMB and WebDAV scan metadata 2026-10-20 00:28:55 +07:00
zarzet ce21896ff5 refactor(layering): move model files to models and fix inverted imports
library_database_models and ffmpeg_models are plain data types, so they live in
models (re-exports stay at the old paths). deleted_library_files uses providers
and download_progress uses provider state, so both move to providers, and
ffmpeg_reenrich is a service. models no longer import from services for these.
2026-10-19 00:37:42 +07:00