Adds the MusicBrainz music metadata plugin, its fixtures, and its unit test suite

This commit is contained in:
BinaryAlley committed 2026-10-01 12:00:00 +03:00
1 parent 1ffa14cec4
commit 0abda472c6
101 files changed
+11461

No files matched your search

@@ -0,0 +1,23 @@
#region ========================================================================= USING =====================================================================================
using System.Text.Json.Serialization;
#endregion
namespace Lumina.Plugins.MusicBrainz.Common.Models.Contracts.Responses;
/// <summary>
/// Represents a response for the aggregated rating of a MusicBrainz entity.
/// </summary>
internal sealed record MusicBrainzRatingResponse
{
/// <summary>
/// Gets the average rating value.
/// </summary>
[JsonPropertyName("value")]
public decimal? Value { get; init; }
/// <summary>
/// Gets the number of votes that contributed to the rating.
/// </summary>
[JsonPropertyName("votes-count")]
public int? VotesCount { get; init; }
}