Commit Graph
129 Commits
Author SHA1 Message Date
sanapachandClaude Opus 5.5 b6c2ec7b39 Match the import statistics skeleton and fix the Russian retry notice
The skeleton had four cells in five columns while the statistics have six;
it now inherits the statistics grid on every width. The Russian notice
after Retry promised that the tracks would be found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 19:21:00 +02:00
sanapachandClaude Opus 5.5 1ab0d3bf57 Keep focus in the import wizard and drop searches after leaving details
The wizard dialog leaves the DOM without close(), so focus fell to the
page body. Closing it now returns focus to the button that opened it, or
to New import, unless it closes to navigate, and each new step focuses the
dialog title. Leaving the details clears a pending entry search, and
entries are not loaded without an import, so /api/imports/null/items is
never requested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 19:21:00 +02:00
sanapachandClaude Opus 5.5 7af037066e Charge ZIP entries what fflate copies for them
A stored entry is copied by its compressed size, so a record that declares
an original size of zero could still bring hundreds of megabytes, once per
central directory record that points at it. Each extracted file is now
charged the larger of its sizes, a stored entry must declare equal sizes,
and unknown methods and duplicate names are refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 19:19:01 +02:00
sanapachandClaude Opus 5.5 d275e7326b Add the Import library page and wizard to the web player
Import library sits between Followed and Settings in the account menu and
opens #imports: the sources, the history with statistics and links to the
created playlists, and #imports/N with progress, per-playlist results, a
deleted-playlist notice with Create again, and the entries with status and
playlist filters, search, paging and the candidates of doubtful entries to
choose from. Retry unmatched (with the federated search consent), Cancel,
Delete history and a new Spotify sign-in for waiting imports call the
existing /api/imports endpoints. The page polls every 3 s while an import
runs. It follows the player's views, skeletons, dialogs, switches and
phrase table in English and Russian.

The New import wizard picks a source, then the data export or the Spotify
sign-in, then the playlists: imported ones cannot be selected, similar ones
need an explicit confirmation, and federated search is off until the user
turns it on. A ZIP export is opened in the browser with fflate 0.8.2,
vendored with its MIT licence and served at /vendor/fflate-0.8.2.js only
when an archive is picked. Only Playlist*.json and YourLibrary.json are
extracted; archives over 256 MiB, with more than 2,000 entries, more than
256 playlist files or more than 32 MiB declared for them are refused before
anything is decompressed, and a request over 32 MiB is not sent.

Federated tracks can now be removed from a playlist in edit mode:
DELETE /api/player/tracks/content/playlist checks the owner and records the
existing PlaylistTrackRemoved operation. The body-level dialogs get an
Alpine root, which also makes Get app open again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 19:05:30 +02:00
sanapachandClaude Opus 5.5 ff87d9110d Import Spotify data exports and optionally playlists from the Spotify Web API
Add the Spotify adapter to the library import. The data export path parses
Playlist*.json and YourLibrary.json sent by the browser, tolerates missing
and unexpected keys, keeps the source order and repeats, and stores episodes,
audiobooks, local files and unreadable entries as unsupported instead of
dropping them. The bundled export fixture is synthetic and must be joined by
an anonymized real export before acceptance.

POST /api/imports/preview lists the playlists of an upload and marks those
already imported or similar to an earlier import; POST /api/imports stores
the selected playlists with every entry in one transaction and starts the
worker. Requests are JSON-only and limited to 32 MiB (413). Re-import is
detected per source playlist: a repeat is refused with 409, and a changed
playlist with the same title needs confirm_similar.

