mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14:11:10 +00:00
Persists the disambiguation comment of music tracks.
This commit is contained in:
1 parent
4ceb8f7360
commit
27c6c40b39
10 files changed
+155
-7
No files matched your search
+3
@@ -644,6 +644,7 @@ public sealed class Artist : AggregateRoot<ArtistId>
|
||||
/// <param name="track">The track to update.</param>
|
||||
/// <param name="path">The file system path of the track.</param>
|
||||
/// <param name="metadata">The audio metadata of the track.</param>
|
||||
/// <param name="disambiguation">The optional disambiguation comment of the track.</param>
|
||||
/// <param name="trackNumber">The number of the track on its disc.</param>
|
||||
/// <param name="discNumber">The optional number of the disc the track belongs to.</param>
|
||||
/// <param name="script">The optional script used by the language of the track.</param>
|
||||
@@ -663,6 +664,7 @@ public sealed class Artist : AggregateRoot<ArtistId>
|
||||
Track track,
|
||||
string path,
|
||||
AudioMetadata metadata,
|
||||
Optional<string> disambiguation,
|
||||
int trackNumber,
|
||||
Optional<int> discNumber,
|
||||
Optional<string> script,
|
||||
@@ -686,6 +688,7 @@ public sealed class Artist : AggregateRoot<ArtistId>
|
||||
track.UpdateDetails(
|
||||
path,
|
||||
metadata,
|
||||
disambiguation,
|
||||
trackNumber,
|
||||
discNumber,
|
||||
script,
|
||||
|
||||
+3
@@ -347,6 +347,7 @@ public sealed class Track : Entity<TrackId>
|
||||
/// </summary>
|
||||
/// <param name="path">The file system path of the track.</param>
|
||||
/// <param name="metadata">The audio metadata of the track.</param>
|
||||
/// <param name="disambiguation">The optional disambiguation comment of the track.</param>
|
||||
/// <param name="trackNumber">The number of the track on its disc.</param>
|
||||
/// <param name="discNumber">The optional number of the disc the track belongs to.</param>
|
||||
/// <param name="script">The optional script used by the language of the track.</param>
|
||||
@@ -360,6 +361,7 @@ public sealed class Track : Entity<TrackId>
|
||||
internal Result<Updated> UpdateDetails(
|
||||
string path,
|
||||
AudioMetadata metadata,
|
||||
Optional<string> disambiguation,
|
||||
int trackNumber,
|
||||
Optional<int> discNumber,
|
||||
Optional<string> script,
|
||||
@@ -372,6 +374,7 @@ public sealed class Track : Entity<TrackId>
|
||||
{
|
||||
Path = path;
|
||||
Metadata = metadata;
|
||||
Disambiguation = disambiguation;
|
||||
TrackNumber = trackNumber;
|
||||
DiscNumber = discNumber;
|
||||
Script = script;
|
||||
|
||||
Reference in new issue
Block a user