Commit Graph
719 Commits
Author SHA1 Message Date
BinaryAlley f97c5bed47 Removes redundant qualifiers and a cast from the track stream endpoint
Drops the redundant FastEndpoints namespace qualification of EmptyRequest and the redundant cast of the audio byte array length in the stream endpoint and its tests.
2026-10-14 13:40:44 +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 0ad6e1307b Names the rate limiting policies with constants
Replaces the literal authentication rate limiting policy name with a constant on PresentationApiLayerServices, adds the track stream policy constant next to it, and uses both from the endpoints that register them.
2026-10-13 22:17:46 +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 4bcd37898c Renames the image MIME resolver and organizes the MIME resolvers
Renames MimeTypes to ImageMimeTypes and moves it into Common/MimeTypes, updates the thumbnail endpoint and its tests, and aligns ThemeMimeTypes on the same frozen dictionary, initializer style and field naming.
2026-10-13 22:16:57 +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 728a879bb8 Merge pull request #250 from BinaryAlley/feature/implement-music-library-web-client
Feature/implement music library web client
2026-10-13 13:58:20 +03:00
BinaryAlley d6e110ac6d Removes a duplicate project reference from the API project. 2026-10-13 13:28:05 +03:00
BinaryAlley 9e570f1638 Turns the remaining lowercase comments into sentences. 2026-10-13 13:28:03 +03:00
BinaryAlley 8557556b57 Moves the data access tests that need a real database into the integration test project. 2026-10-13 13:27:58 +03:00
BinaryAlley 34199cc35b Refactors the integration tests to deserialize problem details and to use collection expressions. 2026-10-13 13:27:51 +03:00
BinaryAlley 5a5042bea7 Adds stored cover examples to the book API reference. 2026-10-13 13:27:42 +03:00
BinaryAlley 33603e63c7 Adds the Performer contributor role and editable genre and tag rows to the book pages. 2026-10-13 13:27:36 +03:00
BinaryAlley 5a2c6c2bd8 Adds the music library browsing and editing pages to the web client. 2026-10-13 13:27:28 +03:00
BinaryAlley c7aab63552 Filters the home page by library category from the navigation menu. 2026-10-13 13:27:15 +03:00
BinaryAlley b29803ac77 Refreshes the bundled themes whose shipped version changes. 2026-10-13 13:27:10 +03:00
BinaryAlley 443f4612f8 Fixes the release type detection of the music library path structure. 2026-10-13 13:27:02 +03:00
BinaryAlley 27c6c40b39 Persists the disambiguation comment of music tracks. 2026-10-13 13:26:51 +03:00
BinaryAlley 4ceb8f7360 Adds cover update endpoints for music artists and albums. 2026-10-13 13:26:41 +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 0019821e87 Turns the lowercase comments into sentences. 2026-10-13 08:49:39 +03:00
BinaryAlley 006df1da3a Moves the cancellation token to the last parameter position. 2026-10-12 23:02:05 +03:00
BinaryAlley 9a7a1dffb2 Adds example values to the API endpoint documentation summaries. 2026-10-12 19:39:49 +03:00
BinaryAlley defbd9176f Converts the web client request objects from classes to records. 2026-10-12 19:21:52 +03:00
BinaryAlley 5a27c22109 Normalizes the web client request summaries to use the indefinite article. 2026-10-12 19:14:35 +03:00
BinaryAlley d36cac4b38 Merge pull request #248 from BinaryAlley/documentation/add-application-manual
Adds application manual.
2026-10-11 11:46:33 +03:00
BinaryAlley 9065a768a5 Merge branch 'master' of https://github.com/BinaryAlley/Lumina into documentation/add-application-manual 2026-10-11 11:32:41 +03:00
BinaryAlley 5543ee4582 Merge pull request #249 from BinaryAlley/bugfix/fix-flaky-sql-security-assertions
Fixes flaky SQL security assertions.
2026-10-11 11:31:43 +03:00
BinaryAlley bae4dba9d3 Fixes flaky SQL security assertions. 2026-10-11 11:18:57 +03:00
BinaryAlley 529cf33b24 Adds application manual. 2026-10-11 10:44:31 +03:00
BinaryAlley d254a4bdcc Merge pull request #194 from BinaryAlley/feature/implement-music-library-scanner
Feature/implement music library scanner
2026-10-10 16:02:00 +03:00
BinaryAlley 09c31a4fe6 Uses the file system path service for music and book path parsing 2026-10-10 15:48:41 +03:00
BinaryAlley 15d27adc1f Updates the media contributor errors test to cover the already exists error 2026-10-10 15:12:40 +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 95e771191e Wires the music library services into the dependency injection container and the solution 2026-10-10 14:07:00 +03:00
BinaryAlley 76645b5eb9 Adds the Calibre and MusicBrainz security test projects and removes a redundant blank line from the test project files 2026-10-10 13:55:00 +03:00
BinaryAlley 9541b0ab98 Adds the public host validation and redirect handler that protect the outbound HTTP downloads 2026-10-10 13:32: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 6b5e731546 Adds the web UI and localization for the path template and the artwork aggregation settings 2026-10-10 11:21:00 +03:00
BinaryAlley 9cc0852236 Adds the music library API endpoints, their OpenAPI summaries, and the endpoint tests 2026-10-10 07:42:00 +03:00
BinaryAlley 1fad9316ce Adds the music library commands and their validators 2026-10-09 07:34:00 +03:00
BinaryAlley b7db29eee5 Adds the media library item deletion strategies and their domain event handler integration 2026-10-09 01:23:00 +03:00
BinaryAlley 35ac1dbdcb Adds the music library scanning pipeline, its scanner, scan jobs, and path structure 2026-10-09 20:53: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 a939d8fd5f Adds the music metadata data transfer objects, their requests and responses, and extends the artwork data transfer object 2026-10-06 20:38:00 +03:00
BinaryAlley 5529e99024 Reorganizes the shared media library enumerations and adds the image file extension helper 2026-10-06 19:05:00 +03:00