The Spotify Web API is optional and enabled by an administrator's client ID
(and redirect URI behind a proxy) in the settings. Sign-in uses PKCE with the
state, verifier and waiting import kept in the session; access tokens stay
only in an in-memory vault for at most 30 minutes. The worker fetches the
selected playlists one by one, honors Retry-After and backs off on server
errors. A missing or expired token parks the import as needs_reauth; signing
in again with the same account continues the same import and skips the
playlists already fetched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:30:07 +02:00
Aleksandr Bogomiakov 2a7179702b Verify imported audio and keep resolved uploads out of the review queue 2026-11-24 19:38:16 +02:00
Aleksandr Bogomiakov 2352f359f4 Added GET APP modal 2026-11-24 14:53:38 +02:00
ab a301d89d56 Make music uploads batch-oriented and share the player dialog frame 2026-11-24 06:02:14 +02:00
ab b6ed286e4d Redesign the download manager around transfer activity 2026-11-24 05:38:57 +02:00
ab d32ec66fb0 Distinguish manual offline mode from a lost server connection 2026-11-24 05:19:47 +02:00
ab 84f234bc6e Show a compact full-width offline status banner 2026-11-24 05:17:40 +02:00
ab 44ed0a5715 Show skeletons during library navigation and align popular track scrolling 2026-11-24 05:14:27 +02:00
ab d5d268a767 Redesign player settings and fade in loaded artwork 2026-11-24 04:55:02 +02:00
ab 388dc9b745 Animate the account menu and document player motion conventions 2026-11-24 04:35:31 +02:00
ab 88fb82b081 Download and cache the lyrics embedding model when indexing is enabled 2026-11-24 04:34:23 +02:00
ab b095f4aceb Hide uploader identities in shared track details 2026-11-24 04:25:45 +02:00
ab 1354f9c5f0 Play saved audio and display artwork directly from browser storage 2026-11-24 04:19:25 +02:00
ab 32057fd67b Show the linked build version beside the desktop wordmark 2026-11-24 03:52:19 +02:00
ab a045ab4fbe Fix offline playback ownership and polish the artist list and desktop sidebar 2026-11-24 03:40:41 +02:00
ab 656466b176 Filter playlists, group artist tracks and improve playback and cache controls 2026-11-24 03:15:58 +02:00
ab 2b8dad2139 Add offline listening and a device-local music catalog 2026-11-24 02:45:38 +02:00
ab af38255440 Keep one like per recording and float the playlist artwork picker 2026-11-24 02:03:11 +02:00
ab b584e660a4 Unify catalog navigation and playlist editing, align track actions and repair listening totals 2026-11-24 01:39:34 +02:00
ab 3f5fbdd05a Add a calendar heatmap to personal listening activity 2026-11-24 01:05:05 +02:00
ab 576e802b7a Allow reordering sidebar pins and undoing removals 2026-11-24 00:47:05 +02:00
ab 8324f256c6 Resolve Unicode artist portraits in listening rankings 2026-11-24 00:16:04 +02:00
ab bdbee5beb3 Redesign player navigation, add personal listening stats and improve lyrics 2026-11-23 22:54:51 +02:00
ab bc0a1f38c8 Merge origin/master for Furumusic 0.14.0 2026-11-23 22:30:22 +02:00
ab ce8f5700ef feat: add similar tracks and artwork preview to now playing 2026-11-23 22:22:09 +02:00
Aleksandr Bogomiakov c7d8672a29 feat: replicate lyrics across federation peers 2026-11-23 17:06:51 +02:00
ab 50926cc7bb fix: count and play artist guest appearances 2026-11-23 05:57:56 +02:00
ab 12f21583f8 feat: unify local and federated search results 2026-11-23 05:41:25 +02:00
ab 0394d40b75 fix: stop federated search from freezing the player 2026-11-23 04:18:12 +02:00
ab aad76c782a feat: add local hybrid lyrics search with bundled E5 model 2026-11-23 03:41:42 +02:00
ab 297b01dd0a fix: keep expanded search aligned during header updates 2026-11-23 03:10:16 +02:00
ab 54c02dc806 feat: group track versions in local and federated search 2026-11-23 03:07:51 +02:00
ab f833eaefec feat: expand mobile search while focused 2026-11-23 02:50:00 +02:00
ab ea3a95da42 fix: stabilize mobile player and track action layout 2026-11-23 02:45:48 +02:00
ab 8ec3ba3687 fix: sanitize LRCLIB lyrics and align admin settings 2026-11-23 02:04:44 +02:00
ab beea7c1c0a Added lirycs 2026-11-23 01:45:22 +02:00
ab eefe8a9777 Fix podcast page 2026-11-22 17:49:23 +02:00
ab 319f0bcba7 Fixed podcast sync 2026-11-22 17:11:37 +02:00
ab be7ccd5b4f Added podcasts support 2026-11-22 16:05:37 +02:00
Aleksandr Bogomiakov 9b923851ae Fixed build. Reworked mobile admin UI 2026-11-18 15:17:50 +00:00
Aleksandr Bogomiakov 939fc00e4c Reworked new users login, improved share feature, enabled track downloads 2026-11-18 14:40:16 +00:00
Aleksandr Bogomiakov 2b7117a4f6 Fixed metadata AI assistant 2026-11-16 01:10:59 +00:00
Aleksandr Bogomiakov 3d886d1acd Improved metadata AI Assistant. 2026-11-16 00:32:33 +00:00
Aleksandr Bogomiakov 4141562e33 Added stat page 2026-11-12 11:52:38 +00:00
Aleksandr Bogomiakov bcb5d378c8 Add bulk approval for selected admin reviews 2026-10-23 01:12:54 +01:00
Ultradesu 59345a8d22 Added AI chat with metadata 2026-10-19 13:35:05 +01:00