#region ========================================================================= USING =====================================================================================
using Lumina.Contracts.DTO.Common;
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.DTO.MediaLibrary.AudioLibrary.MusicLibrary;
///
/// Data transfer object for a track metadata lookup.
///
/// The Id of the media library the track belongs to.
/// The file system path of the track.
/// The MusicBrainz identifier of the recording of the track, if applicable.
/// The ISRC (International Standard Recording Code) of the track, if applicable.
/// The title of the track, if applicable.
/// The name of the artist of the track, if applicable.
/// The name of the release the track belongs to, if applicable.
/// The number of the track on its disc, if applicable.
/// The duration of the track in seconds, if applicable.
/// The MusicBrainz identifier of the release the track belongs to, if applicable.
/// The number of the disc the track belongs to, if applicable.
/// The MusicBrainz identifier of the work the track is a recording of, read from the tags, if applicable. It is used as a fallback when MusicBrainz does not link the recording to a work.
/// The title of the work the track is a recording of, read from the tags, if applicable. Its presence means the work of the tags is already complete, so the work is not resolved from MusicBrainz again.
[DebuggerDisplay("Title: {Title}")]
public sealed record TrackMetadataLookupDto(
Guid LibraryId,
string Path,
Guid? MusicBrainzRecordingId = null,
string? Isrc = null,
string? Title = null,
string? ArtistName = null,
string? ReleaseName = null,
int? TrackNumber = null,
int? DurationInSeconds = null,
Guid? MusicBrainzReleaseId = null,
int? DiscNumber = null,
Guid? MusicBrainzWorkId = null,
string? WorkTitle = null
) : MetadataLookupDto;