Commit Graph
28 Commits
Author SHA1 Message Date
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 fc800afe03 Documents the SSD content setting
Adds the user manual entry, API examples, and ADR 0019 describing the scope and tradeoffs of parallel scan reads.
2026-10-30 22:40:26 +02:00
BinaryAlley 968061e89a Implements tests for commit dfd979ec1e 2026-10-28 10:07:57 +02:00
BinaryAlley 02bcf91661 Fixes media consumption tracking, statistics, and reader page counting 2026-10-26 22:04:28 +02:00
BinaryAlley e56712731f Adds documentation for media consumption history, resume points, and statistics 2026-10-26 21:10:34 +02:00
BinaryAlley b2d274f609 Adds per-library consumption settings to the domain, storage, and API 2026-10-24 10:20:00 +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 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 1aa427b1e2 Removes track path editing from the music track update flow
Stops Track.UpdateDetails and Artist.UpdateTrackInAlbum from assigning a path, so a track path can be set only when the track is created. Removes Path from UpdateTrackRequest, UpdateTrackCommand, UpdateTrackCommandValidator and UpdateMusicTrackRequest, and removes the path containment check and IPathService dependency from UpdateTrackCommandHandler. The path stays visible in TrackResponse, MusicTrackDto and the read-only field of the track page. Updates the endpoint summary, request and API docs, and the affected tests.
2026-10-13 20:14:12 +03:00
BinaryAlley 5a5042bea7 Adds stored cover examples to the book API reference. 2026-10-13 13:27:42 +03:00
BinaryAlley 9d82f283e4 Extends the music library listings with covers, sorting and alpha filtering. 2026-10-13 13:26:14 +03:00
BinaryAlley bf8b49653d Updates the technical documentation of the music library, the plugins, and the architecture decisions 2026-10-06 11:30: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 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 ea6eb9f796 Refactors the book, artist, and album slices across the stack 2026-09-17 13:30:48 -07:00
BinaryAlley 8aaf9fe64e Refactors the get book slice 2026-09-13 06:58:32 -07:00
BinaryAlley 1d35cd01db Refactors the get books and get books lite slices across the stack 2026-09-13 04:16:59 -07:00
BinaryAlley 001146eefc Refactors the update book slice across the stack 2026-09-12 12:13:18 -07:00
BinaryAlley 3a2c80b615 Reorganizes the API documentation to mirror the API project structure 2026-09-10 07:49:38 -07:00