Commit Graph
103 Commits
Author SHA1 Message Date
BinaryAlley 308402ad0e Enforces XML documentation on public members. 2026-11-16 20:16:23 +02:00
BinaryAlley 727aa33318 Formats code comments as sentences in the production sources.
Capitalizes the first word and adds the terminal period across the domain, application, data access, infrastructure, API and web layers and the plugins. No comment is reworded. The change also normalizes the TODO bodies to lowercase, leaves commented-out code untouched, corrects the Threat/Treat typo and the dangling hyphen in the exception middleware, and collapses two accidental repeated terminal periods.
2026-11-16 18:16:17 +02:00
BinaryAlley f9ad8b2fc5 Adds deletion and restore for music library items. 2026-11-15 18:53:10 +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 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 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 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 822ccc9adc Adds media consumption contracts, DTOs, and mappings 2026-10-24 14:09:36 +03:00
BinaryAlley 9247d9fe0f Adds the media resume point aggregate 2026-10-24 13:00:49 +03:00
BinaryAlley fa8513cc71 Adds the media consumption record aggregate 2026-10-24 11:18:23 +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 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 9919965a73 Adds music play history domain aggregate 2026-10-19 19:33:57 +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 7dc5953e1d Adds the playback delivery decision service 2026-10-15 09:19:36 +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 4ceb8f7360 Adds cover update endpoints for music artists and albums. 2026-10-13 13:26:41 +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 00376c8313 Adds the music library persistence model, its repositories, and the scanning migration 2026-10-08 20:48:00 +03:00
BinaryAlley ed96046769 Extends the music library aggregates and metadata with the new artist, area, and work details 2026-10-06 14:52:00 +03:00
BinaryAlley 7ed6f05632 Adds the test suites for the library path templates and centralizes their resolution in the domain service 2026-10-05 20:15: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 7534155f0e Removes the redundant null guards from the metadata value objects 2026-09-26 17:54:22 +03:00
BinaryAlley c0302ecc50 Tightens the metadata value object nullability and extracts their mappings 2026-09-15 02:55:23 +03:00
BinaryAlley 879aa7196b Adds and updates the domain error definitions 2026-09-19 13:27:19 +03:00
BinaryAlley 871644b3c9 Rewords additional code comments as complete sentences 2026-09-13 20:40:46 +03:00
BinaryAlley c112c64c25 Refactors the book slice across the stack 2026-09-19 12:56:46 -07:00
BinaryAlley ea6eb9f796 Refactors the book, artist, and album slices across the stack 2026-09-17 13:30:48 -07:00
BinaryAlley 9a71a6d32b Refactors the add book slice and shared media contributor model across the stack 2026-09-12 12:12:22 -07:00
BinaryAlley 3a720af29f Adds domain Music aggregate 2026-09-07 09:41:57 -07:00
BinaryAlley 1bfa07ba5d Adds book details and editing with cover uploads across the stack 2026-09-06 09:37:23 -07:00
BinaryAlley 237be9e2c8 Stores scheduler page display preferences per user 2026-09-03 14:06:01 -07:00
BinaryAlley 7fbb4dc0d3 Adds the scheduled job domain model 2026-09-03 12:48:35 -07:00
BinaryAlley f7ccdf3d1c Adds book reading support with EPUB and PDF reader plugins 2026-09-02 04:45:11 -07:00
BinaryAlley 3192b9c585 Falls back to the unstyled application views when a theme template is missing 2026-08-29 13:11:16 +03:00
BinaryAlley 565fe68239 Adds independent metadata and artwork enrichment
Splits the single combined enrichment phase of the media library scan into
independent, modular jobs, so that the metadata and the artwork of a book
are enriched separately and only when their respective triggers fire.

- Adds the MediaContributorRoleCategory enum (Other first, then Author,
  Translator, Illustrator, Publisher and Narrator) and makes the role
  category canonical, so that roles describing the same kind of
  contribution are never treated as distinct.
- Realizes the media contributor bounded context: a MediaContributor is a
  person, unique by display name, without a role. The role moves to the
  per-work participation (BookContributors), so that a single contributor
  can play multiple roles. Contributors are created and linked by the
  metadata enrichment job, and exposed to subsequent jobs.
- Makes the Book aggregate pure: the enrichment tracking state (metadata
  status, providers, timestamps and covers) no longer lives on the domain
  aggregate, but stays in the Books table, managed directly by the jobs.
- Models artwork generically as a BookArtwork child table (type, ordinal,
  content hash, status and provider), so that each piece of artwork is
  tracked independently and a change of one does not require the others to
  be re-fetched.
- Splits the scan DAG into ResultsSave, ProviderConfigurationInvalidation,
  MetadataEnrichment and ArtworkEnrichment jobs. The invalidation job
  fingerprints the provider configuration of a library and resets the
  enrichment state of the affected channel when it changed. The artwork job
  resolves the missing artwork, hashing it to detect identical covers and
  skip re-copying. Content-changed books are reset by the results save job.
- Deletes the book and its stored artwork when the file disappears from the
  library.
- Adds the migration creating the new tables, backfilling the existing
  covers into the artwork table, and adding the configuration fingerprints.
- Localizes the new scan job stages, and fixes the invalidation job wiping
  the library content locations by persisting the fingerprints through the
  change tracker instead of the repository update action.
2026-08-27 14:41:49 +03:00
BinaryAlley 942db4c90e Fixes path segment sanitization allowing path separators 2026-08-24 14:18:49 -07:00
BinaryAlley b3ffb5dfab Adds plugin upload from the web client 2026-08-23 08:15:29 -07:00
BinaryAlley 7e54c990ad Adds a restore action for soft deleted bundled themes 2026-08-21 11:47:51 -07:00
BinaryAlley bf8faba24d Adds the server-side theme repository and reworks the web theme engine onto it 2026-08-19 22:50:07 -07:00