From d087d2d3936a8616474d7fa66cbf22997d95dc9f Mon Sep 17 00:00:00 2001 From: mbrucedogs Date: Tue, 22 Jul 2025 07:56:22 -0500 Subject: [PATCH] fixed bug Signed-off-by: Matt Bruce --- Herse.Models/Song.cs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Herse.Models/Song.cs b/Herse.Models/Song.cs index 5514bd3..413180e 100644 --- a/Herse.Models/Song.cs +++ b/Herse.Models/Song.cs @@ -15,23 +15,18 @@ namespace Herse.Models [JsonProperty("artist")] public string Artist { get; set; } - [JsonProperty("genre")] - public string Genre { get; set; } - [JsonProperty("path")] public string Path { get; set; } - [JsonProperty("guid")] - public string Guid { get; set; } +// [JsonProperty("guid")] +// public string Guid { get; set; } [JsonProperty("disabled")] public bool Disabled { get; set; } = false; - [JsonProperty("favorite")] public bool Favorite { get; set; } = false; - [JsonIgnore] public FileType FileType { @@ -53,4 +48,11 @@ namespace Herse.Models } } } + + public class History : Song + { + [JsonProperty("count")] + public int Count { get; set; } + + } }