Commit Graph
128 Commits
Author SHA1 Message Date
BinaryAlley f26b07d4ff Adds book deletion and restore to the web client.
Soft deletes books so the scan keeps their paths reserved, lists the deleted books on a themed page, and lets the user restore them. Updates the API, bundled themes, localization, documentation and tests.

Closes #213
2026-11-13 18:00:00 +02:00
BinaryAlley 48ad8692af Adds provider configuration to media library saves
Moves metadata provider, artwork provider, and book reader choices into the add and update library requests, adds the library type lookups, removes the per-provider enable and reorder endpoints, and reconciles the stored configurations in one provider store call. Tightens library update and delete authorization to require ownership and the manage permission, and cleans up enum validation, comments, resource diacritics, and Razor imports.
2026-11-02 10:00:00 +02:00
BinaryAlley 8918b270e6 Removes the redundant BookRepository.GetByLibraryIdAsync 2026-11-01 09:28:14 +02:00
BinaryAlley 8ff5149b6e Serializes media library scans through a scan queue
Replaces the job queue with a scan queue that executes one media library scan at a time, in the order in which the scans were queued, so several libraries requested at once no longer run one complete job chain each on the thread pool shared with the web server.

Keeps queued scans Pending and cancellable, reports them as queued, and cancels the executing scan and the queued ones when the user cancels all scans. A media library type without a scanner now fails its own scan instead of leaving it stuck Pending, without stopping the scans queued behind it.

Makes the file system discovery job the only top level job of a scan graph, so awaiting it completes the whole scan, and leaves one logical processor free for the rest of the process while discovery and hashing read files in parallel.

Removes the per job Task.Run wrappers, links the scan cancellation with the host shutdown token in the scan processor, updates the ADR amendments, API documentation, manual, web client and tests, and normalizes the comments of the touched files.
2026-10-31 14:42:33 +02:00
BinaryAlley 6eac3d578e Adds the SSD content setting to the library model and persistence
Stores whether the content of a library is on a solid state drive, off by default, so scans can choose between parallel and sequential reads.
2026-10-30 22:39:19 +02:00
BinaryAlley 6ef9592f00 Fixes large library scans hitting the SQLite parameter limit
Bounds path lookups and enrichment resets to 20,000 parameters per query, restores failed scans from their staged metadata, and clears staged data only after the materialized items are saved.
2026-10-29 20:23:24 +02:00
BinaryAlley d185c77999 Implements tests for commit eaca69bf2a 2026-10-27 16:39:18 +02:00
BinaryAlley 02bcf91661 Fixes media consumption tracking, statistics, and reader page counting 2026-10-26 22:04:28 +02:00
BinaryAlley bc619679e8 Removes the old music play history surface and drops its table 2026-10-26 18:06:04 +02:00
BinaryAlley 00d7eff777 Adds the media-neutral library statistics page and separates tags from genres 2026-10-25 15:51:27 +02:00
BinaryAlley a61fbf407c Adds the music play statistics endpoints and moves the Web statistics page under the library 2026-10-25 13:19:24 +02:00
BinaryAlley bc65e35de7 Adds the media consumption history migration 2026-10-24 19:22:46 +03:00
BinaryAlley f777af07cf Adds the media consumption history, statistics, resume, and deletion queries 2026-10-24 18:48:48 +03:00
BinaryAlley bde7ee4b1f Adds the media consumption lifecycle commands and repository wiring 2026-10-24 17:07:31 +03:00
BinaryAlley b2d274f609 Adds per-library consumption settings to the domain, storage, and API 2026-10-24 10:20:00 +03:00
BinaryAlley eaca69bf2a Normalizes tag and genre names and migrates existing values 2026-10-23 21:54:18 +03:00
BinaryAlley 8a5cb9116e Adds media consumption rules and centralizes authorization role names 2026-10-23 20:58:52 +03:00
BinaryAlley 525ac1348d Adds favorites and aligns playlist and favorite pagination 2026-10-22 20:27:07 +03:00
BinaryAlley 2e9f7d8496 Adds VU meter to the audio player bar
Adds a segmented spectrum VU meter to the condensed player bar, fed by an analyser tapped after ReplayGain and before the volume, so the meter does not depend on the output volume.

Adds per-user VU meter settings (orientation, segment count and gap, thresholds, peak marker, hold and falloff rates) across the domain, persistence, API contracts, validation and the settings page, with a migration and localized resources.

Sizes the meter cells in whole pixels and keeps the frame clock steady on browsers that round timers.

Updates the theming guide, API documentation, request samples and the user manual.
2026-10-21 20:30:51 +03:00
BinaryAlley 9889c86c76 Adds playlist management and playback 2026-10-21 16:30:58 +03:00
BinaryAlley 009a0c8156 Adds music play history persistence and reporting endpoints 2026-10-19 22:16:09 +03:00
BinaryAlley 067e9a21d0 Adds music page play affordances and shuffle playback
Adds play and shuffle actions to music library, artist, and album cards.

