#region ========================================================================= USING ===================================================================================== using Lumina.Contracts.DTO.Common; using Lumina.Contracts.DTO.MediaContributors; using Lumina.Contracts.DTO.MediaLibrary.AudioLibrary; using Lumina.Domain.SharedKernel.Common.Enums.AudioLibrary; using System; using System.Collections.Generic; using System.Diagnostics; #endregion namespace Lumina.Contracts.DTO.MediaLibrary.AudioLibrary.MusicLibrary; /// /// Data transfer object for the audio metadata of a track, returned by a metadata provider. /// /// The title of the track. Required. /// The original title of the track, if different from the current title. Optional. /// A brief description or summary of the track. Optional. /// The disambiguation comment of the track, used to distinguish tracks with the same title. Optional. /// The release information, including release date and other relevant details. Required. /// The language of the track. Optional. /// The original language of the track, if it has been translated. Optional. /// The list of tags that further describe or categorize the track. Required. /// The list of genres associated with the track. Required. /// The script used by the language of the track. Optional. /// The musical key of the track. Optional. /// The tempo of the track in beats per minute. Optional. /// Whether the recording of the track is a video recording. /// The work the track is a recording of, if applicable. Optional. /// The list of ISRC (International Standard Recording Code) of the track. Optional. /// The list of moods of the track. Optional. /// The duration of the audio of the track in seconds. Required. /// The sample rate of the audio of the track in Hz. Required. /// The number of audio channels of the track. Required. /// The bit depth of the audio of the track. Optional. /// The audio codec used by the track. Optional. /// The bitrate of the audio of the track in kbps. Optional. /// The MusicBrainz identifier of the recording. Optional. /// The MusicBrainz identifier of the track. Optional. /// The list of media contributors that performed on the track, each with the role they played. Required. /// The list of ratings for the track. Required. [DebuggerDisplay("Title: {Title}")] public sealed record AudioMetadataDto( string? Title, string? OriginalTitle, string? Description, string? Disambiguation, ReleaseInfoDto? ReleaseInfo, LanguageInfoDto? Language, LanguageInfoDto? OriginalLanguage, List? Tags, List? Genres, string? Script, MusicKey? Key, int? Bpm, bool IsVideo, MusicWorkDto? Work, List? Isrcs, List? Moods, int? DurationInSeconds, int? SampleRate, int? Channels, int? BitDepth, string? AudioCodec, int? Bitrate, Guid? MusicBrainzRecordingId, Guid? MusicBrainzTrackId, List? Contributors, List? Ratings ) : MetadataDto;