Commit Graph
74 Commits
Author SHA1 Message Date
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 4d6a1513d9 Publish matched import entries into private playlists over Device Sync
Each source playlist gets an ordinary private playlist, created with its
PlaylistCreated operation in one transaction even when nothing matched.
Matched entries follow in source order, at most 200 per transaction: the
playlist row, the item register, the existing PlaylistTrackAdded operation
and a receipt are written together, so fed_sync_ops serves as the outbox
and an interrupted batch leaves nothing behind. Locks are taken in a fixed
order (per-user advisory lock, import lease, playlist, fed-device identity,
registers). Registers are only inserted; an item the playlist has or had,
a removal committed to the journal but not yet applied, a repeat or a
receipt keep the publisher from adding it again. A deleted target pauses
publication until POST .../playlists/{pid}/recreate; POST .../resync
retries unmatched entries and appends new matches at the end.

Before each batch the outgoing Device Sync line is measured by serializing
the same parts the exchange sends. Tracks and new playlists are published
while the music snapshot stays within library_import_sync_budget (2 MiB)
and the whole line within 7 MiB; the rest waits as deferred_sync_limit.

Device Sync gets local helpers only: create_owned_playlist_tx is extracted
from the playlist handler, append_in_transaction takes an explicit
position, the two operations have in-transaction variants on
append_local_op, and applying a playlist item writes its register under an
atomic last-writer-wins condition and its playlist row in the same
transaction, so concurrent operations cannot make them diverge. The
protocol and its formats are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 17:46:47 +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
ab a301d89d56 Make music uploads batch-oriented and share the player dialog frame 2026-11-24 06:02:14 +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 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
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 aad76c782a feat: add local hybrid lyrics search with bundled E5 model 2026-11-23 03:41:42 +02:00
ab beea7c1c0a Added lirycs 2026-11-23 01:45:22 +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 939fc00e4c Reworked new users login, improved share feature, enabled track downloads 2026-11-18 14:40:16 +00:00
Aleksandr Bogomiakov 4141562e33 Added stat page 2026-11-12 11:52:38 +00:00
Aleksandr Bogomiakov 2b3b50f7af Improved AI metadata processing 2026-10-15 00:29:37 +01:00
ab ba1c565bdc Integrate shared playback coordination and release 0.10.7 2026-09-10 17:08:34 +03:00
Ultradesu 39d75b07f6 Added yt-dlp cookies 2026-09-01 12:47:01 +01:00
Ultradesu 5402d9595d Added socks proxy, reworked download manager configuration 2026-08-14 10:54:56 +01:00
Aleksandr Bogomiakov 943191a0ff Added youtube import. Reworked Download Manager 2026-08-14 01:21:51 +01:00
Ultradesu 69883af8bd Reworked settings page 2026-08-11 12:26:16 +01:00
Aleksandr Bogomiakov 77cbb62d84 Added similarity search 2026-08-10 01:44:40 +01:00
Ultradesu d71845509d Bump protocols. Added proto status 2026-07-28 23:01:57 +01:00
Ultradesu 3a75c7d848 Fixed history DTO view 2026-07-28 08:34:29 +01:00
Ultradesu dc1fac1a94 hotfix 2026-07-28 00:01:36 +01:00
Ultradesu 122214a896 Fixed playback history window 2026-07-27 23:41:29 +01:00
Ultradesu 232c171aac Add synced listening history 2026-07-27 23:16:03 +01:00
Ultradesu b0d8929b4c Fixed liked track sorting 2026-07-27 17:09:59 +01:00
Ultradesu 291265be7d hotfix search 2026-07-27 17:02:20 +01:00
Ultradesu 624e75839d Reworked federation. Added settings page. Fixed connected devices. 2026-07-27 16:44:16 +01:00
Ultradesu c2bdd62a51 Added FED devices 2026-07-24 16:45:11 +03:00
Ultradesu d1370c6a28 Improved UI. Added playlist manager 2026-07-23 17:24:28 +03:00
Ultradesu 184371afca Added offline mode support 2026-07-15 18:13:40 +03:00
Ultradesu 0c120c0868 Added support of TUI player 2026-06-10 23:20:18 +01:00
Ultradesu 71d6556ba8 Improved artist page 2026-06-09 17:18:55 +01:00
Ultradesu 8fa06038fe Added MacOS client support 2026-06-08 16:36:30 +01:00
Ultradesu 624cadab64 Fixed sone jobs 2026-06-08 11:22:52 +01:00
Ultradesu 952d11e6f5 added mobile auth support 2026-06-05 03:37:51 +03:00
Ultradesu 3a9240b82c Add music sharing and mobile player polish
Add track, release, and queue sharing with post-login redirects; support shared playlist links and highlighted shared tracks.

Add local synchronized playback for jams, constrain HTTP metrics to known routes, and refine mobile player controls/layout.
2026-06-03 17:48:30 +03:00
Ultradesu 1e1453e465 Update metadata jobs and player library 2026-06-03 03:39:16 +03:00
Ultradesu 0a4f78acfa Improve player library and admin user stats 2026-06-03 02:02:23 +03:00
Ultradesu c244b3d4d8 PLAYER: fixe i8n 2026-06-01 18:33:39 +03:00
ab 27ee56c5b7 CORE: added prom metrics on /metrics 2026-06-01 16:08:49 +03:00
ab e1a4b6267f PLAYER: Added generated playlists feature 2026-05-29 17:04:30 +03:00
ab dedddc7cd8 PLAYER: improved jam feature 2026-05-29 13:08:33 +03:00
ab ec7c5c9049 PLAYER: Added Jam feature 2026-05-28 23:38:07 +03:00