Adds the library play context and the uniform shuffle endpoint.

Expands the player bar with queue covers, now playing details, and release type.

Updates the bundled themes, API documentation, and the user manual.
2026-10-19 17:49:00 +03:00
BinaryAlley 45f9aa3bd5 Adds seekable normalized audio track delivery 2026-10-18 14:55:56 +03:00
BinaryAlley dd76309ded Adds playback preferences and auto-persisted playback state to user settings 2026-10-15 21:09:38 +03:00
BinaryAlley d7c1ae60c2 Adds the playback manifest endpoint 2026-10-15 14:58:57 +03:00
BinaryAlley f29f89f31f Captures the audio container of the music tracks
Adds a Container to the audio metadata, captured with TagLibSharp from the concrete type of the parsed file during the music library scan and stored on the track through a new column and an EF migration. The container is refreshed when a file changes, survives track and artist edits and provider enrichment, and is exposed read-only in the track responses, never settable through a request.

Extracts the container resolution into a testable resolver used by the scan pipeline and the ID3 plugin, refuses to read a file that is itself a reparse point during extraction, and updates the endpoint summaries, the API and domain documentation, and the tests.
2026-10-14 13:40:28 +03:00
BinaryAlley 4ffa81fffe Adds the music track stream endpoint
Adds the track stream route, its query, validator and handler, a flat stream projection in the track repository, and an endpoint that streams the audio file with HTTP range support. Excludes the route from the eventual consistency pipeline through endpoint metadata and limits it per user with a concurrency limiter. Missing, unreadable and out of scope files are reported as not found without leaking the path. Adds the API and request documentation and the stream tests.
2026-10-13 22:18:36 +03:00
BinaryAlley 9e570f1638 Turns the remaining lowercase comments into sentences. 2026-10-13 13:28:03 +03:00
BinaryAlley 4f43bf352b Cleans up the artwork and the stored media of deleted music library items and libraries. 2026-10-13 13:26:26 +03:00
BinaryAlley 9d82f283e4 Extends the music library listings with covers, sorting and alpha filtering. 2026-10-13 13:26:14 +03:00
BinaryAlley a514335a10 Aligns the test fixture field names with their types and tidies the remaining tests 2026-10-10 14:24:00 +03:00
BinaryAlley 9e118864c3 Adds the media library artwork aggregation services, enrichers, and their provider contracts 2026-10-09 01:59:00 +03:00
BinaryAlley 00376c8313 Adds the music library persistence model, its repositories, and the scanning migration 2026-10-08 20:48:00 +03:00
BinaryAlley ca4f308b0a Adds dynamic path templates for media libraries, so that the scanner can derive the meaning of each path part 2026-10-05 18:42:00 +03:00
BinaryAlley 80af18170a Adds a technical data cleanup scheduled job that fails interrupted media library scans at startup 2026-09-29 12:00:00 +03:00
BinaryAlley cd1386b9e7 Adopts the persistence toolkit across the repositories 2026-09-27 21:20:51 +03:00
BinaryAlley a632f4ced7 Introduces the closed generic persistence toolkit 2026-09-27 21:20:35 +03:00
BinaryAlley 9ba9b089b5 Makes the book search case-insensitive and adds the artist search specification 2026-09-27 21:20:20 +03:00
BinaryAlley 89886ebe22 Adds the persistence helpers for safe entity updates 2026-09-21 13:38:21 +03:00
BinaryAlley 5a8c2dc405 Registers the music library entities in the persistence model 2026-09-12 22:24:36 +03:00
BinaryAlley 39f4a04459 Standardizes the remaining boolean names across the stack 2026-09-13 16:48:42 +03:00
BinaryAlley 64ef3a1e22 Returns the unit of work save changes result 2026-09-26 12:59:17 +03:00
BinaryAlley 6bd0cf6d42 Refactors the track slice across the stack 2026-09-25 13:19:28 -07:00
BinaryAlley e842c7baaf Refactors the album slice across the stack 2026-09-25 13:18:50 -07:00
BinaryAlley b51013a9e9 Refactors the artist slice across the stack 2026-09-25 13:18:27 -07:00
BinaryAlley b398f26bfe Refactors the track slice across the stack 2026-09-19 12:58:01 -07:00
BinaryAlley d4cc3c1f8d Refactors the album slice across the stack 2026-09-19 12:57:39 -07:00
BinaryAlley aa097ecc98 Refactors the artist slice across the stack 2026-09-19 12:57:13 -07:00
BinaryAlley c112c64c25 Refactors the book slice across the stack 2026-09-19 12:56:46 -07:00
BinaryAlley 54cae054c1 Refactors the add and update album and track slices across the stack 2026-09-19 09:29:52 -07:00