mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 04:11:10 +00:00
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.
This commit is contained in:
1 parent
4ffa81fffe
commit
f29f89f31f
60 files changed
+4483
-68
No files matched your search
+3
-1
@@ -33,6 +33,7 @@ namespace Lumina.Contracts.Responses.MediaLibrary.AudioLibrary.MusicLibrary.Trac
|
||||
/// <param name="Isrcs">The list of ISRC (International Standard Recording Code) of the track.</param>
|
||||
/// <param name="Contributors">The list of references to the media contributors that performed on the track, each with the role they played.</param>
|
||||
/// <param name="Ratings">The list of ratings for this track.</param>
|
||||
/// <param name="Container">The container of the audio file of the track, for example MP3, FLAC, OGG, AAC, MP4 or WAV, captured from the file itself. Read only, and not settable through a request. Optional.</param>
|
||||
[DebuggerDisplay("Title: {Metadata.Title}")]
|
||||
public record TrackResponse(
|
||||
Guid Id,
|
||||
@@ -53,5 +54,6 @@ public record TrackResponse(
|
||||
List<MoodDto>? Moods,
|
||||
List<IsrcDto>? Isrcs,
|
||||
List<MediaContributorReferenceDto>? Contributors,
|
||||
List<AudioRatingDto>? Ratings
|
||||
List<AudioRatingDto>? Ratings,
|
||||
string? Container = null
|
||||
);
|
||||
Reference in new issue
Block a user