Commit Graph
178 Commits
Author SHA1 Message Date
BinaryAlley b46dce745b Adds unlit color to hidden file system browser dialog elements. 2026-11-15 13:53:23 +02:00
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 5bd1f457f1 Standardizes the DebuggerDisplay separators. 2026-11-07 00:09:21 +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 811addf8d4 Parallelizes discovery and hashing reads for SSD libraries
Uses parallel file system reads when the library content is on a solid state drive, and keeps sequential reads for mechanical drives. Discovery keeps bounded batching and sequential repository writes.
2026-10-30 22:40:09 +02:00
BinaryAlley bcb5c4391c Propagates the SSD content setting through application commands and contracts
Carries the setting from the API requests through the application commands and mappings, and returns it in the library response.
2026-10-30 22:39: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 968061e89a Implements tests for commit dfd979ec1e 2026-10-28 10:07:57 +02:00
BinaryAlley bc619679e8 Removes the old music play history surface and drops its table 2026-10-26 18:06:04 +02:00
BinaryAlley 8011c532a1 Wires book reader consumption reporting and resume 2026-10-26 08:47:45 +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 dfd979ec1e Adds the library statistics, history, resume, and deletion API endpoints 2026-10-25 10:22:20 +02: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 2ffacb5360 Adds the consumption activity access policy and repository interfaces 2026-10-24 15:29:43 +03:00
BinaryAlley 822ccc9adc Adds media consumption contracts, DTOs, and mappings 2026-10-24 14:09:36 +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 4e13b23f16 Adds normalized audio playback pipeline 2026-10-17 20:52:08 +03:00
BinaryAlley 6991640710 Standardizes cancellation token parameter documentation 2026-10-17 20:51:47 +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 7dc5953e1d Adds the playback delivery decision service 2026-10-15 09:19:36 +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 eecf4315c6 Adds an audio file format enumeration and music MIME resolution
Introduces AudioFileFormat in the shared kernel, resolves it from a file path in AudioFileFormatUtilities, and maps it to a MIME content type in MusicMimeTypes, mirroring the image MIME resolver.
2026-10-13 22:17:32 +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 27c6c40b39 Persists the disambiguation comment of music tracks. 2026-10-13 13:26:51 +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 95e771191e Wires the music library services into the dependency injection container and the solution 2026-10-10 14:07:00 +03:00
BinaryAlley e139a7bb00 Adds the should aggregate artwork when missing setting to the user settings, configuration, and validation 2026-10-10 13:05: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 4f0526faa4 Adds the music library application mappings and renames the value object conversion methods 2026-10-07 13:46: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 ab4d596500 Reports a missing permission when updating a user's role and permissions 2026-09-27 21:21:04 +03:00
BinaryAlley cd1386b9e7 Adopts the persistence toolkit across the repositories 2026-09-27 21:20:51 +03:00